Commit Graph

43 Commits

Author SHA1 Message Date
SNMetamorph
29ad3de78a ref_gl: added support for GL_ARB_texture_compression_bptc extension 2022-03-07 02:03:40 +03:00
e0efe0aa23 engine: remove emboss filter. There seems no real use for it. 2021-12-07 09:09:45 +03:00
d7db48ce4b engine, ref: create shared cvars list, register them at engine side, make a generic macro to declare, define and get all pointers at ref side 2021-12-06 04:57:32 +03:00
ecddae8ee6 ref_gl, ref_soft: increase MAX_TEXTURES limit by 8192 2021-11-29 16:22:52 +03:00
SNMetamorph
6c9321e50c ref_gl: added multisample textures support 2021-11-23 05:17:19 +03:00
7bcfce5a7a ref_gl: use GCC provided offsetof implementation 2021-10-03 04:26:40 +03:00
86be161677 ref_gl: add missing HACKS_RELATED_HLMODS define, lost after renderer split 2021-06-07 02:40:40 +03:00
9313f7e80e engine: replace pool pointer by pool handle 2021-06-07 02:33:15 +03:00
45334064b6 ref_gl: remove detail textures list generation leftovers 2021-03-01 21:53:43 +03:00
Gleb Mazovetskiy
5e0a0765ce Trim all trailing whitespace
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.

Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.

`git blame` becomes less useful on these lines but it already isn't very useful.

Commands:

```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
e3b547c8a9 public: rename mathlib to xash3d_mathlib. 2020-02-12 14:32:26 +05:00
3c3d5d472e ref_gl: bring back glDrawRangeElements support 2019-11-17 18:51:03 +03:00
aa6674b032 engine: support compiling with gcc3 2019-11-02 08:56:07 +03:00
5e8373fa46 engine: slightly update RefAPI 2019-11-02 08:56:07 +03:00
dc207a449c engine: fix -Werror=strict-prototypes 2019-10-05 02:09:45 +03:00
d992f8525b ref_gl: enable VBO for GLES targets, slightly refactor extensions checking, fix UB when initializing glwes 2019-08-08 05:53:34 +03:00
8f9800eb3c ref: move R_DrawTree from refdll to engine, implement using ref's triapi 2019-07-27 13:27:40 +03:00
2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
f2c927906f Merge 4511 update 2019-06-17 07:36:46 +03:00
b797e0af1a Merge 4483 update 2019-05-25 02:44:24 +03:00
2e953bd1a9 ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame 2019-05-12 18:02:59 +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
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
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
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
7e08104631 ref_gl: fixes for MSVC 2019-03-20 01:20:58 +03:00
c55b7dcda7 ref: simplify efx api, move efrags to engine 2019-03-17 23:14:53 +07:00
8339096ad8 ref: Improve model unloading, fix texture leak 2019-03-17 18:26:57 +07:00
aabf5f5621 ref: remove convar_t from renderer, disable engine-related definitions in mod_local 2019-03-16 18:15:05 +07:00
db78726656 ref: implement ASSERT macro 2019-03-16 17:23:41 +07:00
e5000742f1 ref: context creating prototype, not working yet 2019-03-16 05:15:32 +03:00
199ebfed48 ref: implement engine ref API 2019-03-16 04:17:56 +03:00
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
234507b7f1 ref: fix all undefined references 2019-03-11 17:37:58 +03:00
d0d5fd1a3f ref: fix some undefined references, compile-in mathlib and crtlib to refdll 2019-03-06 17:14:25 +03:00
e7234bada2 ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals 2019-03-06 16:23:33 +03:00
437ba6d7a2 ref:Fix some clgame, world and renderapi usages, import renderapi funcs from engine 2019-02-27 06:23:03 +07:00
574f03c139 ref: initial engine to ref API draft, not compiling, work in progress [ci skip] 2019-02-24 18:45:44 +03:00
e193ac2c04 ref: more @mittorn's changes on RefAPI 2019-02-23 21:49:46 +03:00
99bd7c81da ref: render code moved out of engine, doesn't compile, first API prototype 2019-02-18 21:25:26 +03:00