package vendor:egl

⌘K
Ctrl+K
or
/

    Index

    Constants (162)
    Variables (0)

    This section is empty.

    Procedure Groups (0)

    This section is empty.

    Types

    ClientBuffer ¶

    ClientBuffer :: distinct rawptr

    Related Procedures With Parameters

    Context ¶

    Context :: distinct rawptr

    Related Procedures With Parameters

    Related Constants

    Image ¶

    Image :: distinct rawptr

    Related Constants

    NativeDisplayType ¶

    NativeDisplayType :: distinct rawptr

    Related Constants

    NativePixmapType ¶

    NativePixmapType :: distinct rawptr

    Related Procedures With Parameters

    NativeWindowType ¶

    NativeWindowType :: distinct rawptr

    Platform ¶

    Platform :: enum u32 {
    	ANDROID_KHR      = 0x3141, 
    	GBM_KHR          = 0x31D7, 
    	WAYLAND_KHR      = 0x31D8, 
    	X11_KHR          = 0x31D5, 
    	X11_SCREEN_KHR   = 0x31D6, 
    	DEVICE_EXT       = 0x313F, 
    	WAYLAND_EXT      = 0x31D8, 
    	X11_EXT          = 0x31D5, 
    	X11_SCREEN_EXT   = 0x31D6, 
    	XCB_EXT          = 0x31DC, 
    	XCB_SCREEN_EXT   = 0x31DE, 
    	GBM_MESA         = 0x31D7, 
    	SURFACELESS_MESA = 0x31DD, 
    }

    Sync ¶

    Sync :: distinct rawptr

    Related Procedures With Parameters

    Related Constants

    Constants

    ALPHA_FORMAT_NONPRE ¶

    ALPHA_FORMAT_NONPRE :: 0x308B

    ALPHA_FORMAT_PRE ¶

    ALPHA_FORMAT_PRE :: 0x308C

    ALPHA_MASK_SIZE ¶

    ALPHA_MASK_SIZE :: 0x303E

    BAD_ATTRIBUTE ¶

    BAD_ATTRIBUTE :: 0x3004

    BAD_CONTEXT ¶

    BAD_CONTEXT :: 0x3006

    BAD_CURRENT_SURFACE ¶

    BAD_CURRENT_SURFACE :: 0x3007

    BAD_DISPLAY ¶

    BAD_DISPLAY :: 0x3008

    BAD_NATIVE_PIXMAP ¶

    BAD_NATIVE_PIXMAP :: 0x300A

    BAD_NATIVE_WINDOW ¶

    BAD_NATIVE_WINDOW :: 0x300B

    BAD_PARAMETER ¶

    BAD_PARAMETER :: 0x300C

    BAD_SURFACE ¶

    BAD_SURFACE :: 0x300D

    BIND_TO_TEXTURE_RGB ¶

    BIND_TO_TEXTURE_RGB :: 0x3039

    BIND_TO_TEXTURE_RGBA ¶

    BIND_TO_TEXTURE_RGBA :: 0x303A

    BUFFER_DESTROYED ¶

    BUFFER_DESTROYED :: 0x3095

    BUFFER_PRESERVED ¶

    BUFFER_PRESERVED :: 0x3094

    BUFFER_SIZE ¶

    BUFFER_SIZE :: 0x3020

    CL_EVENT_HANDLE ¶

    CL_EVENT_HANDLE :: 0x309C

    COLOR_BUFFER_TYPE ¶

    COLOR_BUFFER_TYPE :: 0x303F

    CONDITION_SATISFIED ¶

    CONDITION_SATISFIED :: 0x30F6

    CONFIG_CAVEAT ¶

    CONFIG_CAVEAT :: 0x3027

    CONTEXT_CLIENT_TYPE ¶

    CONTEXT_CLIENT_TYPE :: 0x3097

    CONTEXT_CLIENT_VERSION ¶

    CONTEXT_CLIENT_VERSION :: 0x3098

    CONTEXT_LOST ¶

    CONTEXT_LOST :: 0x300E

    CONTEXT_MAJOR_VERSION ¶

    CONTEXT_MAJOR_VERSION :: 0x3098

    CONTEXT_MINOR_VERSION ¶

    CONTEXT_MINOR_VERSION :: 0x30FB

    CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT ¶

    CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT :: 0x00000002

    CONTEXT_OPENGL_CORE_PROFILE_BIT ¶

    CONTEXT_OPENGL_CORE_PROFILE_BIT :: 0x00000001

    CONTEXT_OPENGL_DEBUG ¶

    CONTEXT_OPENGL_DEBUG :: 0x31B0

    CONTEXT_OPENGL_FORWARD_COMPATIBLE ¶

    CONTEXT_OPENGL_FORWARD_COMPATIBLE :: 0x31B1

    CONTEXT_OPENGL_PROFILE_MASK ¶

    CONTEXT_OPENGL_PROFILE_MASK :: 0x30FD

    CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY ¶

    CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY :: 0x31BD

    CONTEXT_OPENGL_ROBUST_ACCESS ¶

    CONTEXT_OPENGL_ROBUST_ACCESS :: 0x31B2

    CORE_NATIVE_ENGINE ¶

    CORE_NATIVE_ENGINE :: 0x305B

    DEFAULT_DISPLAY ¶

    DEFAULT_DISPLAY :: NativeDisplayType(uintptr(0))

    DISPLAY_SCALING ¶

    DISPLAY_SCALING :: 10000

    EGL_TEXTURE_FORMAT ¶

    EGL_TEXTURE_FORMAT :: 0x3080

    EGL_TEXTURE_TARGET ¶

    EGL_TEXTURE_TARGET :: 0x3081

    FOREVER ¶

    FOREVER :: 0xFFFFFFFFFFFFFFFF

    GL_COLORSPACE ¶

    GL_COLORSPACE :: 0x309D

    GL_COLORSPACE_LINEAR ¶

    GL_COLORSPACE_LINEAR :: 0x308A

    GL_COLORSPACE_SRGB ¶

    GL_COLORSPACE_SRGB :: 0x3089

    GL_RENDERBUFFER ¶

    GL_RENDERBUFFER :: 0x30B9

    GL_TEXTURE_2D ¶

    GL_TEXTURE_2D :: 0x30B1

    GL_TEXTURE_3D ¶

    GL_TEXTURE_3D :: 0x30B2

    GL_TEXTURE_CUBE_MAP_NEGATIVE_X ¶

    GL_TEXTURE_CUBE_MAP_NEGATIVE_X :: 0x30B4

    GL_TEXTURE_CUBE_MAP_NEGATIVE_Y ¶

    GL_TEXTURE_CUBE_MAP_NEGATIVE_Y :: 0x30B6

    GL_TEXTURE_CUBE_MAP_NEGATIVE_Z ¶

    GL_TEXTURE_CUBE_MAP_NEGATIVE_Z :: 0x30B8

    GL_TEXTURE_CUBE_MAP_POSITIVE_X ¶

    GL_TEXTURE_CUBE_MAP_POSITIVE_X :: 0x30B3

    GL_TEXTURE_CUBE_MAP_POSITIVE_Y ¶

    GL_TEXTURE_CUBE_MAP_POSITIVE_Y :: 0x30B5

    GL_TEXTURE_CUBE_MAP_POSITIVE_Z ¶

    GL_TEXTURE_CUBE_MAP_POSITIVE_Z :: 0x30B7

    GL_TEXTURE_LEVEL ¶

    GL_TEXTURE_LEVEL :: 0x30BC

    GL_TEXTURE_ZOFFSET ¶

    GL_TEXTURE_ZOFFSET :: 0x30BD

    HORIZONTAL_RESOLUTION ¶

    HORIZONTAL_RESOLUTION :: 0x3090

    IMAGE_PRESERVED ¶

    IMAGE_PRESERVED :: 0x30D2

    LARGEST_PBUFFER ¶

    LARGEST_PBUFFER :: 0x3058

    LOSE_CONTEXT_ON_RESET ¶

    LOSE_CONTEXT_ON_RESET :: 0x31BF

    LUMINANCE_BUFFER ¶

    LUMINANCE_BUFFER :: 0x308F

    LUMINANCE_SIZE ¶

    LUMINANCE_SIZE :: 0x303D

    MATCH_NATIVE_PIXMAP ¶

    MATCH_NATIVE_PIXMAP :: 0x3041

    MAX_PBUFFER_HEIGHT ¶

    MAX_PBUFFER_HEIGHT :: 0x302A

    MAX_PBUFFER_PIXELS ¶

    MAX_PBUFFER_PIXELS :: 0x302B

    MAX_PBUFFER_WIDTH ¶

    MAX_PBUFFER_WIDTH :: 0x302C

    MAX_SWAP_INTERVAL ¶

    MAX_SWAP_INTERVAL :: 0x303C

    MIN_SWAP_INTERVAL ¶

    MIN_SWAP_INTERVAL :: 0x303B

    MIPMAP_TEXTURE ¶

    MIPMAP_TEXTURE :: 0x3082

    MULTISAMPLE_RESOLVE ¶

    MULTISAMPLE_RESOLVE :: 0x3099

    MULTISAMPLE_RESOLVE_BOX ¶

    MULTISAMPLE_RESOLVE_BOX :: 0x309B

    MULTISAMPLE_RESOLVE_BOX_BIT ¶

    MULTISAMPLE_RESOLVE_BOX_BIT :: 0x0200

    MULTISAMPLE_RESOLVE_DEFAULT ¶

    MULTISAMPLE_RESOLVE_DEFAULT :: 0x309A

    NATIVE_RENDERABLE ¶

    NATIVE_RENDERABLE :: 0x302D

    NATIVE_VISUAL_ID ¶

    NATIVE_VISUAL_ID :: 0x302E

    NATIVE_VISUAL_TYPE ¶

    NATIVE_VISUAL_TYPE :: 0x302F

    NON_CONFORMANT_CONFIG ¶

    NON_CONFORMANT_CONFIG :: 0x3051

    NOT_INITIALIZED ¶

    NOT_INITIALIZED :: 0x3001

    NO_CONTEXT ¶

    NO_CONTEXT :: Context(uintptr(0))

    NO_DISPLAY ¶

    NO_DISPLAY :: Display(uintptr(0))

    NO_IMAGE ¶

    NO_IMAGE :: Image(uintptr(0))

    NO_RESET_NOTIFICATION ¶

    NO_RESET_NOTIFICATION :: 0x31BE

    NO_SURFACE ¶

    NO_SURFACE :: Surface(uintptr(0))

    NO_SYNC ¶

    NO_SYNC :: Sync(uintptr(0))

    OPENGL_ES2_BIT ¶

    OPENGL_ES2_BIT :: 0x0004

    OPENGL_ES3_BIT ¶

    OPENGL_ES3_BIT :: 0x00000040

    OPENGL_ES_API ¶

    OPENGL_ES_API :: 0x30A0

    OPENGL_ES_BIT ¶

    OPENGL_ES_BIT :: 0x0001

    OPENVG_IMAGE ¶

    OPENVG_IMAGE :: 0x3096

    PBUFFER_BIT ¶

    PBUFFER_BIT :: 0x0001

    PIXEL_ASPECT_RATIO ¶

    PIXEL_ASPECT_RATIO :: 0x3092

    RENDERABLE_TYPE ¶

    RENDERABLE_TYPE :: 0x3040

    RENDER_BUFFER ¶

    RENDER_BUFFER :: 0x3086

    SAMPLE_BUFFERS ¶

    SAMPLE_BUFFERS :: 0x3032

    SINGLE_BUFFER ¶

    SINGLE_BUFFER :: 0x3085

    STENCIL_SIZE ¶

    STENCIL_SIZE :: 0x3026

    SURFACE_TYPE ¶

    SURFACE_TYPE :: 0x3033

    SWAP_BEHAVIOR ¶

    SWAP_BEHAVIOR :: 0x3093

    SWAP_BEHAVIOR_PRESERVED_BIT ¶

    SWAP_BEHAVIOR_PRESERVED_BIT :: 0x0400

    SYNC_CL_EVENT ¶

    SYNC_CL_EVENT :: 0x30FE

    SYNC_CL_EVENT_COMPLETE ¶

    SYNC_CL_EVENT_COMPLETE :: 0x30FF

    SYNC_CONDITION ¶

    SYNC_CONDITION :: 0x30F8

    SYNC_FLUSH_COMMANDS_BIT ¶

    SYNC_FLUSH_COMMANDS_BIT :: 0x0001

    SYNC_PRIOR_COMMANDS_COMPLETE ¶

    SYNC_PRIOR_COMMANDS_COMPLETE :: 0x30F0

    TIMEOUT_EXPIRED ¶

    TIMEOUT_EXPIRED :: 0x30F5

    TRANSPARENT_BLUE_VALUE ¶

    TRANSPARENT_BLUE_VALUE :: 0x3035

    TRANSPARENT_GREEN_VALUE ¶

    TRANSPARENT_GREEN_VALUE :: 0x3036

    TRANSPARENT_RED_VALUE ¶

    TRANSPARENT_RED_VALUE :: 0x3037

    TRANSPARENT_RGB ¶

    TRANSPARENT_RGB :: 0x3052

    TRANSPARENT_TYPE ¶

    TRANSPARENT_TYPE :: 0x3034

    VERTICAL_RESOLUTION ¶

    VERTICAL_RESOLUTION :: 0x3091

    VG_ALPHA_FORMAT ¶

    VG_ALPHA_FORMAT :: 0x3088

    VG_ALPHA_FORMAT_NONPRE ¶

    VG_ALPHA_FORMAT_NONPRE :: 0x308B

    VG_ALPHA_FORMAT_PRE ¶

    VG_ALPHA_FORMAT_PRE :: 0x308C

    VG_ALPHA_FORMAT_PRE_BIT ¶

    VG_ALPHA_FORMAT_PRE_BIT :: 0x0040

    VG_COLORSPACE ¶

    VG_COLORSPACE :: 0x3087

    VG_COLORSPACE_LINEAR ¶

    VG_COLORSPACE_LINEAR :: 0x308A

    VG_COLORSPACE_LINEAR_BIT ¶

    VG_COLORSPACE_LINEAR_BIT :: 0x0020

    VG_COLORSPACE_SRGB ¶

    VG_COLORSPACE_SRGB :: 0x3089

    Variables

    This section is empty.

    Procedures

    BindAPI ¶
    C · eglBindAPISource · egl.odin:231

    BindAPI :: proc "c" (api: u32) -> b32 ---

    BindTexImage ¶
    C · eglBindTexImageSource · egl.odin:257

    BindTexImage :: proc "c" (display: Display, surface: Surface, buffer: i32) -> b32 ---

    ChooseConfig ¶
    C · eglChooseConfigSource · egl.odin:236

    ChooseConfig :: proc "c" (
    	display:     Display, 
    	attrib_list: ^i32, 
    	configs:     [^]Config, 
    	config_size: i32, 
    	num_config:  ^i32, 
    ) -> b32 ---

    ClientWaitSync ¶
    C · eglClientWaitSyncSource · egl.odin:263

    ClientWaitSync :: proc "c" (display: Display, sync: Sync, flags: i32, timeout: u64) -> i32 ---

    CopyBuffers ¶
    C · eglCopyBuffersSource · egl.odin:225

    CopyBuffers :: proc "c" (display: Display, surface: Surface, target: NativePixmapType) -> b32 ---

    CreateContext ¶
    C · eglCreateContextSource · egl.odin:242

    CreateContext :: proc "c" (
    	display:       Display, 
    	config:        Config, 
    	share_context: Context, 
    	attrib_list:   ^i32, 
    ) -> Context ---

    CreateImage ¶
    C · eglCreateImageSource · egl.odin:265

    CreateImage :: proc "c" (
    	display:     Display, 
    	ctx:         Context, 
    	target:      u32, 
    	buffer:      ClientBuffer, 
    	attrib_list: ^int, 
    ) -> Image ---

    CreatePbufferFromClientBuffer ¶
    C · eglCreatePbufferFromClientBufferSource · egl.odin:237

    CreatePbufferFromClientBuffer :: proc "c" (
    	display:     Display, 
    	buftype:     u32, 
    	buffer:      ClientBuffer, 
    	config:      Config, 
    	attrib_list: ^i32, 
    ) -> Surface ---

    CreatePbufferSurface ¶
    C · eglCreatePbufferSurfaceSource · egl.odin:238

    CreatePbufferSurface :: proc "c" (
    	display:     Display, 
    	config:      Config, 
    	attrib_list: ^i32, 
    ) -> Surface ---

    CreatePixmapSurface ¶
    C · eglCreatePixmapSurfaceSource · egl.odin:239

    CreatePixmapSurface :: proc "c" (
    	display:     Display, 
    	config:      Config, 
    	pixmap:      NativePixmapType, 
    	attrib_list: ^i32, 
    ) -> Surface ---

    CreatePlatformPixmapSurface ¶
    C · eglCreatePlatformPixmapSurfaceSource · egl.odin:267

    CreatePlatformPixmapSurface :: proc "c" (
    	display:       Display, 
    	config:        Config, 
    	native_pixmap: rawptr, 
    	attrib_list:   ^int, 
    ) -> Surface ---

    CreatePlatformWindowSurface ¶
    C · eglCreatePlatformWindowSurfaceSource · egl.odin:241

    CreatePlatformWindowSurface :: proc "c" (
    	display:       Display, 
    	config:        Config, 
    	native_window: rawptr, 
    	attrib_list:   ^int, 
    ) -> Surface ---

    CreateSync ¶
    C · eglCreateSyncSource · egl.odin:261

    CreateSync :: proc "c" (display: Display, type: u32, attrib_list: ^int) -> Sync ---

    CreateWindowSurface ¶
    C · eglCreateWindowSurfaceSource · egl.odin:240

    CreateWindowSurface :: proc "c" (
    	display:       Display, 
    	config:        Config, 
    	native_window: NativeWindowType, 
    	attrib_list:   ^i32, 
    ) -> Surface ---

    DestroyContext ¶
    C · eglDestroyContextSource · egl.odin:251

    DestroyContext :: proc "c" (display: Display, ctx: Context) -> b32 ---

    DestroyImage ¶
    C · eglDestroyImageSource · egl.odin:266

    DestroyImage :: proc "c" (display: Display, image: Image) -> b32 ---

    DestroySurface ¶
    C · eglDestroySurfaceSource · egl.odin:252

    DestroySurface :: proc "c" (display: Display, surface: Surface) -> b32 ---

    DestroySync ¶
    C · eglDestroySyncSource · egl.odin:262

    DestroySync :: proc "c" (display: Display, sync: Sync) -> b32 ---

    GetConfigAttrib ¶
    C · eglGetConfigAttribSource · egl.odin:250

    GetConfigAttrib :: proc "c" (
    	display:   Display, 
    	config:    Config, 
    	attribute: i32, 
    	value:     ^i32, 
    ) -> b32 ---

    GetConfigs ¶
    C · eglGetConfigsSource · egl.odin:235

    GetConfigs :: proc "c" (
    	display:     Display, 
    	configs:     [^]Config, 
    	config_size: i32, 
    	num_config:  ^i32, 
    ) -> b32 ---

    GetCurrentContext ¶
    C · eglGetCurrentContextSource · egl.odin:260

    GetCurrentContext :: proc "c" () -> Context ---

    GetCurrentDisplay ¶
    C · eglGetCurrentDisplaySource · egl.odin:227

    GetCurrentDisplay :: proc "c" () -> Display ---

    GetCurrentSurface ¶
    C · eglGetCurrentSurfaceSource · egl.odin:229

    GetCurrentSurface :: proc "c" (readdraw: i32) -> Surface ---

    GetDisplay ¶
    C · eglGetDisplaySource · egl.odin:226

    GetDisplay :: proc "c" (display: NativeDisplayType) -> Display ---

    GetError ¶
    C · eglGetErrorSource · egl.odin:254

    GetError :: proc "c" () -> i32 ---

    GetPlatformDisplay ¶
    C · eglGetPlatformDisplaySource · egl.odin:228

    GetPlatformDisplay :: proc "c" (
    	platform:       Platform, 
    	native_display: rawptr, 
    	attrib_list:    ^int, 
    ) -> Display ---

    GetProcAddress ¶
    C · eglGetProcAddressSource · egl.odin:249

    GetProcAddress :: proc "c" (name: cstring) -> rawptr ---

    GetSyncAttrib ¶
    C · eglGetSyncAttribSource · egl.odin:264

    GetSyncAttrib :: proc "c" (display: Display, sync: Sync, attribute: i32, value: ^int) -> b32 ---

    Initialize ¶
    C · eglInitializeSource · egl.odin:230

    Initialize :: proc "c" (display: Display, major: ^i32, minor: ^i32) -> b32 ---

    MakeCurrent ¶
    C · eglMakeCurrentSource · egl.odin:243

    MakeCurrent :: proc "c" (display: Display, draw: Surface, read: Surface, ctx: Context) -> b32 ---

    QueryAPI ¶
    C · eglQueryAPISource · egl.odin:232

    QueryAPI :: proc "c" () -> u32 ---

    QueryContext ¶
    C · eglQueryContextSource · egl.odin:245

    QueryContext :: proc "c" (display: Display, ctx: Context, attribute: i32, value: ^i32) -> b32 ---

    QueryString ¶
    C · eglQueryStringSource · egl.odin:246

    QueryString :: proc "c" (display: Display, name: i32) -> cstring ---

    QuerySurface ¶
    C · eglQuerySurfaceSource · egl.odin:244

    QuerySurface :: proc "c" (
    	display:   Display, 
    	surface:   Surface, 
    	attribute: i32, 
    	value:     ^i32, 
    ) -> b32 ---

    ReleaseTexImage ¶
    C · eglReleaseTexImageSource · egl.odin:258

    ReleaseTexImage :: proc "c" (display: Display, surface: Surface, buffer: i32) -> b32 ---

    ReleaseThread ¶
    C · eglReleaseThreadSource · egl.odin:233

    ReleaseThread :: proc "c" () -> b32 ---

    SurfaceAttrib ¶
    C · eglSurfaceAttribSource · egl.odin:259

    SurfaceAttrib :: proc "c" (
    	display:   Display, 
    	surface:   Surface, 
    	attribute: i32, 
    	value:     i32, 
    ) -> b32 ---

    SwapBuffers ¶
    C · eglSwapBuffersSource · egl.odin:248

    SwapBuffers :: proc "c" (display: Display, surface: Surface) -> b32 ---

    SwapInterval ¶
    C · eglSwapIntervalSource · egl.odin:247

    SwapInterval :: proc "c" (display: Display, interval: i32) -> b32 ---

    Terminate ¶
    C · eglTerminateSource · egl.odin:253

    Terminate :: proc "c" (display: Display) -> b32 ---

    WaitClient ¶
    C · eglWaitClientSource · egl.odin:234

    WaitClient :: proc "c" () -> b32 ---

    WaitGL ¶

    WaitGL :: proc "c" () -> b32 ---

    WaitNative ¶
    C · eglWaitNativeSource · egl.odin:256

    WaitNative :: proc "c" (engine: i32) -> b32 ---

    WaitSync ¶
    C · eglWaitSyncSource · egl.odin:268

    WaitSync :: proc "c" (display: Display, sync: Sync, flags: i32) -> b32 ---

    gl_set_proc_address ¶

    gl_set_proc_address :: proc(p: rawptr, name: cstring) {…}

    Procedure Groups

    This section is empty.

    Source Files

    Generation Information

    Generated with odin version dev-2026-11 (vendor "odin") Windows_amd64 @ 2026-11-28 21:05:09.772358800 +0000 UTC