2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 11:19:59 +01:00
Commit Graph

103 Commits

Author SHA1 Message Date
abafde0f18 ref_gl: fix typo 2023-10-13 05:10:50 +03:00
7b897026b7 gl2shim: dynamic extension checking and autoconfiguration 2023-10-13 05:06:43 +03:00
2e79d51ec8 ref_gl: request gl1.1 if compatibility profile unavailiable, this fixes launching with GL <= 2.0, improve old version extension detection 2023-10-13 05:05:34 +03:00
b59f00dacf ref_gl: init r_temppool before InitExtensions, fix extension string allocation 2023-10-13 01:40:33 +03:00
d933d19ef7 gl2shim: try fix getting program link log 2023-10-13 01:38:13 +03:00
7c36984ea0 gl2shim: try fix errors in ViZual ZtudiO 2023-10-13 01:01:21 +03:00
Dmitry Toroshchin
2322eb4132 ref_gl: integrate gl2shim extensions 2023-10-13 00:11:39 +03:00
Dmitry Toroshchin
26deb47799 ref_gl: add missing non-arb shader functions 2023-10-12 22:28:08 +03:00
Dmitry Toroshchin
442ee30488 ref_gl: implement minimum inclusion version for GL extensions, implement quering extensions on core profile 2023-10-12 21:46:08 +03:00
Dmitry Toroshchin
573aa3277e gl2shim: fix wrong color vertex 2023-10-12 20:05:45 +03:00
Dmitry Toroshchin
c6fc82c534 gl2shim: more refactoring 2023-10-12 15:18:02 +03:00
267216f1f2 ref_gl: try fix psvita 2023-10-12 03:40:15 +03:00
80d6a41a4e gl2shim: make shaders code more portable 2023-10-12 03:31:50 +03:00
d54d62ee79 gl2shim: refactoring 2023-10-12 03:20:16 +03:00
e9fcfc3a5c gl2shim: use IBO for quads 2023-10-12 02:53:25 +03:00
92ac769088 gl2shim: limit begin-end chain length, cycle incremental buffers 2023-10-12 02:03:17 +03:00
Dmitry Toroshchin
36f0957f93 gl2shim: improve shader version handling, fix particle issues 2023-10-11 21:48:52 +03:00
2f833a39a7 gl2shim: support incremental non-persistent buffers for arrays 2023-10-10 05:14:06 +03:00
Dmitry Toroshchin
a337165298 gl2shim: persistent incremental streaming buffers, buffer cycling support 2023-10-10 02:22:01 +03:00
9536713f9d gl2shim: implement fallback vbo, glDrawRangeElements with non-vbo buffer works now on core contexts 2023-10-06 07:09:00 +03:00
ee5191e06f gl2shim: batcher experiments (UGLY, DO NOT USE), fix bad shader bindings, Draw QUADS with TRIFAN when possible 2023-10-06 06:33:02 +03:00
889938bfde gl2shim: simple matrix invalidation, do not calculate MVP every drawcall 2023-10-06 03:25:10 +03:00
Dmitry Toroshchin
b1cd99dd95 gl2shim: bind dummy VAO on DrawElements implementation on glcore, this generates GL Errors, but renders fine on mesa 2023-10-06 02:01:19 +03:00
Dmitry Toroshchin
9c6da09316 ref_gl: fix enabling multitexturing on GLES 2023-10-06 01:46:17 +03:00
Dmitry Toroshchin
ca218a5331 gl2shim: support low (<130) shaders 2023-10-06 01:17:50 +03:00
Dmitry Toroshchin
d8bbd35c9d gl2shim: implement client arrays (not in glcore/vao mode), make studio/world array render work 2023-10-06 01:16:59 +03:00
Dmitry Toroshchin
ea4334dbe7 ref_gl: fix late studio cvars registration, enable DrawRangeElements in GLES contexts 2023-10-06 01:14:48 +03:00
Dmitry Toroshchin
5f723ff41d ref_gl: remove complete useless macro, enable VBO under option 2023-10-05 19:07:06 +03:00
Dmitry Toroshchin
a830cb4d06 ref_gl: fix build with XASH_GL_STATIC, avoid using ARB shader extension on core context 2023-10-05 18:57:26 +03:00
Dmitry Toroshchin
7ad8cda59a gl2shim: support more GLSL versions 2023-10-05 18:55:11 +03:00
1b7446529e gl2shim: Cleanup warnings, use APIENTRY declarations, stub unsupported functions 2023-10-05 06:01:54 +03:00
a9ee916d8b Workaround core context issues 2023-10-05 03:32:37 +03:00
f68454458e ref_gl: fix creating core context, support core in gl2shim by creating dumb array object 2023-10-05 03:32:02 +03:00
Dmitry Toroshchin
faa70158c2 ref_gl: allow enabling XASH_GLES without wrapper, add ref_gles3compat, wrap gles functions in gl2wrap when XASH_GLES enabled 2023-10-05 00:24:40 +03:00
Dmitry Toroshchin
2155e3abff gl2shim: limited matrix support 2023-10-04 21:27:47 +03:00
Dmitry Toroshchin
83b284f4d4 ref_gl: introduce gl2_shim based on vgl_shim for future limited core/gles context support (SLOW, still needs ffp for matrix operations) 2023-10-04 18:29:29 +03:00
95f87e24ee ref: soft: do not register cl_righthand cvar 2023-09-29 13:45:24 +03:00
8eef212726 ref: gl: fix compile 2023-09-11 21:22:53 +03:00
1589defda1 ref: gl: don't create cl_righthand cvar 2023-09-08 15:52:07 +03:00
df921d8664 some cleaner code 2023-09-08 15:52:07 +03:00
f3949474b9 ref: gl: fix cl_righthand behaviour 2023-09-08 15:52:07 +03:00
22f60d50ac ref: gl: only enable/disable texture units in fixed-function pipeline rendering, in our case, low TMUs 2023-08-21 10:01:59 +03:00
fgsfds
f79aaf93f8 ref: gl: psvita: disable NPOT textures, they're broken again 2023-06-25 18:15:18 +03:00
21b47dff32 ref: gl: static-ize globals and functions in gl_warp 2023-06-25 13:17:46 +03:00
16595bf2c0 ref: gl: fix r_showhull check 2023-05-29 14:42:16 +03:00
d994c6df9a ref: a bit more verbosity if UserTracer color exceed limit 2023-05-27 22:06:33 +03:00
3a57f26351 ref: gl: move ref_gl cvars to static allocation 2023-05-27 21:52:58 +03:00
8680757844 ref: soft: move ref_soft cvars to static allocation, remove dead cvars 2023-05-27 21:52:58 +03:00
95a8d2f51f ref: soft: attempt to fix freeze in decals on software renderer 2023-05-27 21:52:58 +03:00
5d7d5319fd engine: move ref cvars to static allocation 2023-05-27 21:52:58 +03:00