Commit Graph

34 Commits

Author SHA1 Message Date
Alibek Omarov d1e6063650 ref_gl: add close_gl4es, fix #258 2021-10-31 20:59:20 +06:00
Alibek Omarov 42db1faa51 ref: update ref_gl and ref_soft interface according to previous commit 2021-10-30 21:49:52 +06:00
FOTMarut 53768c84d6 ref_gl: de-duplicate GL function definitions
- Used APIENTRY_LINKAGE in ref_gl to remove duplicate definitions of GL
  functions among translation units
- Fixes building ref_gl with -fno-common (GCC 10)
2020-05-02 18:57:37 +03:00
mittorn 4994a7ef6f ref_gl: fix build 2020-02-25 19:08:17 +07:00
mittorn 8f8c8e6614 ref: add export that returns GL_GetProcAddress for renderapi 2020-02-25 12:59:04 +07:00
mittorn 1365020302 ref: add enum for screen rotation 2019-11-04 20:27:46 +07:00
mittorn 7f6395fa7d ref: display transformation API 2019-10-31 01:36:07 +07:00
Alibek Omarov 8323df240b engine: implement menu extensions to allow choosing renderers from GUI 2019-08-09 04:44:50 +03:00
Alibek Omarov a1ae770f70 engine: ref: add optional export to determine actual human readable renderer name 2019-08-09 03:39:24 +03:00
Alibek Omarov fce0ef6ad2 ref_gl: change gl_round_down flag, remove executing configs, implement GetConfigName call 2019-07-28 00:26:56 +03:00
Alibek Omarov 8f9800eb3c ref: move R_DrawTree from refdll to engine, implement using ref's triapi 2019-07-27 13:27:40 +03:00
Alibek Omarov 2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
Alibek Omarov 511d728337 ref_gl: remove unused static function 2019-07-09 04:52:40 +03:00
Alibek Omarov 2e953bd1a9 ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame 2019-05-12 18:02:59 +03:00
Alibek Omarov 7d8b63fd88 ref: get rid of R_IncrementSpeedsCounter 2019-04-15 02:17:43 +03:00
Alibek Omarov 5be982cc72 ref: remove shared textures enum, instead use hardcoded texture names 2019-04-15 01:43:43 +03:00
Alibek Omarov 2d968cf328 ref: remove unused GL_BuildLightmaps export 2019-04-15 01:20:15 +03:00
Alibek Omarov 4d9563ea03 ref: make api thinner by removing IsNormalPass and moving CL_FxBlend to refdll 2019-04-15 01:19:05 +03:00
Alibek Omarov 8b5926f9b1 ref_gl: fix alpha in menu (and anywhere else where triColor4ub is used) 2019-03-28 18:17:58 +03:00
Alibek Omarov 92b89936b3 ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs 2019-03-22 16:36:46 +03:00
Alibek Omarov 402a596415 ref: add EXPORT to GetRefAPI, so MSVC will create *.lib file and not confuse waf or dynamic linker 2019-03-20 02:42:44 +03:00
Alibek Omarov 7e08104631 ref_gl: fixes for MSVC 2019-03-20 01:20:58 +03:00
mittorn 34da3e0ccd ref: clear draw entities when clearing edicts 2019-03-18 00:56:38 +07:00
mittorn 0a22040c6e Fix SpriteTexture 2019-03-17 23:41:11 +07:00
mittorn c55b7dcda7 ref: simplify efx api, move efrags to engine 2019-03-17 23:14:53 +07:00
mittorn 297ca08e81 ref: replace model (un)loading by Mod_ProcessRenderData 2019-03-17 21:19:24 +07:00
mittorn 8339096ad8 ref: Improve model unloading, fix texture leak 2019-03-17 18:26:57 +07:00
Alibek Omarov e5000742f1 ref: context creating prototype, not working yet 2019-03-16 05:15:32 +03:00
Alibek Omarov 199ebfed48 ref: implement engine ref API 2019-03-16 04:17:56 +03:00
Alibek Omarov 97aba69ed0 ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references 2019-03-15 21:23:59 +03:00
mittorn 437ba6d7a2 ref:Fix some clgame, world and renderapi usages, import renderapi funcs from engine 2019-02-27 06:23:03 +07:00
Alibek Omarov 574f03c139 ref: initial engine to ref API draft, not compiling, work in progress [ci skip] 2019-02-24 18:45:44 +03:00
Alibek Omarov e193ac2c04 ref: more @mittorn's changes on RefAPI 2019-02-23 21:49:46 +03:00
Alibek Omarov 99bd7c81da ref: render code moved out of engine, doesn't compile, first API prototype 2019-02-18 21:25:26 +03:00