mittorn
d254bac16b
ref_gl: integrate gl2shim extensions
1 year ago
mittorn
2f321b1471
ref_gl: implement minimum inclusion version for GL extensions, implement quering extensions on core profile
1 year ago
mittorn
676526a518
ref_gl: fix creating core context, support core in gl2shim by creating dumb array object
1 year ago
mittorn
7e0bd86b65
ref_gl: allow enabling XASH_GLES without wrapper, add ref_gles3compat, wrap gles functions in gl2wrap when XASH_GLES enabled
1 year ago
mittorn
a9ea3976a7
ref_gl: introduce gl2_shim based on vgl_shim for future limited core/gles context support (SLOW, still needs ffp for matrix operations)
1 year ago
Alibek Omarov
de19d78571
ref: fix late registration of studio cvars (thanks, @mittorn )
1 year ago
Alibek Omarov
a738b2a50b
ref: restore missing PARM_TEX_MEMORY RenderAPI parameter
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
Alibek Omarov
3a57f26351
ref: gl: move ref_gl cvars to static allocation
2 years ago
Alibek Omarov
5d7d5319fd
engine: move ref cvars to static allocation
2 years ago
Alibek Omarov
1d62df0e2d
ref: gl: turn magic skybox numbers into defined macros
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
79624fa400
ref: gl: cleanup unused functions
2 years ago
Alibek Omarov
55bf0e8a53
ref: gl: adapt to RefAPI 4 changes
2 years ago
fgsfds
5a3e3b3977
ref: gl: add immediate mode shim for psvita
2 years ago
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2 years ago
SNMetamorph
29ad3de78a
ref_gl: added support for GL_ARB_texture_compression_bptc extension
3 years ago
Alibek Omarov
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
3 years ago
Alibek Omarov
d7db48ce4b
engine, ref: create shared cvars list, register them at engine side, make a generic macro to declare, define and get all pointers at ref side
3 years ago
Alibek Omarov
ecddae8ee6
ref_gl, ref_soft: increase MAX_TEXTURES limit by 8192
3 years ago
SNMetamorph
6c9321e50c
ref_gl: added multisample textures support
3 years ago
Alibek Omarov
7bcfce5a7a
ref_gl: use GCC provided offsetof implementation
3 years ago
Alibek Omarov
86be161677
ref_gl: add missing HACKS_RELATED_HLMODS define, lost after renderer split
4 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
4 years ago
Alibek Omarov
45334064b6
ref_gl: remove detail textures list generation leftovers
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
3c3d5d472e
ref_gl: bring back glDrawRangeElements support
5 years ago
Alibek Omarov
aa6674b032
engine: support compiling with gcc3
5 years ago
Alibek Omarov
5e8373fa46
engine: slightly update RefAPI
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
5 years ago
Alibek Omarov
d992f8525b
ref_gl: enable VBO for GLES targets, slightly refactor extensions checking, fix UB when initializing glwes
5 years ago
Alibek Omarov
8f9800eb3c
ref: move R_DrawTree from refdll to engine, implement using ref's triapi
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
2e953bd1a9
ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame
6 years ago
Alibek Omarov
4d9563ea03
ref: make api thinner by removing IsNormalPass and moving CL_FxBlend to refdll
6 years ago
Alibek Omarov
20c7c36996
ref_gl: remove dead WGL extensions
6 years ago
Alibek Omarov
228dab5965
ref_gl: move GLES and GL_STATIC defintions to gl_export.h. Add REF_GL_KEEP_MANGLED_FUNCTIONS, to keep use pgl instead of re-defining everything to gl. Used in conjuction with GL_STATIC
6 years ago
Alibek Omarov
441795943b
ref_gl: move gl specific defines out from defaults.h, remove VIDEO_DONTCARE hack, automatically set XASH_GLES if wrapper is set
6 years ago
Alibek Omarov
47879942bb
ref_gl: remove dead extensions from GLES code
6 years ago
Alibek Omarov
8b5926f9b1
ref_gl: fix alpha in menu (and anywhere else where triColor4ub is used)
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
Alibek Omarov
7e08104631
ref_gl: fixes for MSVC
6 years ago
mittorn
c55b7dcda7
ref: simplify efx api, move efrags to engine
6 years ago
mittorn
8339096ad8
ref: Improve model unloading, fix texture leak
6 years ago
mittorn
aabf5f5621
ref: remove convar_t from renderer, disable engine-related definitions in mod_local
6 years ago
mittorn
db78726656
ref: implement ASSERT macro
6 years ago
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
6 years ago
Alibek Omarov
199ebfed48
ref: implement engine ref API
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