Alibek Omarov
5fb4edeb36
ref: simplify gldebug switchcase in output function, kinda fix const qualifiers
3 years ago
SNMetamorph
29ad3de78a
ref_gl: added support for GL_ARB_texture_compression_bptc extension
3 years ago
Alibek Omarov
0c26c24331
ref_gl: really disable VBO by default for now
3 years ago
Alibek Omarov
75e8a51058
ref_gl: disable VBO. Rename r_vbo to gl_vbo to ignore existing config values as it was enabled by default
3 years ago
Alibek Omarov
ac213c22ed
ref: change some FCVAR_ARCHIVE to FCVAR_GLCONFIG to save in separate config
3 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
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
3 years ago
Alibek Omarov
293482fbd5
engine: FCVAR_GLCONFIG are not readonly anymore. To make truly readonly cvar for renderer, one must apply FCVAR_READ_ONLY flag
3 years ago
SNMetamorph
6c9321e50c
ref_gl: added multisample textures support
3 years ago
SNMetamorph
c366e25a10
ref_gl: cvar gl_wgl_msaa_samples renamed to gl_msaa_samples
3 years ago
Alibek Omarov
d1e6063650
ref_gl: add close_gl4es, fix #258
3 years ago
SNMetamorph
2db6ad2c8a
ref_gl: fixed GL_CheckForErrors doesn't print error message
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
4 years ago
Alibek Omarov
45334064b6
ref_gl: remove detail textures list generation leftovers
4 years ago
Alibek Omarov
58edfbc485
engine: move cvars that expected to exist by client.dll from render dll to engine
...
Fixes #316
4 years ago
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:]]\+$//' {} \+
```
4 years ago
mittorn
c80da05e94
ref_gl: make renderer fallback possible
5 years ago
mittorn
0c69f7649c
ref_gl: add gl4es support
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
3c3d5d472e
ref_gl: bring back glDrawRangeElements support
5 years ago
Alibek Omarov
5e8373fa46
engine: slightly update RefAPI
5 years ago
Alibek Omarov
ddf070b63d
ref_gl: fix build
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
5 years ago
mittorn
34463dcddc
ref_gl: fix glConfig.max_texture_units when GL_MAX_TEXTURE_UNITS_ARB query not supported
5 years ago
Alibek Omarov
d992f8525b
ref_gl: enable VBO for GLES targets, slightly refactor extensions checking, fix UB when initializing glwes
5 years ago
Alibek Omarov
fce0ef6ad2
ref_gl: change gl_round_down flag, remove executing configs, implement GetConfigName call
5 years ago
Alibek Omarov
8f9800eb3c
ref: move R_DrawTree from refdll to engine, implement using ref's triapi
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
6 years ago
Alibek Omarov
3ae7ecaeb3
engine: patched to compile, moved gl_clear to engine
6 years ago
Alibek Omarov
2e953bd1a9
ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame
6 years ago
Alibek Omarov
bb8ba4225c
ref_gl: show r_info after loading extensions, add GL_GetProcAddress call
6 years ago
Alibek Omarov
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
6 years ago
Alibek Omarov
47879942bb
ref_gl: remove dead extensions from GLES code
6 years ago
mittorn
aabf5f5621
ref: remove convar_t from renderer, disable engine-related definitions in mod_local
6 years ago
mittorn
9c6352ec57
ref: move tracer color cvars to ref
6 years ago
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
6 years ago
Alibek Omarov
199ebfed48
ref: implement engine ref API
6 years ago
Alibek Omarov
234507b7f1
ref: fix all undefined references
6 years ago
Alibek Omarov
d0d5fd1a3f
ref: fix some undefined references, compile-in mathlib and crtlib to refdll
6 years ago
Alibek Omarov
e7234bada2
ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals
6 years ago
Alibek Omarov
574f03c139
ref: initial engine to ref API draft, not compiling, work in progress [ci skip]
6 years ago
Alibek Omarov
e193ac2c04
ref: more @mittorn's changes on RefAPI
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
mittorn
bccc0e63d5
Port VBO world renderer
6 years ago
Alibek Omarov
0801922466
cvar: don't change cvars without FCVAR_GLCONFIG variable during opengl.cfg reading
6 years ago
a1batross
7ad7af76dd
render: register r_showtree cvar
6 years ago
Alibek Omarov
dcf64c6b33
Fix build, update menu
6 years ago
Alibek Omarov
960e46c564
engine: adapt engine code to new platform backends system
6 years ago
Alibek Omarov
4ced29ee8f
vid_common: fix window_center_x/y initialization
6 years ago
Alibek Omarov
ae5257c654
Add masterlist from engine. Use non-blocking network name resolution
7 years ago