gfx/angle/include/GLES2/gl2platform.h

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 #ifndef __gl2platform_h_
     2 #define __gl2platform_h_
     4 /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */
     6 /*
     7  * This document is licensed under the SGI Free Software B License Version
     8  * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
     9  */
    11 /* Platform-specific types and definitions for OpenGL ES 2.X  gl2.h
    12  *
    13  * Adopters may modify khrplatform.h and this file to suit their platform.
    14  * You are encouraged to submit all modifications to the Khronos group so that
    15  * they can be included in future versions of this file.  Please submit changes
    16  * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
    17  * by filing a bug against product "OpenGL-ES" component "Registry".
    18  */
    20 #include <KHR/khrplatform.h>
    22 #ifndef GL_APICALL
    23 #define GL_APICALL  KHRONOS_APICALL
    24 #endif
    26 #ifndef GL_APIENTRY
    27 #define GL_APIENTRY KHRONOS_APIENTRY
    28 #endif
    30 #endif /* __gl2platform_h_ */

mercurial