Alibek Omarov
a738b2a50b
ref: restore missing PARM_TEX_MEMORY RenderAPI parameter
1 year ago
Alibek Omarov
95f87e24ee
ref: soft: do not register cl_righthand cvar
1 year ago
Alibek Omarov
8eef212726
ref: gl: fix compile
1 year ago
Velaron
1589defda1
ref: gl: don't create cl_righthand cvar
1 year ago
Velaron
df921d8664
some cleaner code
1 year ago
Velaron
f3949474b9
ref: gl: fix cl_righthand behaviour
1 year ago
Alibek Omarov
22f60d50ac
ref: gl: only enable/disable texture units in fixed-function pipeline rendering, in our case, low TMUs
1 year ago
fgsfds
f79aaf93f8
ref: gl: psvita: disable NPOT textures, they're broken again
1 year ago
Alibek Omarov
21b47dff32
ref: gl: static-ize globals and functions in gl_warp
1 year ago
Alibek Omarov
16595bf2c0
ref: gl: fix r_showhull check
1 year ago
Alibek Omarov
d994c6df9a
ref: a bit more verbosity if UserTracer color exceed limit
1 year ago
Alibek Omarov
3a57f26351
ref: gl: move ref_gl cvars to static allocation
1 year ago
Alibek Omarov
8680757844
ref: soft: move ref_soft cvars to static allocation, remove dead cvars
1 year ago
Alibek Omarov
95a8d2f51f
ref: soft: attempt to fix freeze in decals on software renderer
1 year ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
1 year ago
Velaron
bb1b9dad23
ref: gl: Goldsrc compatible fog implementation
1 year ago
Alibek Omarov
7333ddc1d9
engine: client: move some RenderAPI GetParm queries to engine
1 year ago
Alibek Omarov
1d965d7543
ref: gl: ignore GenTextures objects that fall into reserved space for skyboxes
1 year ago
Alibek Omarov
1d62df0e2d
ref: gl: turn magic skybox numbers into defined macros
1 year ago
Alibek Omarov
277bead9b7
ref: remove SetCullState function from StudioAPI. It does nothing on GoldSrc.
1 year ago
Alibek Omarov
68ff265e8d
ref: gl: switch texture object allocation to GenTextures usage
...
This should fix most overlay programs but I only tested it on MangoHud
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
cb3b16e2ec
engine: client: implement v_dark in engine, instead of making it ref-specific
2 years ago
Alibek Omarov
27aad9f4a0
ref: gl: add size argument to COM_Default/ReplaceExtension calls
2 years ago
Alibek Omarov
8b96e7ca87
ref: add size argument to COM_FileBase calls
2 years ago
Alibek Omarov
8f207362a5
public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead
2 years ago
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