mittorn
c80da05e94
ref_gl: make renderer fallback possible
5 years ago
Alibek Omarov
0db1a7743d
engine: try to fix -Wmaybe-uninitialized that may be enabled with -Wuninitialized. Diagnostic is prone to false-positives, as compiler don't have enough data for this
5 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
544fc63b6b
ref_gl: nanogl: update
5 years ago
Alibek Omarov
4c6fd79f07
tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already
5 years ago
mittorn
4994a7ef6f
ref_gl: fix build
5 years ago
mittorn
0c69f7649c
ref_gl: add gl4es support
5 years ago
mittorn
8f8c8e6614
ref: add export that returns GL_GetProcAddress for renderapi
5 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
2e2a716710
ref_api: fix remap code
5 years ago
Alibek Omarov
0fe18ae6dc
engine: fix -Wmaybe-uninitialized
5 years ago
Alibek Omarov
e11a08064d
engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics
5 years ago
Alibek Omarov
ac75bdf2d4
ref_gl: update gl-wes-v2 submodule
5 years ago
Alibek Omarov
c07109e69c
engine: fix -Wincompatible-pointer-types, add it to Werror list
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
mittorn
177f8ed653
platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options
5 years ago
Alibek Omarov
09203dc512
ref_gl: temporarily fix water drawing on GLES
5 years ago
Alibek Omarov
3c3d5d472e
ref_gl: bring back glDrawRangeElements support
5 years ago
Alibek Omarov
15924aebaa
xash3d-fwgs: check if HAVE_TGMATH_H is set to positive value rather it's just defined
5 years ago
Alibek Omarov
d2740f78c1
wscript: refactoring, add waf_unit_test, disable -Wdouble-promotion, rename fast as fastnative and leave fast without -march=native for x-compiling
5 years ago
mittorn
1365020302
ref: add enum for screen rotation
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
0dd91ceda2
xash3d-fwgs: append missing new line at the end of file
5 years ago
mittorn
7f6395fa7d
ref: display transformation API
5 years ago
Alibek Omarov
1decb1c7fb
xash3d-fwgs: append missing new line at the end of file
5 years ago
Alibek Omarov
78baf568ae
engine: more double promotion fixes
5 years ago
Alibek Omarov
1218f4aeb6
ref_gl: explicitly cast literals to floats
5 years ago
Alibek Omarov
49a133514a
ref_gl: fix wrong type
5 years ago
Alibek Omarov
1e7abdc144
wscript: fix ref_gl linking
5 years ago
Alibek Omarov
ae624801ac
wscript: proper default showing in help
5 years ago
Alibek Omarov
8889bda261
wscript: use ConfigurationContext.define instead of appending to env['DEFINES']
5 years ago
Alibek Omarov
a5fa4df37c
ref_gl: fix wrong texture resampling condition
5 years ago
Alibek Omarov
ddf070b63d
ref_gl: fix build
5 years ago
Alibek Omarov
73516eea4c
ref_gl: update glwesv2 submodule
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
5 years ago
Alibek Omarov
94d0c78913
ref_gl: update gles2 wrapper
5 years ago
mittorn
34463dcddc
ref_gl: fix glConfig.max_texture_units when GL_MAX_TEXTURE_UNITS_ARB query not supported
5 years ago
Alibek Omarov
6e95e19589
submodules: update
5 years ago
Alibek Omarov
8323df240b
engine: implement menu extensions to allow choosing renderers from GUI
5 years ago
Alibek Omarov
a1ae770f70
engine: ref: add optional export to determine actual human readable renderer name
5 years ago
Alibek Omarov
24adb6e3e0
ref_gl: update wrappers
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
5cfe9ef181
ref_gl: update gles1 and gles2 wrappers
5 years ago
Alibek Omarov
fce0ef6ad2
ref_gl: change gl_round_down flag, remove executing configs, implement GetConfigName call
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
4beba75159
engine: fix various compiler warnings
6 years ago
Alibek Omarov
2d48e73f9d
ref_gl: fix compiler warning, most useful commit
6 years ago