Go to file
derhass 551570d29b Unify OpenGL extension handling between OpenGL and OpenGL ES code paths.
Split ogl_get_verinfo() into ogl_tune_for_current() and
ogl_extensions_init(), and consolidate all the OpenGL extension handling
into ogl_extensions.cpp. Unify the code paths for texture anisotropy and
GPU synchronization for OpenGL and OpenGL ES.

Currently, our renderer only uses GLES 1.0, so no real world implementation
will support sync objects for such an old context, but the logic is valid,
and this way, the GLES specific code paths are reduced.

This patch also fixes an issue where the old ogl_get_verinfo() did modify
the texture filtering mode if no anisotropic filter was available. This
was some leftover from the time when the anisotropic filter was a just
a specific CGameConfig.TexFilt mode, and not a separate, orthogonal setting
CGameCfg.TexAnisotropy that it is now.
2016-11-03 21:59:11 +01:00
common Unify OpenGL extension handling between OpenGL and OpenGL ES code paths. 2016-11-03 21:59:11 +01:00
contrib Add -O0 flags for the Debug and Editor builds in Xcode. 2016-09-28 11:18:46 +08:00
d1x-rebirth Fold bm_load_sub call to gr_remap_bitmap_good 2016-10-28 03:39:40 +00:00
d2x-rebirth Move escort_menu_handler into escort_menu 2016-10-29 23:16:15 +00:00
Documentation Update documentation and test to exclude <gcc-4.9 2016-08-14 23:47:26 +00:00
similar Unify OpenGL extension handling between OpenGL and OpenGL ES code paths. 2016-11-03 21:59:11 +01:00
.gitignore ignore XCode user data 2014-12-06 22:43:12 -08:00
COPYING.txt corrected typo in COPYING.txt (it's to its) 2014-06-06 13:18:52 +02:00
GPL-3.txt Changed custom D1X license to GPLv3 2014-06-01 19:55:23 +02:00
INSTALL.markdown Add kreator's elaborations to Mac OS X install instructions 2016-09-11 18:49:16 +00:00
SConstruct Test whether SDL_endian.h provokes -Wuseless-cast warning 2016-10-30 18:37:28 +00:00