summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx/window-system1.c
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-06-10 14:28:03 +0200
committerMichael Bien <[email protected]>2010-06-10 14:28:03 +0200
commit2522d4f1ebffec030d7e8c3688e5f952c574c3d0 (patch)
tree81d631cb11dadc483a4615996dedf773eed083da /make/stub_includes/macosx/window-system1.c
parent57d3d3f9f9475ae167cd9d33c9450eea66439fd2 (diff)
parent1d333a771ce0bc7c8594e21d031703f698f06a46 (diff)
Merge branch 'master' of github.com:sgothel/jogl
Diffstat (limited to 'make/stub_includes/macosx/window-system1.c')
-rw-r--r--make/stub_includes/macosx/window-system1.c47
1 files changed, 47 insertions, 0 deletions
diff --git a/make/stub_includes/macosx/window-system1.c b/make/stub_includes/macosx/window-system1.c
new file mode 100644
index 000000000..787d265ed
--- /dev/null
+++ b/make/stub_includes/macosx/window-system1.c
@@ -0,0 +1,47 @@
+#include "macosx-window-system.h"
+
+/* These can not show up in the header file above because they must not be visible during the real build */
+
+/*
+** Attribute names for [NSOpenGLPixelFormat initWithAttributes]
+** and [NSOpenGLPixelFormat getValues:forAttribute:forVirtualScreen].
+*/
+typedef enum {
+ NSOpenGLPFAAllRenderers = 1, /* choose from all available renderers */
+ NSOpenGLPFADoubleBuffer = 5, /* choose a double buffered pixel format */
+ NSOpenGLPFAStereo = 6, /* stereo buffering supported */
+ NSOpenGLPFAAuxBuffers = 7, /* number of aux buffers */
+ NSOpenGLPFAColorSize = 8, /* number of color buffer bits */
+ NSOpenGLPFAAlphaSize = 11, /* number of alpha component bits */
+ NSOpenGLPFADepthSize = 12, /* number of depth buffer bits */
+ NSOpenGLPFAStencilSize = 13, /* number of stencil buffer bits */
+ NSOpenGLPFAAccumSize = 14, /* number of accum buffer bits */
+ NSOpenGLPFAMinimumPolicy = 51, /* never choose smaller buffers than requested */
+ NSOpenGLPFAMaximumPolicy = 52, /* choose largest buffers of type requested */
+ NSOpenGLPFAOffScreen = 53, /* choose an off-screen capable renderer */
+ NSOpenGLPFAFullScreen = 54, /* choose a full-screen capable renderer */
+ NSOpenGLPFASampleBuffers = 55, /* number of multi sample buffers */
+ NSOpenGLPFASamples = 56, /* number of samples per multi sample buffer */
+ NSOpenGLPFAAuxDepthStencil = 57, /* each aux buffer has its own depth stencil */
+ NSOpenGLPFAColorFloat = 58, /* color buffers store floating point pixels */
+
+ NSOpenGLPFAMultisample = 59, /* choose multisampling */
+ NSOpenGLPFASupersample = 60, /* choose supersampling */
+ NSOpenGLPFASampleAlpha = 61, /* request alpha filtering */
+
+ NSOpenGLPFARendererID = 70, /* request renderer by ID */
+ NSOpenGLPFASingleRenderer = 71, /* choose a single renderer for all screens */
+ NSOpenGLPFANoRecovery = 72, /* disable all failure recovery systems */
+ NSOpenGLPFAAccelerated = 73, /* choose a hardware accelerated renderer */
+ NSOpenGLPFAClosestPolicy = 74, /* choose the closest color buffer to request */
+ NSOpenGLPFARobust = 75, /* renderer does not need failure recovery */
+ NSOpenGLPFABackingStore = 76, /* back buffer contents are valid after swap */
+ NSOpenGLPFAMPSafe = 78, /* renderer is multi-processor safe */
+ NSOpenGLPFAWindow = 80, /* can be used to render to an onscreen window */
+ NSOpenGLPFAMultiScreen = 81, /* single window can span multiple screens */
+ NSOpenGLPFACompliant = 83, /* renderer is opengl compliant */
+ NSOpenGLPFAScreenMask = 84, /* bit mask of supported physical screens */
+ NSOpenGLPFAPixelBuffer = 90, /* can be used to render to a pbuffer */
+ NSOpenGLPFAVirtualScreenCount = 128 /* number of virtual screens in this format */
+} NSOpenGLPixelFormatAttribute;
+