raze-gles/polymer/eduke32/build/src
hendricks266 e00115c043 Introduce USE_GLEXT macro and use it to conditionally compile out all GL ARB function calls when compiling for GL ES platforms.
This replaces the previous hack where we kept the dynamic pointers null and simply never tried calling any of them by a conspiracy of default runtime settings and disabled menu options.

Code affected: VBO support for models, VPX GLSL decoding, texture compression (texture cache), and multitexturing (glow/detail maps).

This commit also replaces EDUKE32_GLES conditionals with USE_GLEXT where appropriate.

I didn't touch polymer.c because it depends too heavily on extensions for conditionally compiling them to make sense.

git-svn-id: https://svn.eduke32.com/eduke32@5526 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:20 +00:00
..
misc Delete a bunch of crusty old outdated unused files. 2014-07-22 07:25:09 +00:00
util Build tools/arttool: Port commit f874a10ef136f4de3c9a9cccf3eacd886bae0d2d from JFBuild: improved with info dumping and tile export 2015-11-01 19:56:30 +00:00
a-c.c Mapster32: further 2d mode performance improvements. Sprites are also now displayed with their xrepeat and yrepeat taken into account. It's not perfect yet... needs more "jiggery-pokery" 2015-07-11 23:07:47 +00:00
a.masm Replace DOS box-drawing characters in the ASM with sane ASCII. DONT_BUILD. 2014-11-07 07:53:28 +00:00
a.nasm Fix the crash in the ASM relating to the dynamic allocation of ylookup. 2014-11-29 06:30:42 +00:00
a64.yasm Add WIP x86_64 assembly texture mapping routines. 2013-09-21 13:37:31 +00:00
baselayer.c baselayer.c: Remove nested "#ifdef USE_OPENGL"s left over from the removal of the POLYMOST macro. DONT_BUILD. 2015-11-02 17:07:54 +00:00
build.c Mapster32: in drawspritelabel(), use fixed background color. 2015-11-20 20:26:52 +00:00
cache1d.c cache1d: Add kfileparent(). 2015-11-25 12:08:00 +00:00
colmatch.c Split the colormatching portion of getclosestcol_lim into getclosestcol_nocache_lim in case speed is desired when processing an image with mostly unique colors. 2015-10-10 06:57:32 +00:00
common.c Remove NULL checks before calling free(): they are unnecessary as per the C standard. Other cleanup includes factoring code into DO_FREE_AND_NULL() macros. 2015-09-23 17:55:31 +00:00
compat.c Remove NULL checks before calling free(): they are unnecessary as per the C standard. Other cleanup includes factoring code into DO_FREE_AND_NULL() macros. 2015-09-23 17:55:31 +00:00
config.c Mapster32: add var 'corruptcheck_game_duke3d' and enable by default. 2015-11-14 17:21:11 +00:00
crc32.c BSD: Build system fixes/improvements. DONT_BUILD. 2015-03-02 07:54:24 +00:00
defs.c Fix CLANG warnings 2015-12-23 04:06:28 +00:00
dxtfilter.c iOS: Set up and enable building with USE_OPENGL. DONT_BUILD. 2015-05-16 20:16:27 +00:00
dynamicgtk.c Restructure dynamicgtk to comply with C++ casting rules. DONT_BUILD. 2014-11-29 00:32:28 +00:00
engine.c Fix hard coded white and red color indexes used in on-screen debug output, to better operate with a palette dissimilar to Duke3D. 2015-12-28 02:04:36 +00:00
engine_oldmap.h Rename sector[].filler member to '.fogpal'. From CON, keep the '.alignto' alias. 2014-04-05 11:28:10 +00:00
engine_priv.h Polymost: Remove "indrawroomsandmasks" variable and its only use in polymost_drawpoly as a condition for the fullbright pass. 2015-11-25 12:07:41 +00:00
glbuild.c Introduce USE_GLEXT macro and use it to conditionally compile out all GL ARB function calls when compiling for GL ES platforms. 2016-01-08 01:33:20 +00:00
gtkbits.c Fix C/GTK2/SDL1.2 build. DONT_BUILD. 2014-11-28 08:30:31 +00:00
hightile.c Remove NULL checks before calling free(): they are unnecessary as per the C standard. Other cleanup includes factoring code into DO_FREE_AND_NULL() macros. 2015-09-23 17:55:31 +00:00
jwzgles.c jwzgles: fix warnings when compiling on Linux 2016-01-08 01:33:15 +00:00
kplib.c Remove NULL checks before calling free(): they are unnecessary as per the C standard. Other cleanup includes factoring code into DO_FREE_AND_NULL() macros. 2015-09-23 17:55:31 +00:00
lunatic.c Remove NULL checks before calling free(): they are unnecessary as per the C standard. Other cleanup includes factoring code into DO_FREE_AND_NULL() macros. 2015-09-23 17:55:31 +00:00
lz4.c Update LZ4 2015-12-23 04:06:05 +00:00
md4.c Reinstate MD4. 2015-01-08 15:13:28 +00:00
mdsprite.c Introduce USE_GLEXT macro and use it to conditionally compile out all GL ARB function calls when compiling for GL ES platforms. 2016-01-08 01:33:20 +00:00
mingw_main.c Work around a bug in MinGW 4.8 / mingwrt-4.0 where a function named main() in misc/src/libcrt/gdtoa/qnan.c takes precedence over the proper one in src/libcrt/crt/main.c. 2013-10-06 07:49:26 +00:00
mmulti_null.c KenBuild. 2014-07-24 14:01:44 +00:00
mutex.c Simplify mutex wrapper into simply differentiating between RENDERTYPEWIN (which is deprecated...) and everything else, which uses SDL mutexes. 2014-04-17 19:58:07 +00:00
osd.c Remove NULL checks before calling free(): they are unnecessary as per the C standard. Other cleanup includes factoring code into DO_FREE_AND_NULL() macros. 2015-09-23 17:55:31 +00:00
osxbits.m Refine the previous commit a bit. DONT_BUILD. 2014-12-08 07:32:58 +00:00
polymer.c Add support for sector/wall/sprite struct trackers to Polymer 2015-12-23 04:05:47 +00:00
polymost.c Introduce USE_GLEXT macro and use it to conditionally compile out all GL ARB function calls when compiling for GL ES platforms. 2016-01-08 01:33:20 +00:00
pragmas.c Split the initialization of the pragma.h's libdivide tables into its own function. 2015-09-27 21:18:12 +00:00
rawinput.c Some minor fixes. DONT_BUILD. 2014-11-28 08:14:00 +00:00
scriptfile.c Remove NULL checks before calling free(): they are unnecessary as per the C standard. Other cleanup includes factoring code into DO_FREE_AND_NULL() macros. 2015-09-23 17:55:31 +00:00
sdlayer.c Introduce USE_GLEXT macro and use it to conditionally compile out all GL ARB function calls when compiling for GL ES platforms. 2016-01-08 01:33:20 +00:00
sdlayer12.c Add the necessary plumbing to sdlayer to detect mousedown, mouseup, and dragging. 2014-12-27 18:36:43 +00:00
sdlkeytrans.c SDL2: map SDL_SCANCODE_NONUSBACKSLASH to the same Build code as COMMA. 2015-04-11 13:53:09 +00:00
SDLMain.m Apple: Update Xcode project and build system. DONT_BUILD. 2015-02-14 07:26:10 +00:00
smalltextfont.c Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
startgtk.editor.c GTK: Fix warnings and errors related to the banners. DONT_BUILD. 2014-11-28 23:47:46 +00:00
startosx.editor.m OS X: Fix -Wdeprecated-declarations compiler warnings in the startup windows. 2015-10-10 06:57:46 +00:00
startwin.editor.c Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00
texcache.c Introduce USE_GLEXT macro and use it to conditionally compile out all GL ARB function calls when compiling for GL ES platforms. 2016-01-08 01:33:20 +00:00
textfont.c textfont.c: make TAB character display blank. 2013-11-04 22:56:06 +00:00
voxmodel.c Polymost: Make voxels take on the current basepalette, like they should. 2015-12-26 15:42:09 +00:00
wiibits.c Wii: Add a custom exception handler that saves the crash information to the log and directs the user to submit it to us. DONT_BUILD. 2014-12-17 13:02:21 +00:00
winbits.c Fix program entry point on win32, allows debugging SDL builds under MSVC. 2015-02-11 05:21:50 +00:00
winlayer.c Introduce USE_GLEXT macro and use it to conditionally compile out all GL ARB function calls when compiling for GL ES platforms. 2016-01-08 01:33:20 +00:00
xxhash.c Update xxhash to r36 2014-09-30 04:04:12 +00:00