-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.lisp
76 lines (72 loc) · 1.45 KB
/
packages.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
;; (C) 2011 Pierre-Yves Baccou
(in-package "COMMON-LISP-USER")
(eval-when (:compile-toplevel :load-toplevel :execute)
;
(require 'cffi)
(defpackage "ZENGL"
(:use "COMMON-LISP")
(:export *get-proc-address*
init
flush
make-framebuffer
create-framebuffer
draw-framebuffer
read-framebuffer
read-origin
draw-origin
shift-draw-origin
shift-read-origin
add-stencil
copy-area
points
lines
line-strip
rectangle
polygon
pixels))
(defpackage "MYGLX"
(:use "COMMON-LISP" "CFFI")
(:export XOpenDisplay XCloseDisplay XFlush
%make-current
%swap-buffers
%choose-fb-config
%get-fb-config-attrib
%get-visual-from-fb-config
%create-window
%create-pbuffer
%create-new-context
%make-context-current
wait-X
wait-GL
%get-proc-address
%choose-visual
%create-context
%destroy-context
%copy-context
%create-pixmap
%destroy-pixmap
%query-extension
%query-version
%is-direct
%get-config
%get-current-context
%getcurrent-drawable
%use-x-font
%query-extensions-string
%query-server-string
%get-client-string
%get-current-display
%get-fb-configs
%destroy-window
%create-pixmap
%destroy-pixmap
%destroy-pbuffer
%query-drawable
%get-current-read-drawable
%query-context
%select-event
%get-selected-event
%bind-tex-image-ext
%release-tex-image-ext))
;
) ; eval-when