Alibek Omarov
096ee34f67
public: remove Q_vsprintf, replace by proper Q_vsnprintf proper calls
...
Fixes weird off by one error caused by glibc updates? I didn't tracked
what causes it exactly but replacing it seems to work. Anyway, we should
remove all 99999 hacks in libpublic.
2 years ago
Alibek Omarov
f55ef63e26
ref: optimize R_LightLambert function
...
* Quick exit if no local lights
* Try to minimize Q_min() checks by apply it on temp variables
* Cap final light values only once, after all local lights are calculated
2 years ago
Alibek Omarov
79624fa400
ref: gl: cleanup unused functions
2 years ago
Alibek Omarov
550ced9c36
ref: gl: cleanup unused functions in frustum
2 years ago
Alibek Omarov
fd795d5612
ref: soft: cleanup unused functions
2 years ago
Alibek Omarov
67903b55cc
ref: soft: adapt to RefAPI 4 changes
2 years ago
Alibek Omarov
55bf0e8a53
ref: gl: adapt to RefAPI 4 changes
2 years ago
Alibek Omarov
8bb5ec5e26
ref: remove renderer description export, it's unused now
2 years ago
Alibek Omarov
d085c5a843
ref: gl: gl_cull: remove thirdperson check, as it handled in client instead
2 years ago
Alibek Omarov
ef0b227967
ref: gl: alias: fix strict aliasing by converting it to use float_bits_t union
2 years ago
Andrey Akhmichin
9040c34f48
ref: gl: replace va function calls.
2 years ago
Andrey Akhmichin
af5c74981b
ref: soft: replace va function calls.
2 years ago
fgsfds
70a73e47a7
psvita: use crtlib where possible
2 years ago
fgsfds
0d04c20578
ref: gl: psvita: skip deleting the shaders since glDeleteProgram can block for a long time
2 years ago
fgsfds
fad506ef03
ref: gl: vgl_shim: remove normal support, it's not necessary
2 years ago
fgsfds
9150bbdfd8
ref: gl: psvita: remove the GL_CheckExtension hack
2 years ago
fgsfds
aa4e2f0ae4
ref: gl: psvita: use Cvar_FullSet to disable r_studio_drawelements
2 years ago
fgsfds
2bacc91922
ref: gl: move vgl_shim to ref/gl
2 years ago
fgsfds
82cfd3ecc3
ref: gl: psvita: revert arrayverts change, it doesn't matter that much
2 years ago
fgsfds
5a3e3b3977
ref: gl: add immediate mode shim for psvita
2 years ago
fgsfds
9cf6e421cb
ref: gl: psvita: force-enable NPOT textures
2 years ago
fgsfds
34dd52ca90
ref: gl: trust the GL_EXTENSIONS string on psvita
2 years ago
fgsfds
7424b29e56
engine: initial psvita build support
2 years ago
Alibek Omarov
f4069de7f2
engine: move SlerpBones, CalcBonePosition/Quaternion from engine to libpublic
2 years ago
Alibek Omarov
12154de6f5
ref: soft: fix -Wsequence-point
2 years ago
Alibek Omarov
ced6e8869a
ref: fix chrome texture being misaligned
2 years ago
Alibek Omarov
74ce7e9b10
ref: don't apply rendercolor to studio models where it's not needed
2 years ago
Alibek Omarov
c6bfc82019
ref: soft: implement screenshots
2 years ago
Alibek Omarov
4bbd0cc404
ref: add new special rendermode that specifically used for modulate mode in engine's ScreenFade
2 years ago
Andrey Akhmichin
7555fefc18
ref: gl: simplify strings operations.
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
Alibek Omarov
406eb828da
ref: gl: disable underwater distortion by default, enable for Quake compatible mode only
2 years ago
SNMetamorph
3bd8ad50d2
ref: gl: fixed crash when opening "Customize" menu
2 years ago
Alibek Omarov
88045ce3be
ref: gl: link liblog for Android
2 years ago
Alibek Omarov
76d0608ee1
ref: fix beams end point
2 years ago
Alibek Omarov
b1e2e84a11
wscript: adapt main and ref_gl wscripts to new directory layout, add flag to build all renderers at once
2 years ago
Alibek Omarov
12a6088912
ref: gl: move GLES wrappers libraries to 3rdparty folder
2 years ago
Alibek Omarov
fe9f3f78a0
ref: soft: minimize dependency on internal engine headers
2 years ago
Alibek Omarov
327eb330ed
ref: gl: minimize dependency on internal engine headers
2 years ago
Alibek Omarov
dedc144b8b
ref: soft: convert to include targets usage
2 years ago
Alibek Omarov
6d37398fad
ref: gl: convert to include targets usage
2 years ago
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2 years ago