From 25c5eac5e6ca1035db1eddd7bea9ac78531da57e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 28 Dec 2023 11:23:49 -0500 Subject: Delete manuals! Good riddance! These are hosted on files.dthompson.us now! --- manuals/guile-sdl2/OpenGL.html | 165 ----------------------------------------- 1 file changed, 165 deletions(-) delete mode 100644 manuals/guile-sdl2/OpenGL.html (limited to 'manuals/guile-sdl2/OpenGL.html') diff --git a/manuals/guile-sdl2/OpenGL.html b/manuals/guile-sdl2/OpenGL.html deleted file mode 100644 index 5a288d7..0000000 --- a/manuals/guile-sdl2/OpenGL.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -OpenGL (Guile-SDL2) - - - - - - - - - - - - - - - - - - - -
-

-Previous: , Up: Window Management   [Contents][Index]

-
-
-

3.2.2 OpenGL

- -
-
Procedure: make-gl-context window
-

Create an OpenGL context for window. -

- -
-
Procedure: delete-gl-context! context
-

Delete context, an OpenGL context object. -

- -
-
Procedure: call-with-gl-context window proc
-

Call proc with a new OpenGL context created for window, and -close the context when proc returns or otherwise exits. -

- -
-
Procedure: swap-gl-window window
-

Update window with OpenGL rendering. -

- -
-
Procedure: set-gl-attribute! attr value
-

Set the OpenGL attribute represented by the symbol attr to -value. Possible values for attr are: -

-
    -
  • red-size -
  • green-size -
  • blue-size -
  • alpha-size -
  • buffer-size -
  • double-buffer -
  • depth-size -
  • stencil-size -
  • accum-red-size -
  • accum-green-size -
  • accum-blue-size -
  • stereo -
  • multisample-buffers -
  • multisample-samples -
  • retained-backing -
  • context-major-version -
  • context-minor-version -
  • context-egl -
  • context-flags -
  • context-profile-mask -
  • share-with-current-context -
  • framebuffer-srgb-capable -
- -
- -
-
Procedure: set-gl-swap-interval! interval
-

Set the framebuffer swap interval for the current OpenGL context to the -type indicated by the symbol interval. Possible values of -interval are: -

-
    -
  • immediate, for immediate updates -
  • vsync, for updates synchronized with the screen’s vertical retrace -
  • late-swap-tear, for late swap tearing -
- -

Late swap tearing works the same as vsync, but if the vertical retrace -has been missed for a given frame, buffers are swapped immediately, -which might be less jarring for the user during occasional framerate -drops. -

- - - - - - -- cgit v1.2.3