6#ifndef MATERIALX_GLCOCOAWRAPPERS_H
7#define MATERIALX_GLCOCOAWRAPPERS_H
17void* 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);
20void NSOpenGLReleasePixelFormat(
void* pPixelFormat);
21void NSOpenGLReleaseContext(
void* pContext);
22void* NSOpenGLCreateContextWrapper(
void* pPixelFormat,
void *pDummyContext);
23void NSOpenGLSetDrawable(
void* pContext,
void* pView);
24void NSOpenGLMakeCurrent(
void* pContext);
25void* NSOpenGLGetCurrentContextWrapper();
26void NSOpenGLSwapBuffers(
void* pContext);
27void NSOpenGLClearCurrentContext();
28void NSOpenGLDestroyContext(
void** pContext);
29void NSOpenGLDestroyCurrentContext(
void** pContext);
30void NSOpenGLClearDrawable(
void* pContext);
31void NSOpenGLDescribePixelFormat(
void* pPixelFormat,
int attrib,
int* vals);
32void NSOpenGLGetInteger(
void* pContext,
int param,
int* vals);
33void NSOpenGLUpdate(
void* pContext);
34void* NSOpenGLGetWindow(
void* pView);
35void NSOpenGLInitializeGLLibrary();