Commit Graph

43 Commits

Author SHA1 Message Date
5fb4edeb36 ref: simplify gldebug switchcase in output function, kinda fix const qualifiers 2022-05-29 04:00:19 +03:00
SNMetamorph
29ad3de78a ref_gl: added support for GL_ARB_texture_compression_bptc extension 2022-03-07 02:03:40 +03:00
0c26c24331 ref_gl: really disable VBO by default for now 2022-02-01 19:27:49 +03:00
75e8a51058 ref_gl: disable VBO. Rename r_vbo to gl_vbo to ignore existing config values as it was enabled by default 2022-01-29 02:33:09 +03:00
ac213c22ed ref: change some FCVAR_ARCHIVE to FCVAR_GLCONFIG to save in separate config 2021-12-08 17:58:16 +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
293482fbd5 engine: FCVAR_GLCONFIG are not readonly anymore. To make truly readonly cvar for renderer, one must apply FCVAR_READ_ONLY flag 2021-12-06 03:56:18 +03:00
SNMetamorph
6c9321e50c ref_gl: added multisample textures support 2021-11-23 05:17:19 +03:00
SNMetamorph
c366e25a10 ref_gl: cvar gl_wgl_msaa_samples renamed to gl_msaa_samples 2021-11-23 05:17:19 +03:00
d1e6063650 ref_gl: add close_gl4es, fix #258 2021-10-31 20:59:20 +06:00
SNMetamorph
2db6ad2c8a ref_gl: fixed GL_CheckForErrors doesn't print error message 2021-08-01 22:28:24 +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
58edfbc485 engine: move cvars that expected to exist by client.dll from render dll to engine
Fixes #316
2021-03-01 20:03:32 +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
c80da05e94 ref_gl: make renderer fallback possible 2020-07-08 08:46:07 +07:00
0c69f7649c ref_gl: add gl4es support 2020-02-25 12:59:04 +07:00
9421457b3a engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h 2019-11-24 03:52:08 +03:00
3c3d5d472e ref_gl: bring back glDrawRangeElements support 2019-11-17 18:51:03 +03:00
5e8373fa46 engine: slightly update RefAPI 2019-11-02 08:56:07 +03:00
ddf070b63d ref_gl: fix build 2019-10-06 06:55:16 +03:00
dc207a449c engine: fix -Werror=strict-prototypes 2019-10-05 02:09:45 +03:00
34463dcddc ref_gl: fix glConfig.max_texture_units when GL_MAX_TEXTURE_UNITS_ARB query not supported 2019-09-28 21:13:38 +07: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
fce0ef6ad2 ref_gl: change gl_round_down flag, remove executing configs, implement GetConfigName call 2019-07-28 00:26:56 +03:00
8f9800eb3c ref: move R_DrawTree from refdll to engine, implement using ref's triapi 2019-07-27 13:27:40 +03:00
4beba75159 engine: fix various compiler warnings 2019-07-13 23:25:03 +03:00
3ae7ecaeb3 engine: patched to compile, moved gl_clear to engine 2019-06-17 08:37:34 +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
bb8ba4225c ref_gl: show r_info after loading extensions, add GL_GetProcAddress call 2019-05-12 03:04:26 +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
47879942bb ref_gl: remove dead extensions from GLES code 2019-03-30 03:07:52 +03: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
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
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
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