Commit Graph

168 Commits

Author SHA1 Message Date
a6f12d3009 ref_gl: gl4es: update 2022-06-15 18:26:41 +03:00
74485f30d3 ref_gl: gl4es: update 2022-05-29 18:27:16 +03:00
5fb4edeb36 ref: simplify gldebug switchcase in output function, kinda fix const qualifiers 2022-05-29 04:00:19 +03:00
SNMetamorph
74086cc4c1 ref_gl: fixed R_WorldToScreen behavior to match GoldSrc 2022-04-13 09:12:12 +03:00
SNMetamorph
a7d02b8268 ref_gl: gl_rlight: fixed game crash in Customize multiplayer menu 2022-04-07 21:56:37 +03:00
SNMetamorph
51fcae8cec ref_gl: gl_image: added check for hardware support of BC6H/BC7 compression formats 2022-03-07 02:03:40 +03:00
SNMetamorph
cf7852832f ref_gl: gl_image: added support for BC7 and BC6H compression formats of DDS textures 2022-03-07 02:03:40 +03:00
SNMetamorph
29ad3de78a ref_gl: added support for GL_ARB_texture_compression_bptc extension 2022-03-07 02:03:40 +03:00
SNMetamorph
9047fe2e74 ref_gl: gl_rsurf: fixed invalid lightmap texture coordinates in some cases 2022-02-28 16:54:28 +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
0891356ec5 ref_gl: use GoldSrc particle texture 2022-01-27 03:32:52 +03:00
4f89288ccf common: cleanup port.h 2021-12-23 19:17:11 +03:00
f0feb1dfbf ref: remove predictable random tiling textures 2021-12-23 18:35:01 +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
a777e7c80d engine, ref: add sprite and studio cvars to shared cvars list 2021-12-06 05:17:25 +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
ecddae8ee6 ref_gl, ref_soft: increase MAX_TEXTURES limit by 8192 2021-11-29 16:22:52 +03:00
76ea3c39a0 ref_gl: disable multisample texture for gl4es too 2021-11-27 05:13:31 +03:00
e67bd4811a ref_gl: fix gles1 and gles2 build 2021-11-25 19:02:09 +03:00
7a215766c6 ref_gl: add missing define for glTexImage2DMultisample 2021-11-25 18:47:23 +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
a5a66f6c3e ref_gl: update gl4es 2021-11-10 01:08:12 +03:00
d1e6063650 ref_gl: add close_gl4es, fix #258 2021-10-31 20:59:20 +06:00
42db1faa51 ref: update ref_gl and ref_soft interface according to previous commit 2021-10-30 21:49:52 +06:00
8ce448cc77 ref_gl: fix ParseFile calls 2021-10-08 17:31:32 +03:00
9e5d5e0ea3 public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking 2021-10-08 17:31:32 +03:00
7bcfce5a7a ref_gl: use GCC provided offsetof implementation 2021-10-03 04:26:40 +03:00
SNMetamorph
2db6ad2c8a ref_gl: fixed GL_CheckForErrors doesn't print error message 2021-08-01 22:28:24 +03:00
Vladimir
9ffc02b6e9
ref_gl: gl_triapi: fixed culling enum in TriCullFace (#522) 2021-07-09 14:55:31 +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
947a615707 ref_gl: gl4es: update 2021-06-03 21:44:55 +03:00
4f31d7504a ref_api: fix remap info allocation (fixes #200) 2021-05-02 20:02:04 +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
d9ed654f04 bump gl4es
Build fix: d79ac6a6d7

A few rendering fixes:

* 1f52c84f5a
* d8a2dc35ee
2021-02-03 16:16:51 +03:00
652a946e09 ref_gl: update gl4es submodule 2021-01-29 03:33:36 +03:00
c158771f59 ref_gl: gl_rsurf.c: don't use asserts to prevent engine from stopping when vbo is disabled. 2021-01-17 23:11:59 +03:00
221a9bab54 Fix screenshots on gles1
> format must be either GL_RGBA or the value of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES.
2021-01-09 18:36:46 +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
Gleb Mazovetskiy
7f98998765 ref_gl/gl4es: bump
To get this bugfix: 221fa1e67a
2020-12-29 03:25:57 +03:00
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.
2020-12-29 00:44:42 +03:00
Gleb Mazovetskiy
a92b310e0e Add gl4es submodule
Fixes #248
2020-12-28 16:11:04 +03:00
Gleb Mazovetskiy
36b32cad0f Fix 2 instances of void* pointer arithmetic
Partially reverts 341e440c07

Let's see if this fixes the windows build on travis
2020-12-28 13:08:18 +03:00
5f54582692 ref_gl: simplified strings operations. 2020-11-29 13:46:48 +03:00
bb387cfe4b ref_gl/gl4es: fix android build 2020-11-18 12:19:52 +03:00