Alibek Omarov
0132eb6e44
ref: gl: restore usage of FWORLD_CUSTOM_SKYBOX flag, do direct checks instead of PARM check, remove unused tr.fCustomSkybox
8 months ago
Alibek Omarov
82a2d272ad
ref: gl: use direct host.features instead of PARM_FEATURES
8 months ago
Alibek Omarov
d22bbb4213
ref: gl: remove usage of PARM_WORLD_VERSION
8 months ago
Alibek Omarov
0e3b14e9a5
ref: gl: remove usage of PARM_NUMMODELS
8 months ago
Alibek Omarov
4d802d8901
ref: gl: convert to usage of ref_client_t to get client time
8 months ago
mittorn
a488f79852
ref_gl: workaround freezes on adreno with vbo on dlighted decals
9 months ago
Alibek Omarov
b290046503
ref: gl: remove hidden parm -gl-allow-vbo-dontuse needed to activate VBO renderer
9 months ago
Dmitry Toroshchin
e8409cee8b
ref_gl: vbo: do not do zero-length drawcalls (fix glError on vivante)
9 months ago
mittorn
1d4d355b38
ref_gl: vbo: fix binding garbade texture after changelevel, fix wpoly counter
9 months ago
mittorn
dfe12535a5
ref_gl: vbo: disable R_TextureRandomTiling implementation until will be fixed
9 months ago
mittorn
74946100f1
ref_gl: fix not restoring static lightmap after decals
9 months ago
mittorn
9a1717915c
ref_gl: vbo: apply a1batross's patch for uint index switch
9 months ago
mittorn
3691eb6e48
ref_gl: vbo: fix incorrect lightmap index, optimize loading maps with very big lightmap count, fix clouds drawing after VBO
9 months ago
mittorn
3bb7471fd3
ref_gl: vbo: fix lightmap0 processing, remove ilightmap
9 months ago
mittorn
74e09ddb12
ref_gl: change state management in vbo renderer
9 months ago
mittorn
6b73d056b2
ref_gl: vbo dlights refactiring
9 months ago
mittorn
3e7847551a
ref_gl: add ability to skip uploading unused data (disabled)
9 months ago
mittorn
91d92935fa
ref_gl: try avoid gpu locking on dlights in vbo renderer
9 months ago
mittorn
eff033298a
ref_gl: disable singlepass detail renderer, use correct fog color multipliers in VBO
9 months ago
mittorn
3a8f4961bc
ref_gl: fix rarely broken texturechain on some big maps
9 months 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
9 months ago
Alibek Omarov
a7e84230c3
ref: gl: use world version to enable large lightmaps for BSP2 automatically
9 months ago
Alibek Omarov
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
9 months ago
Alibek Omarov
08dbfc45d3
ref: gl: refactor getting edge position, texture and lightmap coords
9 months ago
Alibek Omarov
a6af32dafd
ref: gl: connect ripply water to others parts of renderer (init, reset, animation and rendering)
10 months ago
Alibek Omarov
ea55e78855
ref: _inline -> static
10 months ago
Alibek Omarov
30d1492b93
engine: remove Set/GetCurrentLoadingModel from RefAPI
10 months ago
mittorn
287381d5ca
ref_gl: remove complete useless macro, enable VBO under option
11 months ago
Alibek Omarov
3a57f26351
ref: gl: move ref_gl cvars to static allocation
1 year ago
Alibek Omarov
a3ab04e0cb
ref: gl: track current bound texture index in gl_textures array in separate glState field
1 year 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
3 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
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
78baf568ae
engine: more double promotion fixes
5 years ago
Alibek Omarov
1218f4aeb6
ref_gl: explicitly cast literals to floats
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
2d48e73f9d
ref_gl: fix compiler warning, most useful commit
5 years ago
Alibek Omarov
771c09226e
ref_gl: patched to compile
5 years ago
Alibek Omarov
2202e13a61
ref_gl: fix #52
5 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
5 years ago