Add initial prototype.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package body opengl.Display.privvy
|
||||
is
|
||||
|
||||
function to_eGL (Self : in Display.item'Class) return eGL.EGLDisplay
|
||||
is
|
||||
begin
|
||||
return Self.Thin;
|
||||
end to_eGL;
|
||||
|
||||
end opengl.Display.privvy;
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
with
|
||||
eGL;
|
||||
|
||||
|
||||
package opengl.Display.privvy
|
||||
is
|
||||
|
||||
function to_eGL (Self : in Display.item'Class) return eGL.EGLDisplay;
|
||||
|
||||
end opengl.Display.privvy;
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
package body opengl.Surface.privvy
|
||||
is
|
||||
|
||||
function to_eGL (Self : in Surface.item'Class) return egl.EGLSurface
|
||||
is
|
||||
begin
|
||||
return Self.egl_Surface;
|
||||
end to_eGL;
|
||||
|
||||
end opengl.Surface.privvy;
|
||||
@@ -0,0 +1,10 @@
|
||||
with
|
||||
eGL;
|
||||
|
||||
|
||||
package opengl.Surface.privvy
|
||||
is
|
||||
|
||||
function to_eGL (Self : in Surface.item'Class) return egl.EGLSurface;
|
||||
|
||||
end opengl.Surface.privvy;
|
||||
@@ -0,0 +1,10 @@
|
||||
package body opengl.surface_Profile.privvy
|
||||
is
|
||||
|
||||
function to_eGL (Self : in Item'Class) return egl.EGLConfig
|
||||
is
|
||||
begin
|
||||
return Self.egl_Config;
|
||||
end to_eGL;
|
||||
|
||||
end opengl.surface_Profile.privvy;
|
||||
@@ -0,0 +1,10 @@
|
||||
with
|
||||
eGL;
|
||||
|
||||
|
||||
package opengl.surface_Profile.privvy
|
||||
is
|
||||
|
||||
function to_eGL (Self : in surface_Profile.Item'Class) return egl.EGLConfig;
|
||||
|
||||
end opengl.surface_Profile.privvy;
|
||||
217
3-mid/opengl/source/platform/egl/private/thin/egl-binding.ads
Normal file
217
3-mid/opengl/source/platform/egl/private/thin/egl-binding.ads
Normal file
@@ -0,0 +1,217 @@
|
||||
with
|
||||
eGL.Pointers,
|
||||
eGL.NativeDisplayType,
|
||||
|
||||
Interfaces.C.Strings,
|
||||
System;
|
||||
|
||||
|
||||
package eGL.Binding
|
||||
is
|
||||
|
||||
function eglGetError return eGL.EGLint;
|
||||
|
||||
function eglGetDisplay
|
||||
(display_id : in eGL.NativeDisplayType.Item) return eGL.EGLDisplay;
|
||||
|
||||
function eglInitialize
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
major : in eGL.Pointers.EGLint_Pointer;
|
||||
minor : in eGL.Pointers.EGLint_Pointer) return eGL.EGLBoolean;
|
||||
|
||||
function eglTerminate (dpy : in eGL.EGLDisplay) return eGL.EGLBoolean;
|
||||
|
||||
function eglQueryString
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
name : in eGL.EGLint) return Interfaces.C.Strings.chars_ptr;
|
||||
|
||||
function eglGetConfigs
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
configs : in eGL.Pointers.EGLConfig_Pointer;
|
||||
config_size : in eGL.EGLint;
|
||||
num_config : in eGL.Pointers.EGLint_Pointer) return eGL.EGLBoolean;
|
||||
|
||||
function eglChooseConfig
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
attrib_list : in eGL.Pointers.EGLint_Pointer;
|
||||
configs : in eGL.Pointers.EGLConfig_Pointer;
|
||||
config_size : in eGL.EGLint;
|
||||
num_config : in eGL.Pointers.EGLint_Pointer) return eGL.EGLBoolean;
|
||||
|
||||
function eglGetConfigAttrib
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
config : in eGL.EGLConfig;
|
||||
attribute : in eGL.EGLint;
|
||||
value : in eGL.Pointers.EGLint_Pointer) return eGL.EGLBoolean;
|
||||
|
||||
function eglCreateWindowSurface
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
config : in eGL.EGLConfig;
|
||||
win : in eGL.NativeWindowType;
|
||||
attrib_list : in eGL.Pointers.EGLint_Pointer) return eGL.EGLSurface;
|
||||
|
||||
function eglCreatePbufferSurface
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
config : in eGL.EGLConfig;
|
||||
attrib_list : in eGL.Pointers.EGLint_Pointer) return eGL.EGLSurface;
|
||||
|
||||
function eglCreatePixmapSurface
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
config : in eGL.EGLConfig;
|
||||
pixmap : in eGL.NativePixmapType;
|
||||
attrib_list : in eGL.Pointers.EGLint_Pointer) return eGL.EGLSurface;
|
||||
|
||||
function eglDestroySurface
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
surface : in eGL.EGLSurface) return eGL.EGLBoolean;
|
||||
|
||||
function eglQuerySurface
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
surface : in eGL.EGLSurface;
|
||||
attribute : in eGL.EGLint;
|
||||
value : in eGL.Pointers.EGLint_Pointer) return eGL.EGLBoolean;
|
||||
|
||||
function eglBindAPI (api : in eGL.EGLenum) return eGL.EGLBoolean;
|
||||
|
||||
function eglQueryAPI return eGL.EGLenum;
|
||||
|
||||
function eglWaitClient return eGL.EGLBoolean;
|
||||
|
||||
function eglReleaseThread return eGL.EGLBoolean;
|
||||
|
||||
function eglCreatePbufferFromClientBuffer
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
buftype : in eGL.EGLenum;
|
||||
buffer : in eGL.EGLClientBuffer;
|
||||
config : in eGL.EGLConfig;
|
||||
attrib_list : in eGL.Pointers.EGLint_Pointer) return eGL.EGLSurface;
|
||||
|
||||
function eglSurfaceAttrib
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
surface : in eGL.EGLSurface;
|
||||
attribute : in eGL.EGLint;
|
||||
value : in eGL.EGLint) return eGL.EGLBoolean;
|
||||
|
||||
function eglBindTexImage
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
surface : in eGL.EGLSurface;
|
||||
buffer : in eGL.EGLint) return eGL.EGLBoolean;
|
||||
|
||||
function eglReleaseTexImage
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
surface : in eGL.EGLSurface;
|
||||
buffer : in eGL.EGLint) return eGL.EGLBoolean;
|
||||
|
||||
function eglSwapInterval
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
interval : in eGL.EGLint)
|
||||
return eGL.EGLBoolean;
|
||||
|
||||
function eglCreateContext
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
config : in eGL.EGLConfig;
|
||||
share_context : in eGL.EGLContext;
|
||||
attrib_list : in eGL.Pointers.EGLint_Pointer) return eGL.EGLContext;
|
||||
|
||||
function eglDestroyContext
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
ctx : in eGL.EGLContext) return eGL.EGLBoolean;
|
||||
|
||||
function eglMakeCurrent
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
draw : in eGL.EGLSurface;
|
||||
read : in eGL.EGLSurface;
|
||||
ctx : in eGL.EGLContext) return eGL.EGLBoolean;
|
||||
|
||||
function eglGetCurrentContext return eGL.EGLContext;
|
||||
|
||||
function eglGetCurrentSurface
|
||||
(readdraw : in eGL.EGLint) return eGL.EGLSurface;
|
||||
|
||||
function eglGetCurrentDisplay return eGL.EGLDisplay;
|
||||
|
||||
function eglQueryContext
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
ctx : in eGL.EGLContext;
|
||||
attribute : in eGL.EGLint;
|
||||
value : in eGL.Pointers.EGLint_Pointer) return eGL.EGLBoolean;
|
||||
|
||||
function eglWaitGL return eGL.EGLBoolean;
|
||||
|
||||
function eglWaitNative (engine : in eGL.EGLint) return eGL.EGLBoolean;
|
||||
|
||||
function eglSwapBuffers
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
surface : in eGL.EGLSurface) return eGL.EGLBoolean;
|
||||
|
||||
function eglCopyBuffers
|
||||
(dpy : in eGL.EGLDisplay;
|
||||
surface : in eGL.EGLSurface;
|
||||
target : in eGL.NativePixmapType) return eGL.EGLBoolean;
|
||||
|
||||
function eglGetProcAddress
|
||||
(procname : in Interfaces.C.Strings.chars_ptr) return void_ptr;
|
||||
|
||||
|
||||
-- Out-of-band handle values.
|
||||
--
|
||||
egl_DEFAULT_DISPLAY : constant access eGL.Display;
|
||||
egl_NO_CONTEXT : constant eGL.EGLContext;
|
||||
egl_NO_DISPLAY : constant eGL.EGLDisplay;
|
||||
egl_NO_SURFACE : constant eGL.EGLSurface;
|
||||
|
||||
-- Out-of-band attribute value.
|
||||
--
|
||||
egl_DONT_CARE : constant eGL.EGLint;
|
||||
|
||||
|
||||
|
||||
|
||||
private
|
||||
use System;
|
||||
|
||||
egl_DEFAULT_DISPLAY : constant access eGL.Display := null;
|
||||
egl_NO_CONTEXT : constant eGL.EGLContext := null_Address;
|
||||
egl_NO_DISPLAY : constant eGL.EGLDisplay := null_Address;
|
||||
egl_NO_SURFACE : constant eGL.EGLSurface := null_Address;
|
||||
|
||||
egl_DONT_CARE : constant eGL.EGLint := -1;
|
||||
|
||||
|
||||
pragma Import (C, eglGetError, "eglGetError");
|
||||
pragma Import (C, eglGetDisplay, "eglGetDisplay");
|
||||
pragma Import (C, eglInitialize, "eglInitialize");
|
||||
pragma Import (C, eglTerminate, "eglTerminate");
|
||||
pragma Import (C, eglQueryString, "eglQueryString");
|
||||
pragma Import (C, eglGetConfigs, "eglGetConfigs");
|
||||
pragma Import (C, eglChooseConfig, "eglChooseConfig");
|
||||
pragma Import (C, eglGetConfigAttrib, "eglGetConfigAttrib");
|
||||
pragma Import (C, eglCreateWindowSurface, "eglCreateWindowSurface");
|
||||
pragma Import (C, eglCreatePbufferSurface, "eglCreatePbufferSurface");
|
||||
pragma Import (C, eglCreatePixmapSurface, "eglCreatePixmapSurface");
|
||||
pragma Import (C, eglDestroySurface, "eglDestroySurface");
|
||||
pragma Import (C, eglQuerySurface, "eglQuerySurface");
|
||||
pragma Import (C, eglBindAPI, "eglBindAPI");
|
||||
pragma Import (C, eglQueryAPI, "eglQueryAPI");
|
||||
pragma Import (C, eglWaitClient, "eglWaitClient");
|
||||
pragma Import (C, eglReleaseThread, "eglReleaseThread");
|
||||
pragma Import (C, eglCreatePbufferFromClientBuffer,
|
||||
"eglCreatePbufferFromClientBuffer");
|
||||
pragma Import (C, eglSurfaceAttrib, "eglSurfaceAttrib");
|
||||
pragma Import (C, eglBindTexImage, "eglBindTexImage");
|
||||
pragma Import (C, eglReleaseTexImage, "eglReleaseTexImage");
|
||||
pragma Import (C, eglSwapInterval, "eglSwapInterval");
|
||||
pragma Import (C, eglCreateContext, "eglCreateContext");
|
||||
pragma Import (C, eglDestroyContext, "eglDestroyContext");
|
||||
pragma Import (C, eglMakeCurrent, "eglMakeCurrent");
|
||||
pragma Import (C, eglGetCurrentContext, "eglGetCurrentContext");
|
||||
pragma Import (C, eglGetCurrentSurface, "eglGetCurrentSurface");
|
||||
pragma Import (C, eglGetCurrentDisplay, "eglGetCurrentDisplay");
|
||||
pragma Import (C, eglQueryContext, "eglQueryContext");
|
||||
pragma Import (C, eglWaitGL, "eglWaitGL");
|
||||
pragma Import (C, eglWaitNative, "eglWaitNative");
|
||||
pragma Import (C, eglSwapBuffers, "eglSwapBuffers");
|
||||
pragma Import (C, eglCopyBuffers, "eglCopyBuffers");
|
||||
pragma Import (C, eglGetProcAddress, "eglGetProcAddress");
|
||||
|
||||
end eGL.Binding;
|
||||
@@ -0,0 +1,12 @@
|
||||
with
|
||||
eGL.Pointers;
|
||||
|
||||
package eGL.NativeDisplayType
|
||||
is
|
||||
subtype Item is eGL.Pointers.Display_Pointer;
|
||||
type Item_array is array (C.size_t range <>) of aliased Item;
|
||||
|
||||
type Pointer is access all eGL.NativeDisplayType.Item;
|
||||
type Pointer_array is array (C.size_t range <>) of aliased Pointer;
|
||||
|
||||
end eGL.NativeDisplayType;
|
||||
@@ -0,0 +1,28 @@
|
||||
package eGL.Pointers
|
||||
is
|
||||
|
||||
type Display_Pointer is access all eGL.Display;
|
||||
type NativeWindowType_Pointer is access all eGL.NativeWindowType;
|
||||
type NativePixmapType_Pointer is access all eGL.NativePixmapType;
|
||||
type EGLint_Pointer is access all eGL.EGLint;
|
||||
type EGLBoolean_Pointer is access all eGL.EGLBoolean;
|
||||
type EGLenum_Pointer is access all eGL.EGLenum;
|
||||
type EGLConfig_Pointer is access all eGL.EGLConfig;
|
||||
type EGLContext_Pointer is access all eGL.EGLContext;
|
||||
type EGLDisplay_Pointer is access all eGL.EGLDisplay;
|
||||
type EGLSurface_Pointer is access all eGL.EGLSurface;
|
||||
type EGLClientBuffer_Pointer is access all eGL.EGLClientBuffer;
|
||||
|
||||
type Display_Pointer_array is array (C.size_t range <>) of aliased Display_Pointer;
|
||||
type NativeWindowType_Pointer_array is array (C.size_t range <>) of aliased NativeWindowType_Pointer;
|
||||
type NativePixmapType_Pointer_array is array (C.size_t range <>) of aliased NativePixmapType_Pointer;
|
||||
type EGLint_Pointer_array is array (C.size_t range <>) of aliased EGLint_Pointer;
|
||||
type EGLBoolean_Pointer_array is array (C.size_t range <>) of aliased EGLBoolean_Pointer;
|
||||
type EGLenum_Pointer_array is array (C.size_t range <>) of aliased EGLenum_Pointer;
|
||||
type EGLConfig_Pointer_array is array (C.size_t range <>) of aliased EGLConfig_Pointer;
|
||||
type EGLContext_Pointer_array is array (C.size_t range <>) of aliased EGLContext_Pointer;
|
||||
type EGLDisplay_Pointer_array is array (C.size_t range <>) of aliased EGLDisplay_Pointer;
|
||||
type EGLSurface_Pointer_array is array (C.size_t range <>) of aliased EGLSurface_Pointer;
|
||||
type EGLClientBuffer_Pointer_array is array (C.size_t range <>) of aliased EGLClientBuffer_Pointer;
|
||||
|
||||
end eGL.Pointers;
|
||||
210
3-mid/opengl/source/platform/egl/private/thin/egl.ads
Normal file
210
3-mid/opengl/source/platform/egl/private/thin/egl.ads
Normal file
@@ -0,0 +1,210 @@
|
||||
with
|
||||
Interfaces.C,
|
||||
System;
|
||||
|
||||
|
||||
package eGL
|
||||
is
|
||||
use Interfaces;
|
||||
|
||||
---------
|
||||
-- Types
|
||||
--
|
||||
subtype void_Ptr is System.Address;
|
||||
subtype Display is System.Address;
|
||||
subtype NativeWindowType is Interfaces.C.unsigned_long;
|
||||
subtype NativePixmapType is Interfaces.C.unsigned_long;
|
||||
subtype EGLint is Interfaces.Integer_32;
|
||||
subtype EGLBoolean is Interfaces.C.unsigned;
|
||||
subtype EGLenum is Interfaces.C.unsigned;
|
||||
subtype EGLConfig is void_ptr;
|
||||
subtype EGLContext is void_ptr;
|
||||
subtype EGLDisplay is void_ptr;
|
||||
subtype EGLSurface is void_ptr;
|
||||
subtype EGLClientBuffer is void_ptr;
|
||||
|
||||
type void_Ptr_array is array (C.size_t range <>) of aliased void_Ptr;
|
||||
type Display_array is array (C.size_t range <>) of aliased eGL.Display;
|
||||
type NativeWindowType_array is array (C.size_t range <>) of aliased eGL.NativeWindowType;
|
||||
type NativePixmapType_array is array (C.size_t range <>) of aliased eGL.NativePixmapType;
|
||||
type EGLint_array is array (C.size_t range <>) of aliased eGL.EGLint;
|
||||
type EGLBoolean_array is array (C.size_t range <>) of aliased eGL.EGLBoolean;
|
||||
type EGLenum_array is array (C.size_t range <>) of aliased eGL.EGLenum;
|
||||
type EGLConfig_array is array (C.size_t range <>) of aliased eGL.EGLConfig;
|
||||
type EGLContext_array is array (C.size_t range <>) of aliased eGL.EGLContext;
|
||||
type EGLDisplay_array is array (C.size_t range <>) of aliased eGL.EGLDisplay;
|
||||
type EGLSurface_array is array (C.size_t range <>) of aliased eGL.EGLSurface;
|
||||
type EGLClientBuffer_array is array (C.size_t range <>) of aliased eGL.EGLClientBuffer;
|
||||
|
||||
|
||||
-------------
|
||||
-- Constants
|
||||
--
|
||||
EGL_VERSION_1_0 : constant := 1;
|
||||
EGL_VERSION_1_1 : constant := 1;
|
||||
EGL_VERSION_1_2 : constant := 1;
|
||||
EGL_VERSION_1_3 : constant := 1;
|
||||
EGL_VERSION_1_4 : constant := 1;
|
||||
|
||||
EGL_FALSE : constant := 0;
|
||||
EGL_TRUE : constant := 1;
|
||||
|
||||
EGL_SUCCESS : constant := 16#3000#;
|
||||
EGL_NOT_INITIALIZED : constant := 16#3001#;
|
||||
|
||||
EGL_BAD_ACCESS : constant := 16#3002#;
|
||||
EGL_BAD_ALLOC : constant := 16#3003#;
|
||||
EGL_BAD_ATTRIBUTE : constant := 16#3004#;
|
||||
EGL_BAD_CONFIG : constant := 16#3005#;
|
||||
EGL_BAD_CONTEXT : constant := 16#3006#;
|
||||
EGL_BAD_CURRENT_SURFACE : constant := 16#3007#;
|
||||
EGL_BAD_DISPLAY : constant := 16#3008#;
|
||||
EGL_BAD_MATCH : constant := 16#3009#;
|
||||
EGL_BAD_NATIVE_PIXMAP : constant := 16#300a#;
|
||||
EGL_BAD_NATIVE_WINDOW : constant := 16#300b#;
|
||||
EGL_BAD_PARAMETER : constant := 16#300c#;
|
||||
EGL_BAD_SURFACE : constant := 16#300d#;
|
||||
|
||||
EGL_CONTEXT_LOST : constant := 16#300e#;
|
||||
|
||||
EGL_BUFFER_SIZE : constant := 16#3020#;
|
||||
EGL_ALPHA_SIZE : constant := 16#3021#;
|
||||
EGL_BLUE_SIZE : constant := 16#3022#;
|
||||
EGL_GREEN_SIZE : constant := 16#3023#;
|
||||
EGL_RED_SIZE : constant := 16#3024#;
|
||||
EGL_DEPTH_SIZE : constant := 16#3025#;
|
||||
EGL_STENCIL_SIZE : constant := 16#3026#;
|
||||
|
||||
EGL_CONFIG_CAVEAT : constant := 16#3027#;
|
||||
EGL_CONFIG_ID : constant := 16#3028#;
|
||||
|
||||
EGL_LEVEL : constant := 16#3029#;
|
||||
|
||||
EGL_MAX_PBUFFER_HEIGHT : constant := 16#302a#;
|
||||
EGL_MAX_PBUFFER_PIXELS : constant := 16#302b#;
|
||||
EGL_MAX_PBUFFER_WIDTH : constant := 16#302c#;
|
||||
|
||||
EGL_NATIVE_RENDERABLE : constant := 16#302d#;
|
||||
EGL_NATIVE_VISUAL_ID : constant := 16#302e#;
|
||||
EGL_NATIVE_VISUAL_TYPE : constant := 16#302f#;
|
||||
|
||||
EGL_PRESERVED_RESOURCES : constant := 16#3030#;
|
||||
|
||||
EGL_SAMPLES : constant := 16#3031#;
|
||||
EGL_SAMPLE_BUFFERS : constant := 16#3032#;
|
||||
|
||||
EGL_SURFACE_TYPE : constant := 16#3033#;
|
||||
|
||||
EGL_TRANSPARENT_TYPE : constant := 16#3034#;
|
||||
EGL_TRANSPARENT_BLUE_VALUE : constant := 16#3035#;
|
||||
EGL_TRANSPARENT_GREEN_VALUE : constant := 16#3036#;
|
||||
EGL_TRANSPARENT_RED_VALUE : constant := 16#3037#;
|
||||
|
||||
EGL_NONE : constant := 16#3038#;
|
||||
|
||||
EGL_BIND_TO_TEXTURE_RGB : constant := 16#3039#;
|
||||
EGL_BIND_TO_TEXTURE_RGBA : constant := 16#303a#;
|
||||
|
||||
EGL_MIN_SWAP_INTERVAL : constant := 16#303b#;
|
||||
EGL_MAX_SWAP_INTERVAL : constant := 16#303c#;
|
||||
|
||||
EGL_LUMINANCE_SIZE : constant := 16#303d#;
|
||||
EGL_ALPHA_MASK_SIZE : constant := 16#303e#;
|
||||
|
||||
EGL_COLOR_BUFFER_TYPE : constant := 16#303f#;
|
||||
EGL_RENDERABLE_TYPE : constant := 16#3040#;
|
||||
|
||||
EGL_MATCH_NATIVE_PIXMAP : constant := 16#3041#;
|
||||
EGL_CONFORMANT : constant := 16#3042#;
|
||||
|
||||
EGL_SLOW_CONFIG : constant := 16#3050#;
|
||||
EGL_NON_CONFORMANT_CONFIG : constant := 16#3051#;
|
||||
|
||||
EGL_TRANSPARENT_RGB : constant := 16#3052#;
|
||||
EGL_RGB_BUFFER : constant := 16#308e#;
|
||||
EGL_LUMINANCE_BUFFER : constant := 16#308f#;
|
||||
|
||||
EGL_NO_TEXTURE : constant := 16#305c#;
|
||||
EGL_TEXTURE_RGB : constant := 16#305d#;
|
||||
EGL_TEXTURE_RGBA : constant := 16#305e#;
|
||||
EGL_TEXTURE_2D : constant := 16#305f#;
|
||||
|
||||
EGL_PBUFFER_BIT : constant := 16#1#;
|
||||
EGL_PIXMAP_BIT : constant := 16#2#;
|
||||
EGL_WINDOW_BIT : constant := 16#4#;
|
||||
EGL_VG_COLORSPACE_LINEAR_BIT : constant := 16#20#;
|
||||
EGL_VG_ALPHA_FORMAT_PRE_BIT : constant := 16#40#;
|
||||
EGL_MULTISAMPLE_RESOLVE_BOX_BIT : constant := 16#200#;
|
||||
EGL_SWAP_BEHAVIOR_PRESERVED_BIT : constant := 16#400#;
|
||||
|
||||
EGL_OPENGL_ES_BIT : constant := 16#1#;
|
||||
EGL_OPENVG_BIT : constant := 16#2#;
|
||||
EGL_OPENGL_ES2_BIT : constant := 16#4#;
|
||||
EGL_OPENGL_BIT : constant := 16#8#;
|
||||
|
||||
EGL_VENDOR : constant := 16#3053#;
|
||||
EGL_VERSION : constant := 16#3054#;
|
||||
EGL_EXTENSIONS : constant := 16#3055#;
|
||||
EGL_CLIENT_APIS : constant := 16#308d#;
|
||||
|
||||
EGL_HEIGHT : constant := 16#3056#;
|
||||
EGL_WIDTH : constant := 16#3057#;
|
||||
|
||||
EGL_LARGEST_PBUFFER : constant := 16#3058#;
|
||||
|
||||
EGL_TEXTURE_FORMAT : constant := 16#3080#;
|
||||
EGL_TEXTURE_TARGET : constant := 16#3081#;
|
||||
|
||||
EGL_MIPMAP_TEXTURE : constant := 16#3082#;
|
||||
EGL_MIPMAP_LEVEL : constant := 16#3083#;
|
||||
|
||||
EGL_RENDER_BUFFER : constant := 16#3086#;
|
||||
|
||||
EGL_VG_COLORSPACE : constant := 16#3087#;
|
||||
EGL_VG_ALPHA_FORMAT : constant := 16#3088#;
|
||||
|
||||
EGL_HORIZONTAL_RESOLUTION : constant := 16#3090#;
|
||||
EGL_VERTICAL_RESOLUTION : constant := 16#3091#;
|
||||
|
||||
EGL_PIXEL_ASPECT_RATIO : constant := 16#3092#;
|
||||
EGL_SWAP_BEHAVIOR : constant := 16#3093#;
|
||||
EGL_MULTISAMPLE_RESOLVE : constant := 16#3099#;
|
||||
|
||||
EGL_BACK_BUFFER : constant := 16#3084#;
|
||||
EGL_SINGLE_BUFFER : constant := 16#3085#;
|
||||
|
||||
EGL_VG_COLORSPACE_sRGB : constant := 16#3089#;
|
||||
EGL_VG_COLORSPACE_LINEAR : constant := 16#308a#;
|
||||
EGL_VG_ALPHA_FORMAT_NONPRE : constant := 16#308b#;
|
||||
EGL_VG_ALPHA_FORMAT_PRE : constant := 16#308c#;
|
||||
|
||||
EGL_DISPLAY_SCALING : constant := 10000;
|
||||
|
||||
EGL_BUFFER_PRESERVED : constant := 16#3094#;
|
||||
EGL_BUFFER_DESTROYED : constant := 16#3095#;
|
||||
|
||||
EGL_OPENVG_IMAGE : constant := 16#3096#;
|
||||
|
||||
EGL_CONTEXT_CLIENT_TYPE : constant := 16#3097#;
|
||||
EGL_CONTEXT_CLIENT_VERSION : constant := 16#3098#;
|
||||
|
||||
EGL_MULTISAMPLE_RESOLVE_DEFAULT : constant := 16#309a#;
|
||||
EGL_MULTISAMPLE_RESOLVE_BOX : constant := 16#309b#;
|
||||
|
||||
EGL_OPENGL_ES_API : constant := 16#30a0#;
|
||||
EGL_OPENVG_API : constant := 16#30a1#;
|
||||
EGL_OPENGL_API : constant := 16#30a2#;
|
||||
|
||||
EGL_DRAW : constant := 16#3059#;
|
||||
EGL_READ : constant := 16#305a#;
|
||||
|
||||
EGL_CORE_NATIVE_ENGINE : constant := 16#305b#;
|
||||
|
||||
EGL_COLORSPACE : constant := 16#3087#;
|
||||
EGL_ALPHA_FORMAT : constant := 16#3088#;
|
||||
EGL_COLORSPACE_sRGB : constant := 16#3089#;
|
||||
EGL_COLORSPACE_LINEAR : constant := 16#308a#;
|
||||
EGL_ALPHA_FORMAT_NONPRE : constant := 16#308b#;
|
||||
EGL_ALPHA_FORMAT_PRE : constant := 16#308c#;
|
||||
|
||||
end eGL;
|
||||
Reference in New Issue
Block a user