Handbook
Glossary
(make-pixel-format) ( world attributes -- pixel-format-handle )
Vocabulary
ui
.
pixel-formats
Inputs
world
an
object
attributes
an
object
Outputs
pixel-format-handle
an
object
Definition
USING:
ui.backend
;
IN:
ui.pixel-formats
HOOK:
(make-pixel-format)
ui-backend
( world attributes -- pixel-format-handle )
Methods
USING:
alien.c-types
cocoa.classes
cocoa.messages
cocoa.runtime
kernel
ui.backend.cocoa
ui.pixel-formats
;
M:
cocoa-ui-backend
(make-pixel-format)
nip
{
}
attrib-table
pixel-format-attributes>int-array
NSOpenGLPixelFormat
{
id
{
id
SEL
}
}
"alloc"
send
swap
{
id
{
id
SEL
void*
}
}
"initWithAttributes:"
send
;
USING:
gdk2.gl.ffi
kernel
ui.backend.gtk2
ui.pixel-formats
;
M:
gtk2-ui-backend
(make-pixel-format)
nip
perm-attribs
attrib-table
pixel-format-attributes>int-array
gdk_gl_config_new
;