Alibek Omarov
a6f12d3009
ref_gl: gl4es: update
2 years ago
Alibek Omarov
74485f30d3
ref_gl: gl4es: update
2 years ago
Alibek Omarov
5fb4edeb36
ref: simplify gldebug switchcase in output function, kinda fix const qualifiers
2 years ago
SNMetamorph
74086cc4c1
ref_gl: fixed R_WorldToScreen behavior to match GoldSrc
3 years ago
SNMetamorph
a7d02b8268
ref_gl: gl_rlight: fixed game crash in Customize multiplayer menu
3 years ago
SNMetamorph
51fcae8cec
ref_gl: gl_image: added check for hardware support of BC6H/BC7 compression formats
3 years ago
SNMetamorph
cf7852832f
ref_gl: gl_image: added support for BC7 and BC6H compression formats of DDS textures
3 years ago
SNMetamorph
29ad3de78a
ref_gl: added support for GL_ARB_texture_compression_bptc extension
3 years ago
SNMetamorph
9047fe2e74
ref_gl: gl_rsurf: fixed invalid lightmap texture coordinates in some cases
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
0891356ec5
ref_gl: use GoldSrc particle texture
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
f0feb1dfbf
ref: remove predictable random tiling textures
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
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
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
Alibek Omarov
ecddae8ee6
ref_gl, ref_soft: increase MAX_TEXTURES limit by 8192
3 years ago
Alibek Omarov
76ea3c39a0
ref_gl: disable multisample texture for gl4es too
3 years ago
Alibek Omarov
e67bd4811a
ref_gl: fix gles1 and gles2 build
3 years ago
Alibek Omarov
7a215766c6
ref_gl: add missing define for glTexImage2DMultisample
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
a5a66f6c3e
ref_gl: update gl4es
3 years ago
Alibek Omarov
d1e6063650
ref_gl: add close_gl4es, fix #258
3 years ago
Alibek Omarov
42db1faa51
ref: update ref_gl and ref_soft interface according to previous commit
3 years ago
Alibek Omarov
8ce448cc77
ref_gl: fix ParseFile calls
3 years ago
Alibek Omarov
9e5d5e0ea3
public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking
3 years ago
Alibek Omarov
7bcfce5a7a
ref_gl: use GCC provided offsetof implementation
3 years ago
SNMetamorph
2db6ad2c8a
ref_gl: fixed GL_CheckForErrors doesn't print error message
3 years ago
Vladimir
9ffc02b6e9
ref_gl: gl_triapi: fixed culling enum in TriCullFace ( #522 )
3 years ago
Alibek Omarov
86be161677
ref_gl: add missing HACKS_RELATED_HLMODS define, lost after renderer split
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
3 years ago
Alibek Omarov
947a615707
ref_gl: gl4es: update
3 years ago
Velaron
4f31d7504a
ref_api: fix remap info allocation ( fixes #200 )
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
d9ed654f04
bump gl4es
...
Build fix: d79ac6a6d7
A few rendering fixes:
* 1f52c84f5a
* d8a2dc35ee
4 years ago
Alibek Omarov
652a946e09
ref_gl: update gl4es submodule
4 years ago
Andrey Akhmichin
c158771f59
ref_gl: gl_rsurf.c: don't use asserts to prevent engine from stopping when vbo is disabled.
4 years ago
Alexey
221a9bab54
Fix screenshots on gles1
...
> format must be either GL_RGBA or the value of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES.
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
Gleb Mazovetskiy
7f98998765
ref_gl/gl4es: bump
...
To get this bugfix: 221fa1e67a
4 years ago
Gleb Mazovetskiy
69e15e9c7b
gl4es: Fix `so` name and add to renderer collector
...
1. `libref_gles2_gl4es.so` -> `libref_gl4es.so` because this is what's
passed to `R_LoadRenderer`.
2. Add `gl4es` to `DEFAULT_RENDERERS` so that `R_CollectRendererNames`
finds it.
4 years ago
Gleb Mazovetskiy
a92b310e0e
Add gl4es submodule
...
Fixes #248
4 years ago
Gleb Mazovetskiy
36b32cad0f
Fix 2 instances of void* pointer arithmetic
...
Partially reverts 341e440c07
Let's see if this fixes the windows build on travis
4 years ago
Andrey Akhmichin
5f54582692
ref_gl: simplified strings operations.
4 years ago
mittorn
bb387cfe4b
ref_gl/gl4es: fix android build
4 years ago