summaryrefslogtreecommitdiff
path: root/dispatch
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-04-21 13:18:05 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-04-21 13:18:05 +0100
commitb3ebbef66be45e7bf08db134d1796e6b0833c377 (patch)
treeb4f5b83109e0071994e1b2096d46ade4931b3bda /dispatch
parentdd733839da1a92268fc965a1c3cda319ff6e0dd5 (diff)
cgltrace: Support CGLProfiler.h enums.
Diffstat (limited to 'dispatch')
-rw-r--r--dispatch/glimports.hpp47
1 files changed, 47 insertions, 0 deletions
diff --git a/dispatch/glimports.hpp b/dispatch/glimports.hpp
index e82b1231..21b57b9b 100644
--- a/dispatch/glimports.hpp
+++ b/dispatch/glimports.hpp
@@ -167,6 +167,53 @@ typedef struct __IOSurface *IOSurfaceRef;
#define kCGLRPMajorGLVersion 133
#endif
+// OpenGL/CGLProfiler.h seems to no longer be included with XCode
+#define kCGLCPComment ((CGLContextParameter)1232)
+#define kCGLCPDumpState ((CGLContextParameter)1233)
+#define kCGLCPEnableForceFlush ((CGLContextParameter)1234)
+#define kCGLGOComment ((CGLGlobalOption)1506)
+#define kCGLGOEnableFunctionTrace ((CGLGlobalOption)1507)
+#define kCGLGOEnableFunctionStatistics ((CGLGlobalOption)1508)
+#define kCGLGOResetFunctionTrace ((CGLGlobalOption)1509)
+#define kCGLGOPageBreak ((CGLGlobalOption)1510)
+#define kCGLGOResetFunctionStatistics ((CGLGlobalOption)1511)
+#define kCGLGOEnableDebugAttach ((CGLGlobalOption)1512)
+#define kCGLGOHideObjects ((CGLGlobalOption)1513)
+#define kCGLGOEnableBreakpoint ((CGLGlobalOption)1514)
+#define kCGLGOForceSlowRenderingPath ((CGLGlobalOption)1609)
+#define kCGLGODisableImmediateRenderPath ((CGLGlobalOption)1610)
+#define kCGLGODisableCVARenderPath ((CGLGlobalOption)1611)
+#define kCGLGODisableVARRenderPath ((CGLGlobalOption)1612)
+#define kCGLGOForceWireframeRendering ((CGLGlobalOption)1613)
+#define kCGLGOSubmitOnImmediateRenderCommand ((CGLGlobalOption)1614)
+#define kCGLGOSubmitOnCVARenderCommand ((CGLGlobalOption)1615)
+#define kCGLGOSubmitOnVAORenderCommand ((CGLGlobalOption)1616)
+#define kCGLGOSubmitOnClearCommand ((CGLGlobalOption)1617)
+#define kCGLGOForceSoftwareTransformLighting ((CGLGlobalOption)1618)
+#define kCGLGOForceSoftwareTexgen ((CGLGlobalOption)1619)
+#define kCGLGOForceSoftwareTRUFORM_ATI ((CGLGlobalOption)1620)
+#define kCGLGOForceSoftwareVertexShaders ((CGLGlobalOption)1621)
+#define kCGLGODisableFragmentShaders_ATI ((CGLGlobalOption)1622)
+#define kCGLGODisableTexturing ((CGLGlobalOption)1623)
+#define kCGLGOOutlineTexture ((CGLGlobalOption)1624)
+#define kCGLGOOutlineTextureColor ((CGLGlobalOption)1625)
+#define kCGLGOForceSlowBitmapPath ((CGLGlobalOption)1626)
+#define kCGLGODisableBitmap ((CGLGlobalOption)1627)
+#define kCGLGOForceSlowReadPixelsPath ((CGLGlobalOption)1630)
+#define kCGLGODisableReadPixels ((CGLGlobalOption)1631)
+#define kCGLGOOutlineReadPixelsBuffer ((CGLGlobalOption)1632)
+#define kCGLGOOutlineReadPixelsBufferColor ((CGLGlobalOption)1633)
+#define kCGLGOForceSlowDrawPixelsPath ((CGLGlobalOption)1634)
+#define kCGLGODisableDrawPixels ((CGLGlobalOption)1635)
+#define kCGLGOOutlineDrawPixelsBuffer ((CGLGlobalOption)1636)
+#define kCGLGOOutlineDrawPixelsBufferColor ((CGLGlobalOption)1637)
+#define kCGLGOForceSlowCopyPixelsPath ((CGLGlobalOption)1638)
+#define kCGLGODisableCopyPixels ((CGLGlobalOption)1639)
+#define kCGLGOOutlineCopyPixelsBuffer ((CGLGlobalOption)1640)
+#define kCGLGOOutlineCopyPixelsBufferColor ((CGLGlobalOption)1641)
+#define kCGLGOMakeAllGLObjectsRequireUpdate ((CGLGlobalOption)1642)
+#define kCGLGOMakeAllGLStateRequireUpdate ((CGLGlobalOption)1643)
+
extern "C" {
// From http://www.opensource.apple.com/source/gdb/gdb-954/libcheckpoint/cpcg.c