Alibek Omarov
7bf9407177
ref: gl: remove R_TextureRandomTiling, it's handled by R_TextureAnimation (random tiling as a feature still broken)
11 months ago
Alibek Omarov
661e60720d
ref: gl: fix -Wmissing-prototypes
11 months ago
Alibek Omarov
5696c9c96a
ref: gl: remove useless R_CountDynamicLights function
11 months ago
mittorn
5f31417bae
ref_gl: fix missing vboarray split transition on some maps
11 months ago
Alibek Omarov
150d98bd15
ref: gl: fix stuck single lightmap texture object when using VBO after updating lightmap
11 months ago
Alibek Omarov
f162fbd806
ref: gl: fix fog with enabled overbrights and no vbo
11 months ago
Alibek Omarov
c9d29b3955
ref: gl: fix overbrights with VBO
12 months ago
Alibek Omarov
18436a70eb
ref: gl: support overbrights, change the gamma applying order closer to the original renderer
12 months ago
Alibek Omarov
c0757bd84c
ref: gl: remove vid_gamma/vid_brightness changed cvar value check
12 months ago
Alibek Omarov
0132eb6e44
ref: gl: restore usage of FWORLD_CUSTOM_SKYBOX flag, do direct checks instead of PARM check, remove unused tr.fCustomSkybox
1 year ago
Alibek Omarov
82a2d272ad
ref: gl: use direct host.features instead of PARM_FEATURES
1 year ago
Alibek Omarov
d22bbb4213
ref: gl: remove usage of PARM_WORLD_VERSION
1 year ago
Alibek Omarov
0e3b14e9a5
ref: gl: remove usage of PARM_NUMMODELS
1 year ago
Alibek Omarov
4d802d8901
ref: gl: convert to usage of ref_client_t to get client time
1 year ago
mittorn
a488f79852
ref_gl: workaround freezes on adreno with vbo on dlighted decals
1 year ago
Alibek Omarov
b290046503
ref: gl: remove hidden parm -gl-allow-vbo-dontuse needed to activate VBO renderer
1 year ago
Dmitry Toroshchin
e8409cee8b
ref_gl: vbo: do not do zero-length drawcalls (fix glError on vivante)
1 year ago
mittorn
1d4d355b38
ref_gl: vbo: fix binding garbade texture after changelevel, fix wpoly counter
1 year ago
mittorn
dfe12535a5
ref_gl: vbo: disable R_TextureRandomTiling implementation until will be fixed
1 year ago
mittorn
74946100f1
ref_gl: fix not restoring static lightmap after decals
1 year ago
mittorn
9a1717915c
ref_gl: vbo: apply a1batross's patch for uint index switch
1 year ago
mittorn
3691eb6e48
ref_gl: vbo: fix incorrect lightmap index, optimize loading maps with very big lightmap count, fix clouds drawing after VBO
1 year ago
mittorn
3bb7471fd3
ref_gl: vbo: fix lightmap0 processing, remove ilightmap
1 year ago
mittorn
74e09ddb12
ref_gl: change state management in vbo renderer
1 year ago
mittorn
6b73d056b2
ref_gl: vbo dlights refactiring
1 year ago
mittorn
3e7847551a
ref_gl: add ability to skip uploading unused data (disabled)
1 year ago
mittorn
91d92935fa
ref_gl: try avoid gpu locking on dlights in vbo renderer
1 year ago
mittorn
eff033298a
ref_gl: disable singlepass detail renderer, use correct fog color multipliers in VBO
1 year ago
mittorn
3a8f4961bc
ref_gl: fix rarely broken texturechain on some big maps
1 year ago
mittorn
b81f94518a
ref_gl: fix out-by-one when all lightstyles are used. Also fix broken in this case in vbo after previous fix
1 year ago
Alibek Omarov
a7e84230c3
ref: gl: use world version to enable large lightmaps for BSP2 automatically
1 year ago
Alibek Omarov
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
1 year ago
Alibek Omarov
08dbfc45d3
ref: gl: refactor getting edge position, texture and lightmap coords
1 year ago
Alibek Omarov
a6af32dafd
ref: gl: connect ripply water to others parts of renderer (init, reset, animation and rendering)
1 year ago
Alibek Omarov
ea55e78855
ref: _inline -> static
1 year ago
Alibek Omarov
30d1492b93
engine: remove Set/GetCurrentLoadingModel from RefAPI
1 year ago
mittorn
287381d5ca
ref_gl: remove complete useless macro, enable VBO under option
1 year ago
Alibek Omarov
3a57f26351
ref: gl: move ref_gl cvars to static allocation
2 years ago
Alibek Omarov
a3ab04e0cb
ref: gl: track current bound texture index in gl_textures array in separate glState field
2 years ago
Alibek Omarov
fd3c5e8384
ref: gl: VBO is disabled unless somebody picks it up and fixes memory corruption and other bugs
2 years ago
SNMetamorph
3bd8ad50d2
ref: gl: fixed crash when opening "Customize" menu
2 years ago
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2 years ago
SNMetamorph
9047fe2e74
ref_gl: gl_rsurf: fixed invalid lightmap texture coordinates in some cases
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
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
f0feb1dfbf
ref: remove predictable random tiling textures
3 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
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
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
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago