6 #ifndef MATERIALX_GLCOCOAWRAPPERS_H
7 #define MATERIALX_GLCOCOAWRAPPERS_H
17 void* NSOpenGLChoosePixelFormatWrapper(
bool allRenders,
int bufferType,
int colorSize,
int depthFormat,
18 int stencilFormat,
int auxBuffers,
int accumSize,
bool minimumPolicy,
19 bool accelerated,
bool mp_safe,
bool stereo,
bool supportMultiSample);
20 void NSOpenGLReleasePixelFormat(
void* pPixelFormat);
21 void NSOpenGLReleaseContext(
void* pContext);
22 void* NSOpenGLCreateContextWrapper(
void* pPixelFormat,
void *pDummyContext);
23 void NSOpenGLSetDrawable(
void* pContext,
void* pView);
24 void NSOpenGLMakeCurrent(
void* pContext);
25 void* NSOpenGLGetCurrentContextWrapper();
26 void NSOpenGLSwapBuffers(
void* pContext);
27 void NSOpenGLClearCurrentContext();
28 void NSOpenGLDestroyContext(
void** pContext);
29 void NSOpenGLDestroyCurrentContext(
void** pContext);
30 void NSOpenGLClearDrawable(
void* pContext);
31 void NSOpenGLDescribePixelFormat(
void* pPixelFormat,
int attrib,
int* vals);
32 void NSOpenGLGetInteger(
void* pContext,
int param,
int* vals);
33 void NSOpenGLUpdate(
void* pContext);
34 void* NSOpenGLGetWindow(
void* pView);
35 void NSOpenGLInitializeGLLibrary();