Re-exports§
pub use gl::*;
Modules§
- clipboard
- Clipboard implementation for X11 Clipboard API on X11 is pretty weird https://www.uninformativ.de/blog/postings/2017-04-02/0/POSTING-en.html so use this with caution.
- gl
Structs§
- C2Rust
Unnamed_ 1 - _sapp_
gl_ fbconfig - _sapp_
state - _sapp_
x11_ codepair - sapp_
desc - sapp_
drop - sapp_
event - sapp_
touchpoint - sapp_
xdnd - sapp_
xdnd_ atoms
Constants§
- GLX_
ALPHA_ SIZE - GLX_
BLUE_ SIZE - GLX_
CONTEXT_ CORE_ PROFILE_ BIT_ ARB - GLX_
CONTEXT_ FLAGS_ ARB - GLX_
CONTEXT_ FORWARD_ COMPATIBLE_ BIT_ ARB - GLX_
CONTEXT_ MAJOR_ VERSION_ ARB - GLX_
CONTEXT_ MINOR_ VERSION_ ARB - GLX_
CONTEXT_ PROFILE_ MASK_ ARB - GLX_
DEPTH_ SIZE - GLX_
DOUBLEBUFFER - GLX_
DRAWABLE_ TYPE - GLX_
GREEN_ SIZE - GLX_
RED_ SIZE - GLX_
RENDER_ TYPE - GLX_
RGBA_ BIT - GLX_
SAMPLES - GLX_
STENCIL_ SIZE - GLX_
VENDOR - GLX_
WINDOW_ BIT - RAND_
MAX - SAPP_
CURSOR_ CROSSHAIR - SAPP_
CURSOR_ DEFAULT - SAPP_
CURSOR_ EWRESIZE - SAPP_
CURSOR_ HELP - SAPP_
CURSOR_ MOVE - SAPP_
CURSOR_ NESWRESIZE - SAPP_
CURSOR_ NOTALLOWED - SAPP_
CURSOR_ NSRESIZE - SAPP_
CURSOR_ NUM - SAPP_
CURSOR_ NWSERESIZE - SAPP_
CURSOR_ POINTER - SAPP_
CURSOR_ TEXT - SAPP_
CURSOR_ WAIT - SAPP_
MODIFIER_ ALT - SAPP_
MODIFIER_ CTRL - SAPP_
MODIFIER_ SHIFT - SAPP_
MODIFIER_ SUPER - sapp_
event_ type_ SAPP_ EVENTTYPE_ CHAR - sapp_
event_ type_ SAPP_ EVENTTYPE_ FILES_ DROPPED - sapp_
event_ type_ SAPP_ EVENTTYPE_ ICONIFIED - sapp_
event_ type_ SAPP_ EVENTTYPE_ INVALID - sapp_
event_ type_ SAPP_ EVENTTYPE_ KEY_ DOWN - sapp_
event_ type_ SAPP_ EVENTTYPE_ KEY_ UP - sapp_
event_ type_ SAPP_ EVENTTYPE_ MOUSE_ DOWN - sapp_
event_ type_ SAPP_ EVENTTYPE_ MOUSE_ ENTER - sapp_
event_ type_ SAPP_ EVENTTYPE_ MOUSE_ LEAVE - sapp_
event_ type_ SAPP_ EVENTTYPE_ MOUSE_ MOVE - sapp_
event_ type_ SAPP_ EVENTTYPE_ MOUSE_ SCROLL - sapp_
event_ type_ SAPP_ EVENTTYPE_ MOUSE_ UP - sapp_
event_ type_ SAPP_ EVENTTYPE_ QUIT_ REQUESTED - sapp_
event_ type_ SAPP_ EVENTTYPE_ RAW_ DEVICE - sapp_
event_ type_ SAPP_ EVENTTYPE_ RESIZED - sapp_
event_ type_ SAPP_ EVENTTYPE_ RESTORED - sapp_
event_ type_ SAPP_ EVENTTYPE_ RESUMED - sapp_
event_ type_ SAPP_ EVENTTYPE_ SUSPENDED - sapp_
event_ type_ SAPP_ EVENTTYPE_ TOUCHES_ BEGAN - sapp_
event_ type_ SAPP_ EVENTTYPE_ TOUCHES_ CANCELLED - sapp_
event_ type_ SAPP_ EVENTTYPE_ TOUCHES_ ENDED - sapp_
event_ type_ SAPP_ EVENTTYPE_ TOUCHES_ MOVED - sapp_
event_ type_ SAPP_ EVENTTYPE_ UPDATE_ CURSOR - sapp_
event_ type__ SAPP_ EVENTTYPE_ FORCE_ U32 - sapp_
event_ type__ SAPP_ EVENTTYPE_ NUM - sapp_
keycode_ SAPP_ KEYCODE_ 0 - sapp_
keycode_ SAPP_ KEYCODE_ 1 - sapp_
keycode_ SAPP_ KEYCODE_ 2 - sapp_
keycode_ SAPP_ KEYCODE_ 3 - sapp_
keycode_ SAPP_ KEYCODE_ 4 - sapp_
keycode_ SAPP_ KEYCODE_ 5 - sapp_
keycode_ SAPP_ KEYCODE_ 6 - sapp_
keycode_ SAPP_ KEYCODE_ 7 - sapp_
keycode_ SAPP_ KEYCODE_ 8 - sapp_
keycode_ SAPP_ KEYCODE_ 9 - sapp_
keycode_ SAPP_ KEYCODE_ A - sapp_
keycode_ SAPP_ KEYCODE_ APOSTROPHE - sapp_
keycode_ SAPP_ KEYCODE_ B - sapp_
keycode_ SAPP_ KEYCODE_ BACKSLASH - sapp_
keycode_ SAPP_ KEYCODE_ BACKSPACE - sapp_
keycode_ SAPP_ KEYCODE_ C - sapp_
keycode_ SAPP_ KEYCODE_ CAPS_ LOCK - sapp_
keycode_ SAPP_ KEYCODE_ COMMA - sapp_
keycode_ SAPP_ KEYCODE_ D - sapp_
keycode_ SAPP_ KEYCODE_ DELETE - sapp_
keycode_ SAPP_ KEYCODE_ DOWN - sapp_
keycode_ SAPP_ KEYCODE_ E - sapp_
keycode_ SAPP_ KEYCODE_ END - sapp_
keycode_ SAPP_ KEYCODE_ ENTER - sapp_
keycode_ SAPP_ KEYCODE_ EQUAL - sapp_
keycode_ SAPP_ KEYCODE_ ESCAPE - sapp_
keycode_ SAPP_ KEYCODE_ F - sapp_
keycode_ SAPP_ KEYCODE_ F1 - sapp_
keycode_ SAPP_ KEYCODE_ F2 - sapp_
keycode_ SAPP_ KEYCODE_ F3 - sapp_
keycode_ SAPP_ KEYCODE_ F4 - sapp_
keycode_ SAPP_ KEYCODE_ F5 - sapp_
keycode_ SAPP_ KEYCODE_ F6 - sapp_
keycode_ SAPP_ KEYCODE_ F7 - sapp_
keycode_ SAPP_ KEYCODE_ F8 - sapp_
keycode_ SAPP_ KEYCODE_ F9 - sapp_
keycode_ SAPP_ KEYCODE_ F10 - sapp_
keycode_ SAPP_ KEYCODE_ F11 - sapp_
keycode_ SAPP_ KEYCODE_ F12 - sapp_
keycode_ SAPP_ KEYCODE_ F13 - sapp_
keycode_ SAPP_ KEYCODE_ F14 - sapp_
keycode_ SAPP_ KEYCODE_ F15 - sapp_
keycode_ SAPP_ KEYCODE_ F16 - sapp_
keycode_ SAPP_ KEYCODE_ F17 - sapp_
keycode_ SAPP_ KEYCODE_ F18 - sapp_
keycode_ SAPP_ KEYCODE_ F19 - sapp_
keycode_ SAPP_ KEYCODE_ F20 - sapp_
keycode_ SAPP_ KEYCODE_ F21 - sapp_
keycode_ SAPP_ KEYCODE_ F22 - sapp_
keycode_ SAPP_ KEYCODE_ F23 - sapp_
keycode_ SAPP_ KEYCODE_ F24 - sapp_
keycode_ SAPP_ KEYCODE_ F25 - sapp_
keycode_ SAPP_ KEYCODE_ G - sapp_
keycode_ SAPP_ KEYCODE_ GRAVE_ ACCENT - sapp_
keycode_ SAPP_ KEYCODE_ H - sapp_
keycode_ SAPP_ KEYCODE_ HOME - sapp_
keycode_ SAPP_ KEYCODE_ I - sapp_
keycode_ SAPP_ KEYCODE_ INSERT - sapp_
keycode_ SAPP_ KEYCODE_ INVALID - sapp_
keycode_ SAPP_ KEYCODE_ J - sapp_
keycode_ SAPP_ KEYCODE_ K - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 0 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 1 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 2 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 3 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 4 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 5 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 6 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 7 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 8 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ 9 - sapp_
keycode_ SAPP_ KEYCODE_ KP_ ADD - sapp_
keycode_ SAPP_ KEYCODE_ KP_ DECIMAL - sapp_
keycode_ SAPP_ KEYCODE_ KP_ DIVIDE - sapp_
keycode_ SAPP_ KEYCODE_ KP_ ENTER - sapp_
keycode_ SAPP_ KEYCODE_ KP_ EQUAL - sapp_
keycode_ SAPP_ KEYCODE_ KP_ MULTIPLY - sapp_
keycode_ SAPP_ KEYCODE_ KP_ SUBTRACT - sapp_
keycode_ SAPP_ KEYCODE_ L - sapp_
keycode_ SAPP_ KEYCODE_ LEFT - sapp_
keycode_ SAPP_ KEYCODE_ LEFT_ ALT - sapp_
keycode_ SAPP_ KEYCODE_ LEFT_ BRACKET - sapp_
keycode_ SAPP_ KEYCODE_ LEFT_ CONTROL - sapp_
keycode_ SAPP_ KEYCODE_ LEFT_ SHIFT - sapp_
keycode_ SAPP_ KEYCODE_ LEFT_ SUPER - sapp_
keycode_ SAPP_ KEYCODE_ M - sapp_
keycode_ SAPP_ KEYCODE_ MENU - sapp_
keycode_ SAPP_ KEYCODE_ MINUS - sapp_
keycode_ SAPP_ KEYCODE_ N - sapp_
keycode_ SAPP_ KEYCODE_ NUM_ LOCK - sapp_
keycode_ SAPP_ KEYCODE_ O - sapp_
keycode_ SAPP_ KEYCODE_ P - sapp_
keycode_ SAPP_ KEYCODE_ PAGE_ DOWN - sapp_
keycode_ SAPP_ KEYCODE_ PAGE_ UP - sapp_
keycode_ SAPP_ KEYCODE_ PAUSE - sapp_
keycode_ SAPP_ KEYCODE_ PERIOD - sapp_
keycode_ SAPP_ KEYCODE_ PRINT_ SCREEN - sapp_
keycode_ SAPP_ KEYCODE_ Q - sapp_
keycode_ SAPP_ KEYCODE_ R - sapp_
keycode_ SAPP_ KEYCODE_ RIGHT - sapp_
keycode_ SAPP_ KEYCODE_ RIGHT_ ALT - sapp_
keycode_ SAPP_ KEYCODE_ RIGHT_ BRACKET - sapp_
keycode_ SAPP_ KEYCODE_ RIGHT_ CONTROL - sapp_
keycode_ SAPP_ KEYCODE_ RIGHT_ SHIFT - sapp_
keycode_ SAPP_ KEYCODE_ RIGHT_ SUPER - sapp_
keycode_ SAPP_ KEYCODE_ S - sapp_
keycode_ SAPP_ KEYCODE_ SCROLL_ LOCK - sapp_
keycode_ SAPP_ KEYCODE_ SEMICOLON - sapp_
keycode_ SAPP_ KEYCODE_ SLASH - sapp_
keycode_ SAPP_ KEYCODE_ SPACE - sapp_
keycode_ SAPP_ KEYCODE_ T - sapp_
keycode_ SAPP_ KEYCODE_ TAB - sapp_
keycode_ SAPP_ KEYCODE_ U - sapp_
keycode_ SAPP_ KEYCODE_ UP - sapp_
keycode_ SAPP_ KEYCODE_ V - sapp_
keycode_ SAPP_ KEYCODE_ W - sapp_
keycode_ SAPP_ KEYCODE_ WORLD_ 1 - sapp_
keycode_ SAPP_ KEYCODE_ WORLD_ 2 - sapp_
keycode_ SAPP_ KEYCODE_ X - sapp_
keycode_ SAPP_ KEYCODE_ Y - sapp_
keycode_ SAPP_ KEYCODE_ Z - sapp_
mousebutton_ SAPP_ MOUSEBUTTON_ INVALID - sapp_
mousebutton_ SAPP_ MOUSEBUTTON_ LEFT - sapp_
mousebutton_ SAPP_ MOUSEBUTTON_ MIDDLE - sapp_
mousebutton_ SAPP_ MOUSEBUTTON_ RIGHT
Statics§
- _sapp
- _sapp_
glx_ ARB_ create_ context - _sapp_
glx_ ARB_ create_ context_ profile - _sapp_
glx_ ARB_ framebuffer_ sRGB - _sapp_
glx_ ARB_ multisample - _sapp_
glx_ Create Context AttribsARB - _sapp_
glx_ Create NewContext - _sapp_
glx_ Create Window - _sapp_
glx_ Destroy Context - _sapp_
glx_ Destroy Window - _sapp_
glx_ EXT_ framebuffer_ sRGB - _sapp_
glx_ EXT_ swap_ control - _sapp_
glx_ GetClient String - _sapp_
glx_ GetFB Config Attrib - _sapp_
glx_ GetFB Configs - _sapp_
glx_ GetProc Address - _sapp_
glx_ GetProc AddressARB - _sapp_
glx_ GetVisual FromFB Config - _sapp_
glx_ MESA_ swap_ control - _sapp_
glx_ Make Current - _sapp_
glx_ Query Extension - _sapp_
glx_ Query Extensions String - _sapp_
glx_ Query Version - _sapp_
glx_ Swap Buffers - _sapp_
glx_ Swap IntervalEXT - _sapp_
glx_ Swap IntervalMESA - _sapp_
glx_ ctx - _sapp_
glx_ errorbase - _sapp_
glx_ eventbase - _sapp_
glx_ libgl - _sapp_
glx_ major - _sapp_
glx_ minor - _sapp_
glx_ window - _sapp_
x11_ NET_ WM_ ICON_ NAME - _sapp_
x11_ NET_ WM_ NAME - _sapp_
x11_ UTF8_ STRING - _sapp_
x11_ WM_ DELETE_ WINDOW - _sapp_
x11_ WM_ PROTOCOLS - _sapp_
x11_ WM_ STATE - _sapp_
x11_ XA_ ATOM - _sapp_
x11_ XDND_ VERSION - _sapp_
x11_ colormap - _sapp_
x11_ display - _sapp_
x11_ dpi - _sapp_
x11_ error_ code - _sapp_
x11_ keycodes - _sapp_
x11_ keysymtab - _sapp_
x11_ root - _sapp_
x11_ screen - _sapp_
x11_ window - _sapp_
x11_ window_ state
Functions§
- _sapp_
call_ ⚠cleanup - _sapp_
call_ ⚠event - _sapp_
call_ ⚠frame - _sapp_
call_ ⚠init - _sapp_
events_ ⚠enabled - _sapp_
fail ⚠ - _sapp_
frame ⚠ - _sapp_
gl_ ⚠choose_ fbconfig - _sapp_
gl_ init_ fbconfig - _sapp_
glx_ ⚠attrib - _sapp_
glx_ ⚠choose_ visual - _sapp_
glx_ ⚠choosefbconfig - _sapp_
glx_ ⚠create_ context - _sapp_
glx_ ⚠destroy_ context - _sapp_
glx_ ⚠extsupported - _sapp_
glx_ ⚠has_ ext - _sapp_
glx_ ⚠init - _sapp_
glx_ ⚠make_ current - _sapp_
glx_ ⚠swap_ buffers - _sapp_
glx_ ⚠swapinterval - _sapp_
init_ ⚠event - _sapp_
init_ ⚠state - _sapp_
strcpy ⚠ - _sapp_
x11_ ⚠app_ event - _sapp_
x11_ ⚠char_ event - _sapp_
x11_ ⚠create_ window - _sapp_
x11_ ⚠destroy_ window - _sapp_
x11_ ⚠error_ handler - _sapp_
x11_ ⚠get_ window_ property - _sapp_
x11_ ⚠get_ window_ state - _sapp_
x11_ ⚠grab_ error_ handler - _sapp_
x11_ ⚠init_ extensions - _sapp_
x11_ ⚠key_ event - _sapp_
x11_ ⚠keysym_ to_ unicode - _sapp_
x11_ ⚠mod - _sapp_
x11_ ⚠mouse_ event - _sapp_
x11_ ⚠process_ event - _sapp_
x11_ ⚠query_ system_ dpi - _sapp_
x11_ ⚠query_ window_ size - _sapp_
x11_ ⚠raw_ device_ event - _sapp_
x11_ ⚠release_ error_ handler - _sapp_
x11_ ⚠scroll_ event - _sapp_
x11_ ⚠show_ window - _sapp_
x11_ ⚠translate_ button - _sapp_
x11_ ⚠translate_ key - _sapp_
x11_ ⚠update_ window_ title - _sapp_
x11_ ⚠window_ visible - dropped_
file_ bytes - dropped_
file_ count - dropped_
file_ path - rand⚠
- sapp_
cancel_ ⚠quit - sapp_
dpi_ ⚠scale - sapp_
frame_ ⚠count - sapp_
height ⚠ - sapp_
high_ ⚠dpi - sapp_
is_ ⚠elapsed_ timer_ supported - sapp_
is_ ⚠fullscreen - sapp_
isvalid ⚠ - sapp_
keyboard_ ⚠shown - sapp_
mouse_ ⚠shown - sapp_
query_ ⚠desc - sapp_
quit ⚠ - sapp_
request_ ⚠quit - sapp_
run ⚠ - sapp_
set_ ⚠cursor_ grab - sapp_
set_ ⚠fullscreen - sapp_
set_ ⚠mouse_ cursor - sapp_
show_ ⚠keyboard - sapp_
show_ ⚠mouse - sapp_
userdata ⚠ - sapp_
width ⚠
Type Aliases§
- GLXContext
- GLXDrawable
- GLXFB
Config - GLXWindow
- PFNGLXCREATECONTEXTATTRIBSARBPROC
- PFNGLXCREATENEWCONTEXTPROC
- PFNGLXCREATEWINDOWPROC
- PFNGLXDESTROYCONTEXTPROC
- PFNGLXDESTROYWINDOWPROC
- PFNGLXGETCLIENTSTRINGPROC
- PFNGLXGETFBCONFIGATTRIBPROC
- PFNGLXGETFBCONFIGSPROC
- PFNGLXGETPROCADDRESSPROC
- PFNGLXGETVISUALFROMFBCONFIGPROC
- PFNGLXMAKECURRENTPROC
- PFNGLXQUERYEXTENSIONPROC
- PFNGLXQUERYEXTENSIONSSTRINGPROC
- PFNGLXQUERYVERSIONPROC
- PFNGLXSWAPBUFFERSPROC
- PFNGLXSWAPINTERVALEXTPROC
- PFNGLXSWAPINTERVALMESAPROC
- __
GLXextproc - sapp_
event_ type - sapp_
keycode - sapp_
mousebutton