Commit Graph

59 Commits

Author SHA1 Message Date
3ae7ecaeb3 engine: patched to compile, moved gl_clear to engine 2019-06-17 08:37:34 +03:00
f2c927906f Merge 4511 update 2019-06-17 07:36:46 +03:00
76dae35955 ref: remove COM_HashKey API call 2019-06-06 04:34:28 +03:00
b146f495fc Add gl-wes-v2 and nanogl submodules 2019-05-28 04:15:23 +03:00
b797e0af1a Merge 4483 update 2019-05-25 02:44:24 +03:00
fe464af3ff
ref_gl: fix msvc build 2019-05-23 22:10:35 +03:00
2e953bd1a9 ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame 2019-05-12 18:02:59 +03:00
bb8ba4225c ref_gl: show r_info after loading extensions, add GL_GetProcAddress call 2019-05-12 03:04:26 +03:00
55c3040db1 ref_gl: fix unaligned access in sprites 2019-05-12 03:02:01 +03:00
fe14a360b4 engine: fix fs_offset_t/size_t conversion, const qualifiers 2019-05-02 19:12:23 +03:00
3fef353291 android: initial port 2019-05-02 18:07:03 +03:00
25235b5296 ref_gl: remove Mod_SetCurrentLoadingModel call 2019-04-17 06:42:34 +07:00
7d8b63fd88 ref: get rid of R_IncrementSpeedsCounter 2019-04-15 02:17:43 +03:00
5be982cc72 ref: remove shared textures enum, instead use hardcoded texture names 2019-04-15 01:43:43 +03:00
2d968cf328 ref: remove unused GL_BuildLightmaps export 2019-04-15 01:20:15 +03:00
4d9563ea03 ref: make api thinner by removing IsNormalPass and moving CL_FxBlend to refdll 2019-04-15 01:19:05 +03:00
20c7c36996 ref_gl: remove dead WGL extensions 2019-04-13 19:39:49 +03:00
228dab5965 ref_gl: move GLES and GL_STATIC defintions to gl_export.h. Add REF_GL_KEEP_MANGLED_FUNCTIONS, to keep use pgl instead of re-defining everything to gl. Used in conjuction with GL_STATIC 2019-04-13 19:39:22 +03:00
4b955a320b ref_gl: allow gldebug for GL_STATIC. Rewrite extension querying for GLES. Allow gldebug for GLES(using GL_KHR_debug). ref_gles1 through nanogl now works 2019-04-13 19:38:41 +03:00
46378e3738 ref_gl: fix build 2019-04-11 01:41:52 +03:00
968994bba5 ref_gl: add an option to disable ref_gl building 2019-04-11 01:26:33 +03:00
459f4a9788 scripts: waflib: introduce new waf plugin -- subproject, which makes easier use of standalone envs for each subdirectory 2019-04-11 00:15:48 +03:00
441795943b ref_gl: move gl specific defines out from defaults.h, remove VIDEO_DONTCARE hack, automatically set XASH_GLES if wrapper is set 2019-04-04 23:13:17 +03:00
77b23eec9f ref_gl: add options for linking-in nanogl and glwes(thus getting GLES1 and GLES2 renderers) and static gl 2019-03-30 03:10:43 +03:00
f4bcea6182 ref_gl: don't use dxt on gles 2019-03-30 03:09:07 +03:00
ea6a86a83d ref_gl: bring back GL_STATIC option 2019-03-30 03:08:44 +03:00
47879942bb ref_gl: remove dead extensions from GLES code 2019-03-30 03:07:52 +03:00
8b5926f9b1 ref_gl: fix alpha in menu (and anywhere else where triColor4ub is used) 2019-03-28 18:17:58 +03:00
17f719558c wscript: move build env setup to main wscript 2019-03-25 01:25:44 +03:00
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
59f3b63e0a ref_gl: wscript: fix libm linking 2019-03-21 17:31:18 +03:00
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
f3a2f46fb3 wscript: remove libm linking to static public, it's useless. Correct include path order 2019-03-20 02:40:47 +03:00
121c72c9e0 Merge origin/master into ref_dll 2019-03-20 02:38:13 +03:00
7e08104631 ref_gl: fixes for MSVC 2019-03-20 01:20:58 +03:00
fb6fd61cd9 public: initial moving some common code into static public library, that can be linked to any engine part 2019-03-20 01:17:46 +03:00
34da3e0ccd ref: clear draw entities when clearing edicts 2019-03-18 00:56:38 +07:00
0a22040c6e Fix SpriteTexture 2019-03-17 23:41:11 +07:00
c55b7dcda7 ref: simplify efx api, move efrags to engine 2019-03-17 23:14:53 +07:00
297ca08e81 ref: replace model (un)loading by Mod_ProcessRenderData 2019-03-17 21:19:24 +07:00
8339096ad8 ref: Improve model unloading, fix texture leak 2019-03-17 18:26:57 +07:00
3d39d78e53 ref: fix hud sprites 2019-03-16 19:21:32 +07:00
aabf5f5621 ref: remove convar_t from renderer, disable engine-related definitions in mod_local 2019-03-16 18:15:05 +07:00
9c6352ec57 ref: move tracer color cvars to ref 2019-03-16 17:49:07 +07:00
db78726656 ref: implement ASSERT macro 2019-03-16 17:23:41 +07:00
57320c0c25 ref: get rid of vidState, add GL_SwapBuffers to engine exports 2019-03-16 11:58:44 +07:00
31ab710485 Fix sprite loading 2019-03-16 11:27:15 +07:00
4247af8fa8 Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone 2019-03-16 11:18:43 +07:00
e5000742f1 ref: context creating prototype, not working yet 2019-03-16 05:15:32 +03:00
971f9b6de5 ref: fix compiling errors 2019-03-16 04:24:27 +03:00