]> gitweb.factorcode.org Git - factor.git/commitdiff
oops, forgot backing-store support on windows. also "robust" is useless
authorJoe Groff <arcata@gmail.com>
Sat, 2 May 2009 22:54:45 +0000 (17:54 -0500)
committerJoe Groff <arcata@gmail.com>
Sat, 2 May 2009 22:54:45 +0000 (17:54 -0500)
basis/ui/backend/cocoa/cocoa.factor
basis/ui/backend/windows/windows.factor
basis/ui/gadgets/worlds/worlds-docs.factor
basis/ui/pixel-formats/pixel-formats.factor

index dd207aa4f9ba3b4b9ec591bc001839e2105541cd..5b1b4b0c2aa0a42f4a2c127974eb70bb61de3a47 100755 (executable)
@@ -30,7 +30,6 @@ PIXEL-FORMAT-ATTRIBUTE-TABLE: NSOpenGLPFA { } H{
     { windowed { $ NSOpenGLPFAWindow } }
     { accelerated { $ NSOpenGLPFAAccelerated } }
     { software-rendered { $ NSOpenGLPFASingleRenderer $ kCGLRendererGenericFloatID } }
-    { robust { $ NSOpenGLPFARobust } }
     { backing-store { $ NSOpenGLPFABackingStore } }
     { multisampled { $ NSOpenGLPFAMultisample } }
     { supersampled { $ NSOpenGLPFASupersample } }
index 21bf5c74ebf72c05fea4c0eff108261a93c5f915..cc0c30f05ee81bfd4f2a1e7ff4940c32e5e53684 100755 (executable)
@@ -26,6 +26,7 @@ PIXEL-FORMAT-ATTRIBUTE-TABLE: WGL_ARB { $ WGL_SUPPORT_OPENGL_ARB 1 } H{
     { windowed { $ WGL_DRAW_TO_WINDOW_ARB 1 } }
     { accelerated { $ WGL_ACCELERATION_ARB $ WGL_FULL_ACCELERATION_ARB } }
     { software-rendered { $ WGL_ACCELERATION_ARB $ WGL_NO_ACCELERATION_ARB } }
+    { backing-store { $ WGL_SWAP_METHOD_ARB $ WGL_SWAP_COPY_ARB } }
     { color-float { $ WGL_TYPE_RGBA_FLOAT_ARB 1 } }
     { color-bits { $ WGL_COLOR_BITS_ARB } }
     { red-bits { $ WGL_RED_BITS_ARB } }
@@ -68,6 +69,7 @@ CONSTANT: pfd-flag-map H{
     { offscreen $ PFD_DRAW_TO_BITMAP }
     { fullscreen $ PFD_DRAW_TO_WINDOW }
     { windowed $ PFD_DRAW_TO_WINDOW }
+    { backing-store $ PFD_SWAP_COPY }
     { software-rendered $ PFD_GENERIC_FORMAT }
 }
 
index e3c1226f2216c8e5477c75ffc5aba511f9f5666a..ad9f3f8d4f4930fb7ac3c8859941144c58462f84 100644 (file)
@@ -1,6 +1,6 @@
 USING: ui.gadgets ui.render ui.text ui.text.private
 ui.gestures ui.backend help.markup help.syntax
-models opengl strings ;
+models opengl sequences strings ui.pixel-formats ;
 IN: ui.gadgets.worlds
 
 HELP: user-input
index 98b1dab88e0519596a4901e6b8d3f4ffa554012d..8b09402b0f123c79d6ddee94da727fc1716e8a5a 100644 (file)
@@ -11,7 +11,6 @@ SYMBOLS:
     windowed
     accelerated
     software-rendered
-    robust
     backing-store
     multisampled
     supersampled