Alibek Omarov
00b2ca7f5a
ref: gl: remove duplicates from gl_export.h
10 months ago
Alibek Omarov
5b73a788da
ref: gl: disable unused variable warning for GL functions defintions
12 months ago
mittorn
150cbfa4de
ref_gl: do not trust REFAPI context version, get it from OpenGL anyway
1 year ago
mittorn
c9c1286803
ref_gl: fix typo
1 year ago
mittorn
d378878c91
gl2shim: try fix getting program link log
1 year ago
mittorn
d254bac16b
ref_gl: integrate gl2shim extensions
1 year ago
mittorn
e23b632ce5
ref_gl: add missing non-arb shader functions
1 year ago
mittorn
2f321b1471
ref_gl: implement minimum inclusion version for GL extensions, implement quering extensions on core profile
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
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
76ea3c39a0
ref_gl: disable multisample texture for gl4es too
3 years ago
Alibek Omarov
e67bd4811a
ref_gl: fix gles1 and gles2 build
3 years ago
Alibek Omarov
7a215766c6
ref_gl: add missing define for glTexImage2DMultisample
3 years ago
SNMetamorph
6c9321e50c
ref_gl: added multisample textures support
3 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
FOTMarut
53768c84d6
ref_gl: de-duplicate GL function definitions
...
- Used APIENTRY_LINKAGE in ref_gl to remove duplicate definitions of GL
functions among translation units
- Fixes building ref_gl with -fno-common (GCC 10)
5 years ago
FOTMarut
3c2840f7d1
ref_gl: Added APIENTRY_LINKAGE macro
...
- Added APIENTRY_LINKAGE macro to specify linkage of GL functions inside
ref_gl/gl_export.h
Currently defaults to empty (-> auto)
5 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
ea6a86a83d
ref_gl: bring back GL_STATIC option
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
mittorn
050d2a3d0f
Apply Apr18 update
7 years ago
Alibek Omarov
8e508cf065
Remove WGL function pointers, remove HDC
7 years ago
Alibek Omarov
8d6e3b7f79
Pure engine source code(LF line endings, UTF8 encoded)
7 years ago