mittorn
1d4d355b38
ref_gl: vbo: fix binding garbade texture after changelevel, fix wpoly counter
11 months ago
mittorn
dfe12535a5
ref_gl: vbo: disable R_TextureRandomTiling implementation until will be fixed
11 months ago
mittorn
74946100f1
ref_gl: fix not restoring static lightmap after decals
11 months ago
mittorn
9a1717915c
ref_gl: vbo: apply a1batross's patch for uint index switch
11 months ago
mittorn
3691eb6e48
ref_gl: vbo: fix incorrect lightmap index, optimize loading maps with very big lightmap count, fix clouds drawing after VBO
11 months ago
mittorn
3bb7471fd3
ref_gl: vbo: fix lightmap0 processing, remove ilightmap
11 months ago
mittorn
74e09ddb12
ref_gl: change state management in vbo renderer
11 months ago
mittorn
6b73d056b2
ref_gl: vbo dlights refactiring
11 months ago
mittorn
3e7847551a
ref_gl: add ability to skip uploading unused data (disabled)
11 months ago
mittorn
91d92935fa
ref_gl: try avoid gpu locking on dlights in vbo renderer
11 months ago
mittorn
eff033298a
ref_gl: disable singlepass detail renderer, use correct fog color multipliers in VBO
11 months ago
mittorn
3a8f4961bc
ref_gl: fix rarely broken texturechain on some big maps
11 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
11 months ago
Alibek Omarov
a7e84230c3
ref: gl: use world version to enable large lightmaps for BSP2 automatically
11 months ago
Alibek Omarov
7e9f87de2d
engine, ref: eliminate calls to global arrays, instead store array pointers at renderer side
12 months ago
Alibek Omarov
08dbfc45d3
ref: gl: refactor getting edge position, texture and lightmap coords
12 months 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
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
6 years ago
mittorn
25235b5296
ref_gl: remove Mod_SetCurrentLoadingModel call
6 years ago
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
6 years ago
mittorn
c55b7dcda7
ref: simplify efx api, move efrags to engine
6 years ago
Alibek Omarov
971f9b6de5
ref: fix compiling errors
6 years ago
Alibek Omarov
97aba69ed0
ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references
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
Alibek Omarov
e7234bada2
ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals
6 years ago