[PATCH] Move kCGLPFABackingVolatile to < 10.8
Nigel Stewart
nigels.com at gmail.com
Sat Nov 2 14:48:06 CET 2013
+1 for this Mac OS X 10.7 (Lion) kCGLPFABackingVolatile fix.
Came across the same issue here too.
- Nigel
On Thu, Oct 31, 2013 at 1:26 PM, Jeff Muizelaar <jmuizelaar at mozilla.com> wrote:
> kCGLPFABackingVolatile was added in 10.8 not 10.7
> ---
>
> diff --git a/dispatch/glimports.hpp b/dispatch/glimports.hpp
> index 938c374..a913468 100644
> --- a/dispatch/glimports.hpp
> +++ b/dispatch/glimports.hpp
> @@ -112,27 +112,27 @@ typedef struct _WGLSWAP
> #define kCGLPFAAcceleratedCompute 97
> #define kCGLRPAcceleratedCompute 130
> typedef void *CGLShareGroupObj;
> typedef struct __IOSurface *IOSurfaceRef;
> #endif
>
> #if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
> #define kCGLPFATripleBuffer 3
> -#define kCGLPFABackingVolatile 77
> #define kCGLPFAOpenGLProfile 99
> #define kCGLRPVideoMemoryMegabytes 131
> #define kCGLRPTextureMemoryMegabytes 132
> #define kCGLCECrashOnRemovedFunctions 316
> #define kCGLOGLPVersion_Legacy 0x1000
> #define kCGLOGLPVersion_3_2_Core 0x3200
> #define kCGLOGLPVersion_GL3_Core 0x3200
> #endif
>
> #if MAC_OS_X_VERSION_MIN_REQUIRED < 1080
> +#define kCGLPFABackingVolatile 77
> #define kCGLPFASupportsAutomaticGraphicsSwitching 101
> #endif
>
> #if MAC_OS_X_VERSION_MIN_REQUIRED < 1090
> #define kCGLOGLPVersion_GL3_Core 0x3200
> #define kCGLOGLPVersion_GL4_Core 0x4100
> #define kCGLRPMajorGLVersion 133
> #endif
>
> _______________________________________________
> apitrace mailing list
> apitrace at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/apitrace
More information about the apitrace
mailing list