mittorn
a9ea3976a7
ref_gl: introduce gl2_shim based on vgl_shim for future limited core/gles context support (SLOW, still needs ffp for matrix operations)
1 year ago
Alibek Omarov
de19d78571
ref: fix late registration of studio cvars (thanks, @mittorn )
1 year ago
fgsfds
f79aaf93f8
ref: gl: psvita: disable NPOT textures, they're broken again
1 year ago
Alibek Omarov
3a57f26351
ref: gl: move ref_gl cvars to static allocation
1 year ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
1 year ago
Andrey Akhmichin
9040c34f48
ref: gl: replace va function calls.
2 years ago
fgsfds
9150bbdfd8
ref: gl: psvita: remove the GL_CheckExtension hack
2 years ago
fgsfds
5a3e3b3977
ref: gl: add immediate mode shim for psvita
2 years ago
fgsfds
9cf6e421cb
ref: gl: psvita: force-enable NPOT textures
2 years ago
fgsfds
34dd52ca90
ref: gl: trust the GL_EXTENSIONS string on psvita
2 years ago
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2 years ago
Alibek Omarov
5fb4edeb36
ref: simplify gldebug switchcase in output function, kinda fix const qualifiers
2 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
3 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
4 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
5 years ago
Alibek Omarov
3ae7ecaeb3
engine: patched to compile, moved gl_clear to engine
5 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