-
Notifications
You must be signed in to change notification settings - Fork 0
/
sdl-opengl-grovel.lisp
46 lines (41 loc) · 2.22 KB
/
sdl-opengl-grovel.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
(in-package :handy-sdl)
(pkg-config-cflags "sdl2")
(include "SDL.h")
(include "SDL_video.h")
;; OpenGL
(cenum c-sdl-GLprofile
((:SDL_GL_CONTEXT_PROFILE_CORE "SDL_GL_CONTEXT_PROFILE_CORE"))
((:SDL_GL_CONTEXT_PROFILE_COMPATIBILITY "SDL_GL_CONTEXT_PROFILE_COMPATIBILITY"))
((:SDL_GL_CONTEXT_PROFILE_ES "SDL_GL_CONTEXT_PROFILE_ES")))
(cenum c-sdl-GLattr
((:SDL_GL_RED_SIZE "SDL_GL_RED_SIZE"))
((:SDL_GL_GREEN_SIZE "SDL_GL_GREEN_SIZE"))
((:SDL_GL_BLUE_SIZE "SDL_GL_BLUE_SIZE"))
((:SDL_GL_ALPHA_SIZE "SDL_GL_ALPHA_SIZE"))
((:SDL_GL_BUFFER_SIZE "SDL_GL_BUFFER_SIZE"))
((:SDL_GL_DOUBLEBUFFER "SDL_GL_DOUBLEBUFFER"))
((:SDL_GL_DEPTH_SIZE "SDL_GL_DEPTH_SIZE"))
((:SDL_GL_STENCIL_SIZE "SDL_GL_STENCIL_SIZE"))
((:SDL_GL_ACCUM_RED_SIZE "SDL_GL_ACCUM_RED_SIZE"))
((:SDL_GL_ACCUM_GREEN_SIZE "SDL_GL_ACCUM_GREEN_SIZE"))
((:SDL_GL_ACCUM_BLUE_SIZE "SDL_GL_ACCUM_BLUE_SIZE"))
((:SDL_GL_ACCUM_ALPHA_SIZE "SDL_GL_ACCUM_ALPHA_SIZE"))
((:SDL_GL_STEREO "SDL_GL_STEREO"))
((:SDL_GL_MULTISAMPLEBUFFERS "SDL_GL_MULTISAMPLEBUFFERS"))
((:SDL_GL_MULTISAMPLESAMPLES "SDL_GL_MULTISAMPLESAMPLES"))
((:SDL_GL_ACCELERATED_VISUAL "SDL_GL_ACCELERATED_VISUAL"))
((:SDL_GL_RETAINED_BACKING "SDL_GL_RETAINED_BACKING"))
((:SDL_GL_CONTEXT_MAJOR_VERSION "SDL_GL_CONTEXT_MAJOR_VERSION"))
((:SDL_GL_CONTEXT_MINOR_VERSION "SDL_GL_CONTEXT_MINOR_VERSION"))
((:SDL_GL_CONTEXT_EGL "SDL_GL_CONTEXT_EGL"))
((:SDL_GL_CONTEXT_FLAGS "SDL_GL_CONTEXT_FLAGS"))
((:SDL_GL_CONTEXT_PROFILE_MASK "SDL_GL_CONTEXT_PROFILE_MASK"))
((:SDL_GL_SHARE_WITH_CURRENT_CONTEXT "SDL_GL_SHARE_WITH_CURRENT_CONTEXT"))
((:SDL_GL_FRAMEBUFFER_SRGB_CAPABLE "SDL_GL_FRAMEBUFFER_SRGB_CAPABLE"))
((:SDL_GL_CONTEXT_RELEASE_BEHAVIOR "SDL_GL_CONTEXT_RELEASE_BEHAVIOR"))
((:SDL_GL_CONTEXT_RESET_NOTIFICATION "SDL_GL_CONTEXT_RESET_NOTIFICATION"))
((:SDL_GL_CONTEXT_NO_ERROR "SDL_GL_CONTEXT_NO_ERROR")))
(cenum c-sdl-GLprofile
((:SDL_GL_CONTEXT_PROFILE_CORE "SDL_GL_CONTEXT_PROFILE_CORE"))
((:SDL_GL_CONTEXT_PROFILE_COMPATIBILITY "SDL_GL_CONTEXT_PROFILE_COMPATIBILITY"))
((:SDL_GL_CONTEXT_PROFILE_ES "SDL_GL_CONTEXT_PROFILE_ES")))