raze/polymer/eduke32/build/include
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
..
msvc Split r3159..r3161, part 3: MSVC, nedmalloc, *layer, startup windows. 2012-11-15 14:27:57 +00:00
a.h BSD: Build system fixes/improvements. DONT_BUILD. 2015-03-02 07:54:24 +00:00
baselayer.h baselayer: add DEBUG_FRAME_LOCKING functionality. 2015-07-25 17:23:21 +00:00
build.h 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
buildtypes.h Don't use #pragma push_macro in buildtypes.h, for compatibility with GCC 4.2. DONT_BUILD. 2015-04-26 00:45:55 +00:00
cache1d.h Misc cleanup, add shorthand versions of getplayer, getactor, etc. 2016-01-03 20:07:24 +00:00
colmatch.h 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.h Add SW to our build system and make relevant changes to avoid fatal build errors. 2015-05-19 21:56:03 +00:00
compat.h 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
crc32.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD. 2014-11-26 04:39:23 +00:00
dxdidf.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
dxtfilter.h WIP texture cache refactoring 2013-05-15 02:17:17 +00:00
dynamicgtk.h Fix POLYMER=0 GTK C++ build. DONT_BUILD. 2014-11-29 02:29:42 +00:00
editor.h Mapster32: honor "blocking color" declared with DEF 'spritecol' et al. 2015-11-14 23:40:59 +00:00
glbuild.h 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
glext.h Polymer: upload bucket indices through pinned host memory. 2015-07-15 08:23:00 +00:00
gtkbits.h Fix C/GTK2/SDL1.2 build. DONT_BUILD. 2014-11-28 08:30:31 +00:00
gtkpixdata.h GTK: Fix warnings and errors related to the banners. DONT_BUILD. 2014-11-28 23:47:46 +00:00
gtkpixdata_shim.h GTK: Fix warnings and errors related to the banners. DONT_BUILD. 2014-11-28 23:47:46 +00:00
hightile.h Complete the necessary infrastructure so that more than one precomputed tint on a hightile texture will display. 2015-04-14 21:17:36 +00:00
jwzgles.h More Android changes. DONT_BUILD. 2015-02-11 05:22:19 +00:00
jwzglesI.h jwzgles: fix warnings when compiling on Linux 2016-01-08 01:33:15 +00:00
kplib.h Separate kpzload into two separate functions, kpzbufload (which now lives in cache1d, regardless of WITHKPLIB) and kpzdecode. 2015-05-03 07:04:11 +00:00
libdivide.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
lunatic.h Lunatic: Fix compilation of C++ build, but not starting up yet. 2014-01-31 21:13:03 +00:00
lz4.h Update LZ4 2015-12-23 04:06:05 +00:00
m32script.h M32: Add EVENT_PREDRAW2DSCREEN. 2015-08-15 21:28:05 +00:00
md4.h Reinstate MD4. 2015-01-08 15:13:28 +00:00
mdsprite.h Polymost: Make voxels take on the current basepalette, like they should. 2015-12-26 15:42:09 +00:00
mmulti.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
mutex.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD. 2014-11-26 04:39:23 +00:00
osd.h 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
osxbits.h Refine the previous commit a bit. DONT_BUILD. 2014-12-08 07:32:58 +00:00
osxmain.h 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
polymer.h Add support for sector/wall/sprite struct trackers to Polymer 2015-12-23 04:05:47 +00:00
polymost.h Polymodes: Add a new pthtyp flag to mark textures that should not be processed by the fixtransparency() hack (which avoids the transparent color blending into a sprite when texture filtering is enabled), such as non-(T)ROR-masking floors and ceilings, white- and mask-walls, paper-skies, and rotatesprite with orientation flag 64. This commit makes sure the flag's status always fits the situation. 2015-12-04 11:52:58 +00:00
pragmas.h Split the initialization of the pragma.h's libdivide tables into its own function. 2015-09-27 21:18:12 +00:00
pragmas_arm.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
pragmas_ppc.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
pragmas_x86_gcc.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
pragmas_x86_msvc.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
prlights.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
rawinput.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
renderlayer.h Clean up some GUI/WM minutiae. Should fix linking Mapster32 on *nix with HAVE_GTK=0. 2013-10-08 10:00:44 +00:00
scancodes.h Reincarnate RTS sound functionality together with cleaning up related code. 2014-01-30 19:12:08 +00:00
scriptfile.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD. 2014-11-26 04:39:23 +00:00
sdl_inc.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
sdlappicon.h Iron out all errors and warnings when compiling with MinGW-w64, targeting either 32-bit or 64-bit. 2013-10-07 10:03:11 +00:00
sdlayer.h WIP refactor of SDL interface. DONT_BUILD. 2014-11-22 12:33:47 +00:00
SDLMain.h Ball-busting Makefile restructure. 2014-07-22 07:25:54 +00:00
startwin.editor.h 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
texcache.h Update LZ4 2015-12-23 04:06:05 +00:00
tracker.hpp Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
tracker_operator.hpp Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
tracker_operators.hpp Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
wiibits.h Wii: Add a console to display startup messages to the screen instead of showing the user a black screen while the game initializes. DONT_BUILD. 2014-12-17 13:01:58 +00:00
winbits.h Fix program entry point on win32, allows debugging SDL builds under MSVC. 2015-02-11 05:21:50 +00:00
winlayer.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD. 2014-11-22 12:32:56 +00:00
xxhash.h Update xxhash to r36 2014-09-30 04:04:12 +00:00