petdance/scratch — Issue #634: [CAGE] OpenGL deprecations in Mac OS 10.6
Author: petdance
Created: 2011-11-14 06:12:02+00:00
State: open
Labels: cage, library, Pri-normal, Sev-medium

Here's the output from the OpenGL configuration step on Mac OS 10.6, with several relevant deprecation notices.
```
gen::opengl - Generating OpenGL bindings...In OpenGL header '/System/Library/Frameworks/GLUT.framework/Headers/glut.h', can't parse canonicalized prototype for 'glutSurfaceTexture':
void glutSurfaceTexture(int target, int internalformat, int surfacewin); AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5
Original prototype:
extern void APIENTRY glutSurfaceTexture (GLenum target, GLenum internalformat, int surfacewin); AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5

In OpenGL header '/System/Library/Frameworks/OpenGL.framework/Headers/CGLIOSurface.h', prototype 'CGLTexImageIOSurface2D', can't handle type 'IOSurfaceRef'; original prototype:
extern CGLError CGLTexImageIOSurface2D(CGLContextObj ctx, GLenum target, GLenum internal_format, GLsizei width, GLsizei height, GLenum format, GLenum type, IOSurfaceRef ioSurface, GLuint plane);

In OpenGL header '/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h', can't parse canonicalized prototype for 'CGLSetFullScreen':
int CGLSetFullScreen(void* ctx)DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;
Original prototype:
extern CGLError CGLSetFullScreen(CGLContextObj ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_6_AND_LATER;

......................done.
```

Originally http://trac.parrot.org/parrot/ticket/1024 by allison (@allisonrandal)