JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
EGL.java
Go to the documentation of this file.
1/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/opengl/GLEmitter.java on Sat Jul 12 19:19:36 CEST 2025 ----! */
2/* !---- Java-Unit: [pkg com.jogamp.opengl.egl, cls EGL], ../build/jogl/gensrc/classes/com/jogamp/opengl/egl/EGL.java ----! */
3
4package com.jogamp.opengl.egl;
5
6import java.util.*;
7import com.jogamp.opengl.*;
8import com.jogamp.opengl.fixedfunc.*;
9import jogamp.opengl.*;
10import com.jogamp.gluegen.runtime.opengl.GLProcAddressResolver;
11import com.jogamp.gluegen.runtime.*;
12import com.jogamp.common.os.*;
13import com.jogamp.common.nio.*;
14import java.nio.*;
15import com.jogamp.common.util.*;
16import java.util.Set;
17import java.util.Map;
18import java.util.HashMap;
19import java.nio.charset.Charset;
20import java.nio.charset.StandardCharsets;
21
22public class EGL {
23
24 /** Defined as part of enum type "khronos_boolean_enum_t" with expression '<code>0</code>', CType: int */
25 public static final int KHRONOS_FALSE = 0x0;
26 /** Defined as part of enum type "khronos_boolean_enum_t" with expression '<code>1</code>', CType: int */
27 public static final int KHRONOS_TRUE = 0x1;
28 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_cubemap_image</code><br>Alias for: <code>EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR</code><br>
29Define "EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y" with expression '<code>0x30B6</code>', CType: int */
30 public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x30b6;
31 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_cubemap_image</code><br>Alias for: <code>EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR</code><br>
32Define "EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X" with expression '<code>0x30B4</code>', CType: int */
33 public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x30b4;
34 /** <code>EGL_VERSION_1_4</code><br>Define "EGL_MULTISAMPLE_RESOLVE_DEFAULT" with expression '<code>0x309A</code>', CType: int */
35 public static final int EGL_MULTISAMPLE_RESOLVE_DEFAULT = 0x309a;
36 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_cubemap_image</code><br>Alias for: <code>EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR</code><br>
37Define "EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z" with expression '<code>0x30B8</code>', CType: int */
38 public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x30b8;
39 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_colorspace</code><br>Alias for: <code>EGL_GL_COLORSPACE_KHR</code><br>
40Define "EGL_GL_COLORSPACE" with expression '<code>0x309D</code>', CType: int */
41 public static final int EGL_GL_COLORSPACE = 0x309d;
42 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_CURRENT_SURFACE" with expression '<code>0x3007</code>', CType: int */
43 public static final int EGL_BAD_CURRENT_SURFACE = 0x3007;
44 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_BIND_TO_TEXTURE_RGB" with expression '<code>0x3039</code>', CType: int */
45 public static final int EGL_BIND_TO_TEXTURE_RGB = 0x3039;
46 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_TEXTURE_FORMAT" with expression '<code>0x3080</code>', CType: int */
47 public static final int EGL_TEXTURE_FORMAT = 0x3080;
48 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_COLOR_BUFFER_TYPE" with expression '<code>0x303F</code>', CType: int */
49 public static final int EGL_COLOR_BUFFER_TYPE = 0x303f;
50 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_ALPHA_FORMAT_NONPRE" with expression '<code>0x308B</code>', CType: int */
51 public static final int EGL_ALPHA_FORMAT_NONPRE = 0x308b;
52 /** <code>EGL_VERSION_1_4</code><br>Define "EGL_MULTISAMPLE_RESOLVE_BOX" with expression '<code>0x309B</code>', CType: int */
53 public static final int EGL_MULTISAMPLE_RESOLVE_BOX = 0x309b;
54 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_SURFACE_TYPE" with expression '<code>0x3033</code>', CType: int */
55 public static final int EGL_SURFACE_TYPE = 0x3033;
56 /** <code>EGL_VERSION_1_5</code><br>Define "EGL_CONTEXT_OPENGL_DEBUG" with expression '<code>0x31B0</code>', CType: int */
57 public static final int EGL_CONTEXT_OPENGL_DEBUG = 0x31b0;
58 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_TRANSPARENT_TYPE" with expression '<code>0x3034</code>', CType: int */
59 public static final int EGL_TRANSPARENT_TYPE = 0x3034;
60 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_BACK_BUFFER" with expression '<code>0x3084</code>', CType: int */
61 public static final int EGL_BACK_BUFFER = 0x3084;
62 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_LUMINANCE_SIZE" with expression '<code>0x303D</code>', CType: int */
63 public static final int EGL_LUMINANCE_SIZE = 0x303d;
64 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_MIN_SWAP_INTERVAL" with expression '<code>0x303B</code>', CType: int */
65 public static final int EGL_MIN_SWAP_INTERVAL = 0x303b;
66 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_CONTEXT_LOST" with expression '<code>0x300E</code>', CType: int */
67 public static final int EGL_CONTEXT_LOST = 0x300e;
68 /** <code>EGL_VERSION_1_3</code><br>Define "EGL_VG_ALPHA_FORMAT" with expression '<code>0x3088</code>', CType: int */
69 public static final int EGL_VG_ALPHA_FORMAT = 0x3088;
70 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_cl_event</code><br>Alias for: <code>EGL_SYNC_CL_EVENT_COMPLETE_KHR</code><br>
71Define "EGL_SYNC_CL_EVENT_COMPLETE" with expression '<code>0x30FF</code>', CType: int */
72 public static final int EGL_SYNC_CL_EVENT_COMPLETE = 0x30ff;
73 /** <code>EGL_VERSION_1_3</code><br>Define "EGL_VG_ALPHA_FORMAT_NONPRE" with expression '<code>0x308B</code>', CType: int */
74 public static final int EGL_VG_ALPHA_FORMAT_NONPRE = 0x308b;
75 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_SAMPLE_BUFFERS" with expression '<code>0x3032</code>', CType: int */
76 public static final int EGL_SAMPLE_BUFFERS = 0x3032;
77 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_TRANSPARENT_BLUE_VALUE" with expression '<code>0x3035</code>', CType: int */
78 public static final int EGL_TRANSPARENT_BLUE_VALUE = 0x3035;
79 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_ALPHA_MASK_SIZE" with expression '<code>0x303E</code>', CType: int */
80 public static final int EGL_ALPHA_MASK_SIZE = 0x303e;
81 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_create_context</code>, <code>EGL_EXT_create_context_robustness</code><br>Alias for: <code>EGL_NO_RESET_NOTIFICATION_KHR</code>, <code>EGL_NO_RESET_NOTIFICATION_EXT</code><br>
82Define "EGL_NO_RESET_NOTIFICATION" with expression '<code>0x31BE</code>', CType: int */
83 public static final int EGL_NO_RESET_NOTIFICATION = 0x31be;
84 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_renderbuffer_image</code><br>Alias for: <code>EGL_GL_RENDERBUFFER_KHR</code><br>
85Define "EGL_GL_RENDERBUFFER" with expression '<code>0x30B9</code>', CType: int */
86 public static final int EGL_GL_RENDERBUFFER = 0x30b9;
87 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_cl_event</code><br>Alias for: <code>EGL_SYNC_CL_EVENT_KHR</code><br>
88Define "EGL_SYNC_CL_EVENT" with expression '<code>0x30FE</code>', CType: int */
89 public static final int EGL_SYNC_CL_EVENT = 0x30fe;
90 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_TRANSPARENT_RGB" with expression '<code>0x3052</code>', CType: int */
91 public static final int EGL_TRANSPARENT_RGB = 0x3052;
92 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_WINDOW_BIT" with expression '<code>0x0004</code>', CType: int */
93 public static final int EGL_WINDOW_BIT = 0x4;
94 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_ALPHA_FORMAT" with expression '<code>0x3088</code>', CType: int */
95 public static final int EGL_ALPHA_FORMAT = 0x3088;
96 /** <code>EGL_VERSION_1_3</code><br>Define "EGL_OPENGL_ES2_BIT" with expression '<code>0x0004</code>', CType: int */
97 public static final int EGL_OPENGL_ES2_BIT = 0x4;
98 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_DISPLAY" with expression '<code>0x3008</code>', CType: int */
99 public static final int EGL_BAD_DISPLAY = 0x3008;
100 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_PARAMETER" with expression '<code>0x300C</code>', CType: int */
101 public static final int EGL_BAD_PARAMETER = 0x300c;
102 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_CONTEXT" with expression '<code>0x3006</code>', CType: int */
103 public static final int EGL_BAD_CONTEXT = 0x3006;
104 /** <code>EGL_VERSION_1_5</code><br>Define "EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE" with expression '<code>0x31B1</code>', CType: int */
105 public static final int EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE = 0x31b1;
106 /** <code>EGL_VERSION_1_4</code><br>Define "EGL_MULTISAMPLE_RESOLVE" with expression '<code>0x3099</code>', CType: int */
107 public static final int EGL_MULTISAMPLE_RESOLVE = 0x3099;
108 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_SLOW_CONFIG" with expression '<code>0x3050</code>', CType: int */
109 public static final int EGL_SLOW_CONFIG = 0x3050;
110 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_FALSE" with expression '<code>0</code>', CType: int */
111 public static final int EGL_FALSE = 0x0;
112 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_SINGLE_BUFFER" with expression '<code>0x3085</code>', CType: int */
113 public static final int EGL_SINGLE_BUFFER = 0x3085;
114 /** <code>EGL_VERSION_1_4</code><br>Define "EGL_MULTISAMPLE_RESOLVE_BOX_BIT" with expression '<code>0x0200</code>', CType: int */
115 public static final int EGL_MULTISAMPLE_RESOLVE_BOX_BIT = 0x200;
116 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_COLORSPACE_LINEAR" with expression '<code>0x308A</code>', CType: int */
117 public static final int EGL_COLORSPACE_LINEAR = 0x308a;
118 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_EXTENSIONS" with expression '<code>0x3055</code>', CType: int */
119 public static final int EGL_EXTENSIONS = 0x3055;
120 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_ALPHA_FORMAT_PRE" with expression '<code>0x308C</code>', CType: int */
121 public static final int EGL_ALPHA_FORMAT_PRE = 0x308c;
122 /** <code>EGL_VERSION_1_3</code>, <code>EGL_KHR_config_attribs</code><br>Alias for: <code>EGL_CONFORMANT_KHR</code><br>
123Define "EGL_CONFORMANT" with expression '<code>0x3042</code>', CType: int */
124 public static final int EGL_CONFORMANT = 0x3042;
125 /** <code>EGL_VERSION_1_5</code>, <code>EGL_NV_sync</code>, <code>EGL_KHR_reusable_sync</code><br>Alias for: <code>EGL_SIGNALED_NV</code>, <code>EGL_SIGNALED_KHR</code><br>
126Define "EGL_SIGNALED" with expression '<code>0x30F2</code>', CType: int */
127 public static final int EGL_SIGNALED = 0x30f2;
128 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_SAMPLES" with expression '<code>0x3031</code>', CType: int */
129 public static final int EGL_SAMPLES = 0x3031;
130 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_LUMINANCE_BUFFER" with expression '<code>0x308F</code>', CType: int */
131 public static final int EGL_LUMINANCE_BUFFER = 0x308f;
132 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_create_context</code>, <code>EGL_EXT_create_context_robustness</code><br>Alias for: <code>EGL_LOSE_CONTEXT_ON_RESET_KHR</code>, <code>EGL_LOSE_CONTEXT_ON_RESET_EXT</code><br>
133Define "EGL_LOSE_CONTEXT_ON_RESET" with expression '<code>0x31BF</code>', CType: int */
134 public static final int EGL_LOSE_CONTEXT_ON_RESET = 0x31bf;
135 /** <code>EGL_VERSION_1_3</code>, <code>EGL_KHR_config_attribs</code><br>Alias for: <code>EGL_VG_COLORSPACE_LINEAR_BIT_KHR</code><br>
136Define "EGL_VG_COLORSPACE_LINEAR_BIT" with expression '<code>0x0020</code>', CType: int */
137 public static final int EGL_VG_COLORSPACE_LINEAR_BIT = 0x20;
138 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_cubemap_image</code><br>Alias for: <code>EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR</code><br>
139Define "EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X" with expression '<code>0x30B3</code>', CType: int */
140 public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x30b3;
141 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_cubemap_image</code><br>Alias for: <code>EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR</code><br>
142Define "EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y" with expression '<code>0x30B5</code>', CType: int */
143 public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x30b5;
144 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_DEPTH_SIZE" with expression '<code>0x3025</code>', CType: int */
145 public static final int EGL_DEPTH_SIZE = 0x3025;
146 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_MAX_PBUFFER_HEIGHT" with expression '<code>0x302A</code>', CType: int */
147 public static final int EGL_MAX_PBUFFER_HEIGHT = 0x302a;
148 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_CONFIG" with expression '<code>0x3005</code>', CType: int */
149 public static final int EGL_BAD_CONFIG = 0x3005;
150 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_cubemap_image</code><br>Alias for: <code>EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR</code><br>
151Define "EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z" with expression '<code>0x30B7</code>', CType: int */
152 public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x30b7;
153 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_3D_image</code><br>Alias for: <code>EGL_GL_TEXTURE_ZOFFSET_KHR</code><br>
154Define "EGL_GL_TEXTURE_ZOFFSET" with expression '<code>0x30BD</code>', CType: int */
155 public static final int EGL_GL_TEXTURE_ZOFFSET = 0x30bd;
156 /** <code>EGL_VERSION_1_3</code><br>Define "EGL_CONTEXT_CLIENT_VERSION" with expression '<code>0x3098</code>', CType: int */
157 public static final int EGL_CONTEXT_CLIENT_VERSION = 0x3098;
158 /** <code>EGL_VERSION_1_4</code><br>Define "EGL_SWAP_BEHAVIOR_PRESERVED_BIT" with expression '<code>0x0400</code>', CType: int */
159 public static final int EGL_SWAP_BEHAVIOR_PRESERVED_BIT = 0x400;
160 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_SWAP_BEHAVIOR" with expression '<code>0x3093</code>', CType: int */
161 public static final int EGL_SWAP_BEHAVIOR = 0x3093;
162 /** <code>EGL_VERSION_1_5</code>, <code>EGL_NV_sync</code>, <code>EGL_KHR_reusable_sync</code><br>Alias for: <code>EGL_CONDITION_SATISFIED_NV</code>, <code>EGL_CONDITION_SATISFIED_KHR</code><br>
163Define "EGL_CONDITION_SATISFIED" with expression '<code>0x30F6</code>', CType: int */
164 public static final int EGL_CONDITION_SATISFIED = 0x30f6;
165 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_MIPMAP_TEXTURE" with expression '<code>0x3082</code>', CType: int */
166 public static final int EGL_MIPMAP_TEXTURE = 0x3082;
167 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_WIDTH" with expression '<code>0x3057</code>', CType: int */
168 public static final int EGL_WIDTH = 0x3057;
169 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_cl_event</code><br>Alias for: <code>EGL_CL_EVENT_HANDLE_KHR</code><br>
170Define "EGL_CL_EVENT_HANDLE" with expression '<code>0x309C</code>', CType: int */
171 public static final int EGL_CL_EVENT_HANDLE = 0x309c;
172 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_READ" with expression '<code>0x305A</code>', CType: int */
173 public static final int EGL_READ = 0x305a;
174 /** <code>EGL_VERSION_1_5</code>, <code>EGL_NV_sync</code>, <code>EGL_KHR_reusable_sync</code><br>Alias for: <code>EGL_SYNC_TYPE_NV</code>, <code>EGL_SYNC_TYPE_KHR</code><br>
175Define "EGL_SYNC_TYPE" with expression '<code>0x30F7</code>', CType: int */
176 public static final int EGL_SYNC_TYPE = 0x30f7;
177 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_RENDER_BUFFER" with expression '<code>0x3086</code>', CType: int */
178 public static final int EGL_RENDER_BUFFER = 0x3086;
179 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_TRUE" with expression '<code>1</code>', CType: int */
180 public static final int EGL_TRUE = 0x1;
181 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_BUFFER_PRESERVED" with expression '<code>0x3094</code>', CType: int */
182 public static final int EGL_BUFFER_PRESERVED = 0x3094;
183 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_create_context</code><br>Alias for: <code>EGL_OPENGL_ES3_BIT_KHR</code><br>
184Define "EGL_OPENGL_ES3_BIT" with expression '<code>0x00000040</code>', CType: int */
185 public static final int EGL_OPENGL_ES3_BIT = 0x40;
186 /** <code>EGL_VERSION_1_3</code><br>Define "EGL_MATCH_NATIVE_PIXMAP" with expression '<code>0x3041</code>', CType: int */
187 public static final int EGL_MATCH_NATIVE_PIXMAP = 0x3041;
188 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_BUFFER_DESTROYED" with expression '<code>0x3095</code>', CType: int */
189 public static final int EGL_BUFFER_DESTROYED = 0x3095;
190 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_colorspace</code><br>Alias for: <code>EGL_GL_COLORSPACE_LINEAR_KHR</code><br>
191Define "EGL_GL_COLORSPACE_LINEAR" with expression '<code>0x308A</code>', CType: int */
192 public static final int EGL_GL_COLORSPACE_LINEAR = 0x308a;
193 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_COLORSPACE" with expression '<code>0x3087</code>', CType: int */
194 public static final int EGL_COLORSPACE = 0x3087;
195 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_PBUFFER_BIT" with expression '<code>0x0001</code>', CType: int */
196 public static final int EGL_PBUFFER_BIT = 0x1;
197 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_LEVEL" with expression '<code>0x3029</code>', CType: int */
198 public static final int EGL_LEVEL = 0x3029;
199 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_reusable_sync</code>, <code>EGL_NV_sync</code><br>Alias for: <code>EGL_UNSIGNALED_KHR</code>, <code>EGL_UNSIGNALED_NV</code><br>
200Define "EGL_UNSIGNALED" with expression '<code>0x30F3</code>', CType: int */
201 public static final int EGL_UNSIGNALED = 0x30f3;
202 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_create_context</code><br>Alias for: <code>EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR</code><br>
203Define "EGL_CONTEXT_OPENGL_PROFILE_MASK" with expression '<code>0x30FD</code>', CType: int */
204 public static final int EGL_CONTEXT_OPENGL_PROFILE_MASK = 0x30fd;
205 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_STENCIL_SIZE" with expression '<code>0x3026</code>', CType: int */
206 public static final int EGL_STENCIL_SIZE = 0x3026;
207 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_create_context</code>, <code>EGL_EXT_create_context_robustness</code><br>Alias for: <code>EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR</code>, <code>EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT</code><br>
208Define "EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY" with expression '<code>0x31BD</code>', CType: int */
209 public static final int EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY = 0x31bd;
210 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_GREEN_SIZE" with expression '<code>0x3023</code>', CType: int */
211 public static final int EGL_GREEN_SIZE = 0x3023;
212 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_TEXTURE_2D" with expression '<code>0x305F</code>', CType: int */
213 public static final int EGL_TEXTURE_2D = 0x305f;
214 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_ACCESS" with expression '<code>0x3002</code>', CType: int */
215 public static final int EGL_BAD_ACCESS = 0x3002;
216 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_DISPLAY_SCALING" with expression '<code>10000</code>', CType: int */
217 public static final int EGL_DISPLAY_SCALING = 0x2710;
218 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_SURFACE" with expression '<code>0x300D</code>', CType: int */
219 public static final int EGL_BAD_SURFACE = 0x300d;
220 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_MIPMAP_LEVEL" with expression '<code>0x3083</code>', CType: int */
221 public static final int EGL_MIPMAP_LEVEL = 0x3083;
222 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BLUE_SIZE" with expression '<code>0x3022</code>', CType: int */
223 public static final int EGL_BLUE_SIZE = 0x3022;
224 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_ATTRIBUTE" with expression '<code>0x3004</code>', CType: int */
225 public static final int EGL_BAD_ATTRIBUTE = 0x3004;
226 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_create_context</code><br>Alias for: <code>EGL_CONTEXT_MAJOR_VERSION_KHR</code><br>
227Define "EGL_CONTEXT_MAJOR_VERSION" with expression '<code>0x3098</code>', CType: int */
228 public static final int EGL_CONTEXT_MAJOR_VERSION = 0x3098;
229 /** <code>EGL_VERSION_1_5</code>, <code>EGL_NV_sync</code>, <code>EGL_KHR_reusable_sync</code><br>Alias for: <code>EGL_SYNC_STATUS_NV</code>, <code>EGL_SYNC_STATUS_KHR</code><br>
230Define "EGL_SYNC_STATUS" with expression '<code>0x30F1</code>', CType: int */
231 public static final int EGL_SYNC_STATUS = 0x30f1;
232 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_OPENGL_ES_API" with expression '<code>0x30A0</code>', CType: int */
233 public static final int EGL_OPENGL_ES_API = 0x30a0;
234 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_CONTEXT_CLIENT_TYPE" with expression '<code>0x3097</code>', CType: int */
235 public static final int EGL_CONTEXT_CLIENT_TYPE = 0x3097;
236 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_NATIVE_PIXMAP" with expression '<code>0x300A</code>', CType: int */
237 public static final int EGL_BAD_NATIVE_PIXMAP = 0x300a;
238 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_reusable_sync</code>, <code>EGL_NV_sync</code><br>Alias for: <code>EGL_TIMEOUT_EXPIRED_KHR</code>, <code>EGL_TIMEOUT_EXPIRED_NV</code><br>
239Define "EGL_TIMEOUT_EXPIRED" with expression '<code>0x30F5</code>', CType: int */
240 public static final int EGL_TIMEOUT_EXPIRED = 0x30f5;
241 /** <code>EGL_VERSION_1_5</code>, <code>EGL_NV_sync</code>, <code>EGL_KHR_reusable_sync</code><br>Alias for: <code>EGL_SYNC_FLUSH_COMMANDS_BIT_NV</code>, <code>EGL_SYNC_FLUSH_COMMANDS_BIT_KHR</code><br>
242Define "EGL_SYNC_FLUSH_COMMANDS_BIT" with expression '<code>0x0001</code>', CType: int */
243 public static final int EGL_SYNC_FLUSH_COMMANDS_BIT = 0x1;
244 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_colorspace</code><br>Alias for: <code>EGL_GL_COLORSPACE_SRGB_KHR</code><br>
245Define "EGL_GL_COLORSPACE_SRGB" with expression '<code>0x3089</code>', CType: int */
246 public static final int EGL_GL_COLORSPACE_SRGB = 0x3089;
247 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_VERTICAL_RESOLUTION" with expression '<code>0x3091</code>', CType: int */
248 public static final int EGL_VERTICAL_RESOLUTION = 0x3091;
249 /** <code>EGL_VERSION_1_3</code><br>Define "EGL_VG_COLORSPACE" with expression '<code>0x3087</code>', CType: int */
250 public static final int EGL_VG_COLORSPACE = 0x3087;
251 /** <code>EGL_VERSION_1_3</code><br>Define "EGL_VG_COLORSPACE_LINEAR" with expression '<code>0x308A</code>', CType: int */
252 public static final int EGL_VG_COLORSPACE_LINEAR = 0x308a;
253 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_CONFIG_CAVEAT" with expression '<code>0x3027</code>', CType: int */
254 public static final int EGL_CONFIG_CAVEAT = 0x3027;
255 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_PIXEL_ASPECT_RATIO" with expression '<code>0x3092</code>', CType: int */
256 public static final int EGL_PIXEL_ASPECT_RATIO = 0x3092;
257 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_create_context</code><br>Alias for: <code>EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR</code><br>
258Define "EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT" with expression '<code>0x00000001</code>', CType: int */
259 public static final int EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT = 0x1;
260 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_TEXTURE_TARGET" with expression '<code>0x3081</code>', CType: int */
261 public static final int EGL_TEXTURE_TARGET = 0x3081;
262 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_CLIENT_APIS" with expression '<code>0x308D</code>', CType: int */
263 public static final int EGL_CLIENT_APIS = 0x308d;
264 /** <code>EGL_VERSION_1_3</code><br>Define "EGL_VG_ALPHA_FORMAT_PRE" with expression '<code>0x308C</code>', CType: int */
265 public static final int EGL_VG_ALPHA_FORMAT_PRE = 0x308c;
266 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_BIND_TO_TEXTURE_RGBA" with expression '<code>0x303A</code>', CType: int */
267 public static final int EGL_BIND_TO_TEXTURE_RGBA = 0x303a;
268 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_NATIVE_VISUAL_TYPE" with expression '<code>0x302F</code>', CType: int */
269 public static final int EGL_NATIVE_VISUAL_TYPE = 0x302f;
270 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_MATCH" with expression '<code>0x3009</code>', CType: int */
271 public static final int EGL_BAD_MATCH = 0x3009;
272 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_NON_CONFORMANT_CONFIG" with expression '<code>0x3051</code>', CType: int */
273 public static final int EGL_NON_CONFORMANT_CONFIG = 0x3051;
274 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_TEXTURE_RGB" with expression '<code>0x305D</code>', CType: int */
275 public static final int EGL_TEXTURE_RGB = 0x305d;
276 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_RGB_BUFFER" with expression '<code>0x308E</code>', CType: int */
277 public static final int EGL_RGB_BUFFER = 0x308e;
278 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_create_context</code><br>Alias for: <code>EGL_CONTEXT_MINOR_VERSION_KHR</code><br>
279Define "EGL_CONTEXT_MINOR_VERSION" with expression '<code>0x30FB</code>', CType: int */
280 public static final int EGL_CONTEXT_MINOR_VERSION = 0x30fb;
281 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_HORIZONTAL_RESOLUTION" with expression '<code>0x3090</code>', CType: int */
282 public static final int EGL_HORIZONTAL_RESOLUTION = 0x3090;
283 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_fence_sync</code>, <code>EGL_NV_sync</code><br>Alias for: <code>EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR</code>, <code>EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV</code><br>
284Define "EGL_SYNC_PRIOR_COMMANDS_COMPLETE" with expression '<code>0x30F0</code>', CType: int */
285 public static final int EGL_SYNC_PRIOR_COMMANDS_COMPLETE = 0x30f0;
286 /** <code>EGL_VERSION_1_5</code>, <code>EGL_NV_sync</code>, <code>EGL_KHR_fence_sync</code><br>Alias for: <code>EGL_SYNC_FENCE_NV</code>, <code>EGL_SYNC_FENCE_KHR</code><br>
287Define "EGL_SYNC_FENCE" with expression '<code>0x30F9</code>', CType: int */
288 public static final int EGL_SYNC_FENCE = 0x30f9;
289 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_ALLOC" with expression '<code>0x3003</code>', CType: int */
290 public static final int EGL_BAD_ALLOC = 0x3003;
291 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_OPENGL_ES_BIT" with expression '<code>0x0001</code>', CType: int */
292 public static final int EGL_OPENGL_ES_BIT = 0x1;
293 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_NATIVE_VISUAL_ID" with expression '<code>0x302E</code>', CType: int */
294 public static final int EGL_NATIVE_VISUAL_ID = 0x302e;
295 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_MAX_PBUFFER_PIXELS" with expression '<code>0x302B</code>', CType: int */
296 public static final int EGL_MAX_PBUFFER_PIXELS = 0x302b;
297 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_MAX_SWAP_INTERVAL" with expression '<code>0x303C</code>', CType: int */
298 public static final int EGL_MAX_SWAP_INTERVAL = 0x303c;
299 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BUFFER_SIZE" with expression '<code>0x3020</code>', CType: int */
300 public static final int EGL_BUFFER_SIZE = 0x3020;
301 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_NATIVE_RENDERABLE" with expression '<code>0x302D</code>', CType: int */
302 public static final int EGL_NATIVE_RENDERABLE = 0x302d;
303 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_VERSION" with expression '<code>0x3054</code>', CType: int */
304 public static final int EGL_VERSION = 0x3054;
305 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_CONFIG_ID" with expression '<code>0x3028</code>', CType: int */
306 public static final int EGL_CONFIG_ID = 0x3028;
307 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_LARGEST_PBUFFER" with expression '<code>0x3058</code>', CType: int */
308 public static final int EGL_LARGEST_PBUFFER = 0x3058;
309 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_TRANSPARENT_GREEN_VALUE" with expression '<code>0x3036</code>', CType: int */
310 public static final int EGL_TRANSPARENT_GREEN_VALUE = 0x3036;
311 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_MAX_PBUFFER_WIDTH" with expression '<code>0x302C</code>', CType: int */
312 public static final int EGL_MAX_PBUFFER_WIDTH = 0x302c;
313 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_HEIGHT" with expression '<code>0x3056</code>', CType: int */
314 public static final int EGL_HEIGHT = 0x3056;
315 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_TRANSPARENT_RED_VALUE" with expression '<code>0x3037</code>', CType: int */
316 public static final int EGL_TRANSPARENT_RED_VALUE = 0x3037;
317 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_TEXTURE_RGBA" with expression '<code>0x305E</code>', CType: int */
318 public static final int EGL_TEXTURE_RGBA = 0x305e;
319 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_ALPHA_SIZE" with expression '<code>0x3021</code>', CType: int */
320 public static final int EGL_ALPHA_SIZE = 0x3021;
321 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_fence_sync</code>, <code>EGL_NV_sync</code><br>Alias for: <code>EGL_SYNC_CONDITION_KHR</code>, <code>EGL_SYNC_CONDITION_NV</code><br>
322Define "EGL_SYNC_CONDITION" with expression '<code>0x30F8</code>', CType: int */
323 public static final int EGL_SYNC_CONDITION = 0x30f8;
324 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_image_base</code><br>Alias for: <code>EGL_IMAGE_PRESERVED_KHR</code><br>
325Define "EGL_IMAGE_PRESERVED" with expression '<code>0x30D2</code>', CType: int */
326 public static final int EGL_IMAGE_PRESERVED = 0x30d2;
327 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_2D_image</code><br>Alias for: <code>EGL_GL_TEXTURE_2D_KHR</code><br>
328Define "EGL_GL_TEXTURE_2D" with expression '<code>0x30B1</code>', CType: int */
329 public static final int EGL_GL_TEXTURE_2D = 0x30b1;
330 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_BAD_NATIVE_WINDOW" with expression '<code>0x300B</code>', CType: int */
331 public static final int EGL_BAD_NATIVE_WINDOW = 0x300b;
332 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_PIXMAP_BIT" with expression '<code>0x0002</code>', CType: int */
333 public static final int EGL_PIXMAP_BIT = 0x2;
334 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_COLORSPACE_sRGB" with expression '<code>0x3089</code>', CType: int */
335 public static final int EGL_COLORSPACE_sRGB = 0x3089;
336 /** <code>EGL_VERSION_1_3</code>, <code>EGL_KHR_config_attribs</code><br>Alias for: <code>EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR</code><br>
337Define "EGL_VG_ALPHA_FORMAT_PRE_BIT" with expression '<code>0x0040</code>', CType: int */
338 public static final int EGL_VG_ALPHA_FORMAT_PRE_BIT = 0x40;
339 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_OPENVG_API" with expression '<code>0x30A1</code>', CType: int */
340 public static final int EGL_OPENVG_API = 0x30a1;
341 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_NOT_INITIALIZED" with expression '<code>0x3001</code>', CType: int */
342 public static final int EGL_NOT_INITIALIZED = 0x3001;
343 /** <code>EGL_VERSION_1_3</code><br>Define "EGL_VG_COLORSPACE_sRGB" with expression '<code>0x3089</code>', CType: int */
344 public static final int EGL_VG_COLORSPACE_sRGB = 0x3089;
345 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_RED_SIZE" with expression '<code>0x3024</code>', CType: int */
346 public static final int EGL_RED_SIZE = 0x3024;
347 /** <code>EGL_VERSION_1_1</code><br>Define "EGL_NO_TEXTURE" with expression '<code>0x305C</code>', CType: int */
348 public static final int EGL_NO_TEXTURE = 0x305c;
349 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_create_context</code><br>Alias for: <code>EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR</code><br>
350Define "EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT" with expression '<code>0x00000002</code>', CType: int */
351 public static final int EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT = 0x2;
352 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_OPENVG_BIT" with expression '<code>0x0002</code>', CType: int */
353 public static final int EGL_OPENVG_BIT = 0x2;
354 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_SUCCESS" with expression '<code>0x3000</code>', CType: int */
355 public static final int EGL_SUCCESS = 0x3000;
356 /** <code>EGL_VERSION_1_5</code>, <code>EGL_EXT_create_context_robustness</code><br>Alias for: <code>EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT</code><br>
357Define "EGL_CONTEXT_OPENGL_ROBUST_ACCESS" with expression '<code>0x31B2</code>', CType: int */
358 public static final int EGL_CONTEXT_OPENGL_ROBUST_ACCESS = 0x31b2;
359 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_DRAW" with expression '<code>0x3059</code>', CType: int */
360 public static final int EGL_DRAW = 0x3059;
361 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_CORE_NATIVE_ENGINE" with expression '<code>0x305B</code>', CType: int */
362 public static final int EGL_CORE_NATIVE_ENGINE = 0x305b;
363 /** <code>EGL_VERSION_1_4</code><br>Define "EGL_OPENGL_BIT" with expression '<code>0x0008</code>', CType: int */
364 public static final int EGL_OPENGL_BIT = 0x8;
365 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_3D_image</code><br>Alias for: <code>EGL_GL_TEXTURE_3D_KHR</code><br>
366Define "EGL_GL_TEXTURE_3D" with expression '<code>0x30B2</code>', CType: int */
367 public static final int EGL_GL_TEXTURE_3D = 0x30b2;
368 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_NONE" with expression '<code>0x3038</code>', CType: int */
369 public static final int EGL_NONE = 0x3038;
370 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_OPENVG_IMAGE" with expression '<code>0x3096</code>', CType: int */
371 public static final int EGL_OPENVG_IMAGE = 0x3096;
372 /** <code>EGL_VERSION_1_2</code><br>Define "EGL_RENDERABLE_TYPE" with expression '<code>0x3040</code>', CType: int */
373 public static final int EGL_RENDERABLE_TYPE = 0x3040;
374 /** <code>EGL_VERSION_1_0</code><br>Define "EGL_VENDOR" with expression '<code>0x3053</code>', CType: int */
375 public static final int EGL_VENDOR = 0x3053;
376 /** <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_gl_texture_2D_image</code><br>Alias for: <code>EGL_GL_TEXTURE_LEVEL_KHR</code><br>
377Define "EGL_GL_TEXTURE_LEVEL" with expression '<code>0x30BC</code>', CType: int */
378 public static final int EGL_GL_TEXTURE_LEVEL = 0x30bc;
379 /** <code>EGL_VERSION_1_4</code><br>Define "EGL_OPENGL_API" with expression '<code>0x30A2</code>', CType: int */
380 public static final int EGL_OPENGL_API = 0x30a2;
381
382 /** Entry point to C language function: <code> EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint * attrib_list, EGLConfig * configs, EGLint config_size, EGLint * num_config) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
383 @param attrib_list a direct only {@link java.nio.IntBuffer}
384 @param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
385 @param num_config a direct only {@link java.nio.IntBuffer} */
386 public static boolean eglChooseConfig(long dpy, IntBuffer attrib_list, PointerBuffer configs, int config_size, IntBuffer num_config) {
387
388 if (!Buffers.isDirect(attrib_list))
389 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
390 if (!Buffers.isDirect(configs))
391 throw new RuntimeException("Argument \"configs\" is not a direct buffer");
392 if (!Buffers.isDirect(num_config))
393 throw new RuntimeException("Argument \"num_config\" is not a direct buffer");
394 final long __addr_ = _table._addressof_eglChooseConfig;
395 if (__addr_ == 0) {
396 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglChooseConfig"));
397 }
398 return dispatch_eglChooseConfig0(dpy, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), configs != null ? configs.getBuffer() : null, Buffers.getDirectBufferByteOffset(configs), config_size, num_config, Buffers.getDirectBufferByteOffset(num_config), __addr_);
399 }
400
401 /** Entry point to C language function: <code> EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint * attrib_list, EGLConfig * configs, EGLint config_size, EGLint * num_config) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
402 @param attrib_list a direct only {@link java.nio.IntBuffer}
403 @param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
404 @param num_config a direct only {@link java.nio.IntBuffer} */
405 private static native boolean dispatch_eglChooseConfig0(long dpy, Object attrib_list, int attrib_list_byte_offset, Object configs, int configs_byte_offset, int config_size, Object num_config, int num_config_byte_offset, long procAddress);
406
407 /** Entry point to C language function: <code> EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
408 public static boolean eglCopyBuffers(long dpy, long surface, long target) {
409
410 final long __addr_ = _table._addressof_eglCopyBuffers;
411 if (__addr_ == 0) {
412 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCopyBuffers"));
413 }
414 return dispatch_eglCopyBuffers0(dpy, surface, target, __addr_);
415 }
416
417 /** Entry point to C language function: <code> EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
418 static private native boolean dispatch_eglCopyBuffers0(long dpy, long surface, long target, long procAddress);
419
420 /** Entry point to C language function: <code> EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
421 @param attrib_list a direct only {@link java.nio.IntBuffer} */
422 public static long eglCreateContext(long dpy, long config, long share_context, IntBuffer attrib_list) {
423
424 if (!Buffers.isDirect(attrib_list))
425 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
426 final long __addr_ = _table._addressof_eglCreateContext;
427 if (__addr_ == 0) {
428 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreateContext"));
429 }
430 return dispatch_eglCreateContext0(dpy, config, share_context, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
431 }
432
433 /** Entry point to C language function: <code> EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
434 @param attrib_list a direct only {@link java.nio.IntBuffer} */
435 private static native long dispatch_eglCreateContext0(long dpy, long config, long share_context, Object attrib_list, int attrib_list_byte_offset, long procAddress);
436
437 /** Entry point to C language function: <code> EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
438 @param attrib_list a direct only {@link java.nio.IntBuffer} */
439 public static long eglCreatePbufferSurface(long dpy, long config, IntBuffer attrib_list) {
440
441 if (!Buffers.isDirect(attrib_list))
442 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
443 final long __addr_ = _table._addressof_eglCreatePbufferSurface;
444 if (__addr_ == 0) {
445 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePbufferSurface"));
446 }
447 return dispatch_eglCreatePbufferSurface0(dpy, config, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
448 }
449
450 /** Entry point to C language function: <code> EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
451 @param attrib_list a direct only {@link java.nio.IntBuffer} */
452 private static native long dispatch_eglCreatePbufferSurface0(long dpy, long config, Object attrib_list, int attrib_list_byte_offset, long procAddress);
453
454 /** Entry point to C language function: <code> EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_0</code>, <code>EGL_HI_clientpixmap</code><br>Alias for: <code>eglCreatePixmapSurfaceHI</code>
455 @param attrib_list a direct only {@link java.nio.IntBuffer} */
456 public static long eglCreatePixmapSurface(long dpy, long config, long pixmap, IntBuffer attrib_list) {
457
458 if (!Buffers.isDirect(attrib_list))
459 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
460 final long __addr_ = _table._addressof_eglCreatePixmapSurface;
461 if (__addr_ == 0) {
462 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePixmapSurface"));
463 }
464 return dispatch_eglCreatePixmapSurface0(dpy, config, pixmap, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
465 }
466
467 /** Entry point to C language function: <code> EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_0</code>, <code>EGL_HI_clientpixmap</code><br>Alias for: <code>eglCreatePixmapSurfaceHI</code>
468 @param attrib_list a direct only {@link java.nio.IntBuffer} */
469 private static native long dispatch_eglCreatePixmapSurface0(long dpy, long config, long pixmap, Object attrib_list, int attrib_list_byte_offset, long procAddress);
470
471 /** Entry point to C language function: <code> EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
472 @param attrib_list a direct only {@link java.nio.IntBuffer} */
473 public static long eglCreateWindowSurface(long dpy, long config, long win, IntBuffer attrib_list) {
474
475 if (!Buffers.isDirect(attrib_list))
476 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
477 final long __addr_ = _table._addressof_eglCreateWindowSurface;
478 if (__addr_ == 0) {
479 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreateWindowSurface"));
480 }
481 return dispatch_eglCreateWindowSurface0(dpy, config, win, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
482 }
483
484 /** Entry point to C language function: <code> EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
485 @param attrib_list a direct only {@link java.nio.IntBuffer} */
486 private static native long dispatch_eglCreateWindowSurface0(long dpy, long config, long win, Object attrib_list, int attrib_list_byte_offset, long procAddress);
487
488 /** Entry point to C language function: <code> EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
489 public static boolean eglDestroyContext(long dpy, long ctx) {
490
491 final long __addr_ = _table._addressof_eglDestroyContext;
492 if (__addr_ == 0) {
493 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglDestroyContext"));
494 }
495 return dispatch_eglDestroyContext0(dpy, ctx, __addr_);
496 }
497
498 /** Entry point to C language function: <code> EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
499 static private native boolean dispatch_eglDestroyContext0(long dpy, long ctx, long procAddress);
500
501 /** Entry point to C language function: <code> EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
502 public static boolean eglDestroySurface(long dpy, long surface) {
503
504 final long __addr_ = _table._addressof_eglDestroySurface;
505 if (__addr_ == 0) {
506 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglDestroySurface"));
507 }
508 return dispatch_eglDestroySurface0(dpy, surface, __addr_);
509 }
510
511 /** Entry point to C language function: <code> EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
512 static private native boolean dispatch_eglDestroySurface0(long dpy, long surface, long procAddress);
513
514 /** Entry point to C language function: <code> EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
515 @param value a direct only {@link java.nio.IntBuffer} */
516 public static boolean eglGetConfigAttrib(long dpy, long config, int attribute, IntBuffer value) {
517
518 if (!Buffers.isDirect(value))
519 throw new RuntimeException("Argument \"value\" is not a direct buffer");
520 final long __addr_ = _table._addressof_eglGetConfigAttrib;
521 if (__addr_ == 0) {
522 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetConfigAttrib"));
523 }
524 return dispatch_eglGetConfigAttrib0(dpy, config, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
525 }
526
527 /** Entry point to C language function: <code> EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
528 @param value a direct only {@link java.nio.IntBuffer} */
529 private static native boolean dispatch_eglGetConfigAttrib0(long dpy, long config, int attribute, Object value, int value_byte_offset, long procAddress);
530
531 /** Entry point to C language function: <code> EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig * configs, EGLint config_size, EGLint * num_config) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
532 @param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
533 @param num_config a direct only {@link java.nio.IntBuffer} */
534 public static boolean eglGetConfigs(long dpy, PointerBuffer configs, int config_size, IntBuffer num_config) {
535
536 if (!Buffers.isDirect(configs))
537 throw new RuntimeException("Argument \"configs\" is not a direct buffer");
538 if (!Buffers.isDirect(num_config))
539 throw new RuntimeException("Argument \"num_config\" is not a direct buffer");
540 final long __addr_ = _table._addressof_eglGetConfigs;
541 if (__addr_ == 0) {
542 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetConfigs"));
543 }
544 return dispatch_eglGetConfigs0(dpy, configs != null ? configs.getBuffer() : null, Buffers.getDirectBufferByteOffset(configs), config_size, num_config, Buffers.getDirectBufferByteOffset(num_config), __addr_);
545 }
546
547 /** Entry point to C language function: <code> EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig * configs, EGLint config_size, EGLint * num_config) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
548 @param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
549 @param num_config a direct only {@link java.nio.IntBuffer} */
550 private static native boolean dispatch_eglGetConfigs0(long dpy, Object configs, int configs_byte_offset, int config_size, Object num_config, int num_config_byte_offset, long procAddress);
551
552 /** Entry point to C language function: <code> EGLDisplay eglGetCurrentDisplay() </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
553 public static long eglGetCurrentDisplay() {
554
555 final long __addr_ = _table._addressof_eglGetCurrentDisplay;
556 if (__addr_ == 0) {
557 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetCurrentDisplay"));
558 }
559 return dispatch_eglGetCurrentDisplay0(__addr_);
560 }
561
562 /** Entry point to C language function: <code> EGLDisplay eglGetCurrentDisplay() </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
563 static private native long dispatch_eglGetCurrentDisplay0(long procAddress);
564
565 /** Entry point to C language function: <code> EGLSurface eglGetCurrentSurface(EGLint readdraw) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
566 public static long eglGetCurrentSurface(int readdraw) {
567
568 final long __addr_ = _table._addressof_eglGetCurrentSurface;
569 if (__addr_ == 0) {
570 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetCurrentSurface"));
571 }
572 return dispatch_eglGetCurrentSurface0(readdraw, __addr_);
573 }
574
575 /** Entry point to C language function: <code> EGLSurface eglGetCurrentSurface(EGLint readdraw) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
576 static private native long dispatch_eglGetCurrentSurface0(int readdraw, long procAddress);
577
578 /** Entry point to C language function: <code> EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
579 public static long eglGetDisplay(long display_id) {
580
581 final long __addr_ = _table._addressof_eglGetDisplay;
582 if (__addr_ == 0) {
583 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetDisplay"));
584 }
585 return dispatch_eglGetDisplay0(display_id, __addr_);
586 }
587
588 /** Entry point to C language function: <code> EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
589 static private native long dispatch_eglGetDisplay0(long display_id, long procAddress);
590
591 /** Entry point to C language function: <code> EGLint eglGetError() </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
592 public static int eglGetError() {
593
594 final long __addr_ = _table._addressof_eglGetError;
595 if (__addr_ == 0) {
596 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetError"));
597 }
598 return dispatch_eglGetError0(__addr_);
599 }
600
601 /** Entry point to C language function: <code> EGLint eglGetError() </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
602 static private native int dispatch_eglGetError0(long procAddress);
603
604 /** Entry point to C language function: <code> EGLBoolean eglInitialize(EGLDisplay dpy, EGLint * major, EGLint * minor) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
605 @param major a direct only {@link java.nio.IntBuffer}
606 @param minor a direct only {@link java.nio.IntBuffer} */
607 public static boolean eglInitialize(long dpy, IntBuffer major, IntBuffer minor) {
608
609 if (!Buffers.isDirect(major))
610 throw new RuntimeException("Argument \"major\" is not a direct buffer");
611 if (!Buffers.isDirect(minor))
612 throw new RuntimeException("Argument \"minor\" is not a direct buffer");
613 final long __addr_ = _table._addressof_eglInitialize;
614 if (__addr_ == 0) {
615 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglInitialize"));
616 }
617 return dispatch_eglInitialize0(dpy, major, Buffers.getDirectBufferByteOffset(major), minor, Buffers.getDirectBufferByteOffset(minor), __addr_);
618 }
619
620 /** Entry point to C language function: <code> EGLBoolean eglInitialize(EGLDisplay dpy, EGLint * major, EGLint * minor) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
621 @param major a direct only {@link java.nio.IntBuffer}
622 @param minor a direct only {@link java.nio.IntBuffer} */
623 private static native boolean dispatch_eglInitialize0(long dpy, Object major, int major_byte_offset, Object minor, int minor_byte_offset, long procAddress);
624
625 /** Entry point to C language function: <code> EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
626 public static boolean eglMakeCurrent(long dpy, long draw, long read, long ctx) {
627
628 final long __addr_ = _table._addressof_eglMakeCurrent;
629 if (__addr_ == 0) {
630 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglMakeCurrent"));
631 }
632 return dispatch_eglMakeCurrent0(dpy, draw, read, ctx, __addr_);
633 }
634
635 /** Entry point to C language function: <code> EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
636 static private native boolean dispatch_eglMakeCurrent0(long dpy, long draw, long read, long ctx, long procAddress);
637
638 /** Entry point to C language function: <code> EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint * value) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
639 @param value a direct only {@link java.nio.IntBuffer} */
640 public static boolean eglQueryContext(long dpy, long ctx, int attribute, IntBuffer value) {
641
642 if (!Buffers.isDirect(value))
643 throw new RuntimeException("Argument \"value\" is not a direct buffer");
644 final long __addr_ = _table._addressof_eglQueryContext;
645 if (__addr_ == 0) {
646 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglQueryContext"));
647 }
648 return dispatch_eglQueryContext0(dpy, ctx, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
649 }
650
651 /** Entry point to C language function: <code> EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint * value) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
652 @param value a direct only {@link java.nio.IntBuffer} */
653 private static native boolean dispatch_eglQueryContext0(long dpy, long ctx, int attribute, Object value, int value_byte_offset, long procAddress);
654
655 /** Entry point to C language function: <code> const char * eglQueryString(EGLDisplay dpy, EGLint name) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
656 public static String eglQueryString(long dpy, int name) {
657
658 final long __addr_ = _table._addressof_eglQueryString;
659 if (__addr_ == 0) {
660 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglQueryString"));
661 }
662 return dispatch_eglQueryString0(dpy, name, __addr_);
663 }
664
665 /** Entry point to C language function: <code> const char * eglQueryString(EGLDisplay dpy, EGLint name) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
666 static private native String dispatch_eglQueryString0(long dpy, int name, long procAddress);
667
668 /** Entry point to C language function: <code> EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint * value) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
669 @param value a direct only {@link java.nio.IntBuffer} */
670 public static boolean eglQuerySurface(long dpy, long surface, int attribute, IntBuffer value) {
671
672 if (!Buffers.isDirect(value))
673 throw new RuntimeException("Argument \"value\" is not a direct buffer");
674 final long __addr_ = _table._addressof_eglQuerySurface;
675 if (__addr_ == 0) {
676 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglQuerySurface"));
677 }
678 return dispatch_eglQuerySurface0(dpy, surface, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
679 }
680
681 /** Entry point to C language function: <code> EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint * value) </code> <br>Part of <code>EGL_VERSION_1_0</code><br>
682 @param value a direct only {@link java.nio.IntBuffer} */
683 private static native boolean dispatch_eglQuerySurface0(long dpy, long surface, int attribute, Object value, int value_byte_offset, long procAddress);
684
685 /** Entry point to C language function: <code> EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
686 public static boolean eglSwapBuffers(long dpy, long surface) {
687
688 final long __addr_ = _table._addressof_eglSwapBuffers;
689 if (__addr_ == 0) {
690 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglSwapBuffers"));
691 }
692 return dispatch_eglSwapBuffers0(dpy, surface, __addr_);
693 }
694
695 /** Entry point to C language function: <code> EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
696 static private native boolean dispatch_eglSwapBuffers0(long dpy, long surface, long procAddress);
697
698 /** Entry point to C language function: <code> EGLBoolean eglTerminate(EGLDisplay dpy) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
699 public static boolean eglTerminate(long dpy) {
700
701 final long __addr_ = _table._addressof_eglTerminate;
702 if (__addr_ == 0) {
703 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglTerminate"));
704 }
705 return dispatch_eglTerminate0(dpy, __addr_);
706 }
707
708 /** Entry point to C language function: <code> EGLBoolean eglTerminate(EGLDisplay dpy) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
709 static private native boolean dispatch_eglTerminate0(long dpy, long procAddress);
710
711 /** Entry point to C language function: <code> EGLBoolean eglWaitGL() </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
712 public static boolean eglWaitGL() {
713
714 final long __addr_ = _table._addressof_eglWaitGL;
715 if (__addr_ == 0) {
716 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglWaitGL"));
717 }
718 return dispatch_eglWaitGL0(__addr_);
719 }
720
721 /** Entry point to C language function: <code> EGLBoolean eglWaitGL() </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
722 static private native boolean dispatch_eglWaitGL0(long procAddress);
723
724 /** Entry point to C language function: <code> EGLBoolean eglWaitNative(EGLint engine) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
725 public static boolean eglWaitNative(int engine) {
726
727 final long __addr_ = _table._addressof_eglWaitNative;
728 if (__addr_ == 0) {
729 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglWaitNative"));
730 }
731 return dispatch_eglWaitNative0(engine, __addr_);
732 }
733
734 /** Entry point to C language function: <code> EGLBoolean eglWaitNative(EGLint engine) </code> <br>Part of <code>EGL_VERSION_1_0</code><br> */
735 static private native boolean dispatch_eglWaitNative0(int engine, long procAddress);
736
737 /** Entry point to C language function: <code> EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) </code> <br>Part of <code>EGL_VERSION_1_1</code><br> */
738 public static boolean eglBindTexImage(long dpy, long surface, int buffer) {
739
740 final long __addr_ = _table._addressof_eglBindTexImage;
741 if (__addr_ == 0) {
742 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglBindTexImage"));
743 }
744 return dispatch_eglBindTexImage0(dpy, surface, buffer, __addr_);
745 }
746
747 /** Entry point to C language function: <code> EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) </code> <br>Part of <code>EGL_VERSION_1_1</code><br> */
748 static private native boolean dispatch_eglBindTexImage0(long dpy, long surface, int buffer, long procAddress);
749
750 /** Entry point to C language function: <code> EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) </code> <br>Part of <code>EGL_VERSION_1_1</code><br> */
751 public static boolean eglReleaseTexImage(long dpy, long surface, int buffer) {
752
753 final long __addr_ = _table._addressof_eglReleaseTexImage;
754 if (__addr_ == 0) {
755 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglReleaseTexImage"));
756 }
757 return dispatch_eglReleaseTexImage0(dpy, surface, buffer, __addr_);
758 }
759
760 /** Entry point to C language function: <code> EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer) </code> <br>Part of <code>EGL_VERSION_1_1</code><br> */
761 static private native boolean dispatch_eglReleaseTexImage0(long dpy, long surface, int buffer, long procAddress);
762
763 /** Entry point to C language function: <code> EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) </code> <br>Part of <code>EGL_VERSION_1_1</code><br> */
764 public static boolean eglSurfaceAttrib(long dpy, long surface, int attribute, int value) {
765
766 final long __addr_ = _table._addressof_eglSurfaceAttrib;
767 if (__addr_ == 0) {
768 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglSurfaceAttrib"));
769 }
770 return dispatch_eglSurfaceAttrib0(dpy, surface, attribute, value, __addr_);
771 }
772
773 /** Entry point to C language function: <code> EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) </code> <br>Part of <code>EGL_VERSION_1_1</code><br> */
774 static private native boolean dispatch_eglSurfaceAttrib0(long dpy, long surface, int attribute, int value, long procAddress);
775
776 /** Entry point to C language function: <code> EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) </code> <br>Part of <code>EGL_VERSION_1_1</code><br> */
777 public static boolean eglSwapInterval(long dpy, int interval) {
778
779 final long __addr_ = _table._addressof_eglSwapInterval;
780 if (__addr_ == 0) {
781 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglSwapInterval"));
782 }
783 return dispatch_eglSwapInterval0(dpy, interval, __addr_);
784 }
785
786 /** Entry point to C language function: <code> EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) </code> <br>Part of <code>EGL_VERSION_1_1</code><br> */
787 static private native boolean dispatch_eglSwapInterval0(long dpy, int interval, long procAddress);
788
789 /** Entry point to C language function: <code> EGLBoolean eglBindAPI(EGLenum api) </code> <br>Part of <code>EGL_VERSION_1_2</code><br> */
790 public static boolean eglBindAPI(int api) {
791
792 final long __addr_ = _table._addressof_eglBindAPI;
793 if (__addr_ == 0) {
794 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglBindAPI"));
795 }
796 return dispatch_eglBindAPI0(api, __addr_);
797 }
798
799 /** Entry point to C language function: <code> EGLBoolean eglBindAPI(EGLenum api) </code> <br>Part of <code>EGL_VERSION_1_2</code><br> */
800 static private native boolean dispatch_eglBindAPI0(int api, long procAddress);
801
802 /** Entry point to C language function: <code> EGLenum eglQueryAPI() </code> <br>Part of <code>EGL_VERSION_1_2</code><br> */
803 public static int eglQueryAPI() {
804
805 final long __addr_ = _table._addressof_eglQueryAPI;
806 if (__addr_ == 0) {
807 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglQueryAPI"));
808 }
809 return dispatch_eglQueryAPI0(__addr_);
810 }
811
812 /** Entry point to C language function: <code> EGLenum eglQueryAPI() </code> <br>Part of <code>EGL_VERSION_1_2</code><br> */
813 static private native int dispatch_eglQueryAPI0(long procAddress);
814
815 /** Entry point to C language function: <code> EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_2</code><br>
816 @param attrib_list a direct only {@link java.nio.IntBuffer} */
817 public static long eglCreatePbufferFromClientBuffer(long dpy, int buftype, long buffer, long config, IntBuffer attrib_list) {
818
819 if (!Buffers.isDirect(attrib_list))
820 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
821 final long __addr_ = _table._addressof_eglCreatePbufferFromClientBuffer;
822 if (__addr_ == 0) {
823 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePbufferFromClientBuffer"));
824 }
825 return dispatch_eglCreatePbufferFromClientBuffer0(dpy, buftype, buffer, config, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
826 }
827
828 /** Entry point to C language function: <code> EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_2</code><br>
829 @param attrib_list a direct only {@link java.nio.IntBuffer} */
830 private static native long dispatch_eglCreatePbufferFromClientBuffer0(long dpy, int buftype, long buffer, long config, Object attrib_list, int attrib_list_byte_offset, long procAddress);
831
832 /** Entry point to C language function: <code> EGLBoolean eglReleaseThread() </code> <br>Part of <code>EGL_VERSION_1_2</code><br> */
833 public static boolean eglReleaseThread() {
834
835 final long __addr_ = _table._addressof_eglReleaseThread;
836 if (__addr_ == 0) {
837 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglReleaseThread"));
838 }
839 return dispatch_eglReleaseThread0(__addr_);
840 }
841
842 /** Entry point to C language function: <code> EGLBoolean eglReleaseThread() </code> <br>Part of <code>EGL_VERSION_1_2</code><br> */
843 static private native boolean dispatch_eglReleaseThread0(long procAddress);
844
845 /** Entry point to C language function: <code> EGLBoolean eglWaitClient() </code> <br>Part of <code>EGL_VERSION_1_2</code><br> */
846 public static boolean eglWaitClient() {
847
848 final long __addr_ = _table._addressof_eglWaitClient;
849 if (__addr_ == 0) {
850 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglWaitClient"));
851 }
852 return dispatch_eglWaitClient0(__addr_);
853 }
854
855 /** Entry point to C language function: <code> EGLBoolean eglWaitClient() </code> <br>Part of <code>EGL_VERSION_1_2</code><br> */
856 static private native boolean dispatch_eglWaitClient0(long procAddress);
857
858 /** Entry point to C language function: <code> EGLContext eglGetCurrentContext() </code> <br>Part of <code>EGL_VERSION_1_4</code><br> */
859 public static long eglGetCurrentContext() {
860
861 final long __addr_ = _table._addressof_eglGetCurrentContext;
862 if (__addr_ == 0) {
863 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetCurrentContext"));
864 }
865 return dispatch_eglGetCurrentContext0(__addr_);
866 }
867
868 /** Entry point to C language function: <code> EGLContext eglGetCurrentContext() </code> <br>Part of <code>EGL_VERSION_1_4</code><br> */
869 static private native long dispatch_eglGetCurrentContext0(long procAddress);
870
871 /** Entry point to C language function: <code> EGLSync eglCreateSync(EGLDisplay dpy, EGLenum type, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_fence_sync</code><br>Alias for: <code>eglCreateSyncKHR</code>
872 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
873 public static long eglCreateSync(long dpy, int type, PointerBuffer attrib_list) {
874
875 if (!Buffers.isDirect(attrib_list))
876 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
877 final long __addr_ = _table._addressof_eglCreateSync;
878 if (__addr_ == 0) {
879 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreateSync"));
880 }
881 return dispatch_eglCreateSync0(dpy, type, attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
882 }
883
884 /** Entry point to C language function: <code> EGLSync eglCreateSync(EGLDisplay dpy, EGLenum type, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_fence_sync</code><br>Alias for: <code>eglCreateSyncKHR</code>
885 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
886 private static native long dispatch_eglCreateSync0(long dpy, int type, Object attrib_list, int attrib_list_byte_offset, long procAddress);
887
888 /** Entry point to C language function: <code> EGLBoolean eglDestroySync(EGLDisplay dpy, EGLSync sync) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_fence_sync</code>, <code>EGL_NV_sync</code><br>Alias for: <code>eglDestroySyncKHR</code>, <code>eglDestroySyncNV</code> */
889 public static boolean eglDestroySync(long dpy, long sync) {
890
891 final long __addr_ = _table._addressof_eglDestroySync;
892 if (__addr_ == 0) {
893 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglDestroySync"));
894 }
895 return dispatch_eglDestroySync0(dpy, sync, __addr_);
896 }
897
898 /** Entry point to C language function: <code> EGLBoolean eglDestroySync(EGLDisplay dpy, EGLSync sync) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_fence_sync</code>, <code>EGL_NV_sync</code><br>Alias for: <code>eglDestroySyncKHR</code>, <code>eglDestroySyncNV</code> */
899 static private native boolean dispatch_eglDestroySync0(long dpy, long sync, long procAddress);
900
901 /** Entry point to C language function: <code> EGLint eglClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_fence_sync</code>, <code>EGL_NV_sync</code><br>Alias for: <code>eglClientWaitSyncKHR</code>, <code>eglClientWaitSyncNV</code> */
902 public static int eglClientWaitSync(long dpy, long sync, int flags, long timeout) {
903
904 final long __addr_ = _table._addressof_eglClientWaitSync;
905 if (__addr_ == 0) {
906 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglClientWaitSync"));
907 }
908 return dispatch_eglClientWaitSync0(dpy, sync, flags, timeout, __addr_);
909 }
910
911 /** Entry point to C language function: <code> EGLint eglClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_fence_sync</code>, <code>EGL_NV_sync</code><br>Alias for: <code>eglClientWaitSyncKHR</code>, <code>eglClientWaitSyncNV</code> */
912 static private native int dispatch_eglClientWaitSync0(long dpy, long sync, int flags, long timeout, long procAddress);
913
914 /** Entry point to C language function: <code> EGLBoolean eglGetSyncAttrib(EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib * value) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_NV_sync</code>, <code>EGL_KHR_fence_sync</code><br>Alias for: <code>eglGetSyncAttribNV</code>, <code>eglGetSyncAttribKHR</code>
915 @param value a direct only {@link com.jogamp.common.nio.PointerBuffer} */
916 public static boolean eglGetSyncAttrib(long dpy, long sync, int attribute, PointerBuffer value) {
917
918 if (!Buffers.isDirect(value))
919 throw new RuntimeException("Argument \"value\" is not a direct buffer");
920 final long __addr_ = _table._addressof_eglGetSyncAttrib;
921 if (__addr_ == 0) {
922 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetSyncAttrib"));
923 }
924 return dispatch_eglGetSyncAttrib0(dpy, sync, attribute, value != null ? value.getBuffer() : null, Buffers.getDirectBufferByteOffset(value), __addr_);
925 }
926
927 /** Entry point to C language function: <code> EGLBoolean eglGetSyncAttrib(EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib * value) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_NV_sync</code>, <code>EGL_KHR_fence_sync</code><br>Alias for: <code>eglGetSyncAttribNV</code>, <code>eglGetSyncAttribKHR</code>
928 @param value a direct only {@link com.jogamp.common.nio.PointerBuffer} */
929 private static native boolean dispatch_eglGetSyncAttrib0(long dpy, long sync, int attribute, Object value, int value_byte_offset, long procAddress);
930
931 /** Entry point to C language function: <code> EGLImage eglCreateImage(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_image</code><br>Alias for: <code>eglCreateImageKHR</code>
932 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
933 public static long eglCreateImage(long dpy, long ctx, int target, long buffer, PointerBuffer attrib_list) {
934
935 if (!Buffers.isDirect(attrib_list))
936 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
937 final long __addr_ = _table._addressof_eglCreateImage;
938 if (__addr_ == 0) {
939 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreateImage"));
940 }
941 return dispatch_eglCreateImage0(dpy, ctx, target, buffer, attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
942 }
943
944 /** Entry point to C language function: <code> EGLImage eglCreateImage(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_image</code><br>Alias for: <code>eglCreateImageKHR</code>
945 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
946 private static native long dispatch_eglCreateImage0(long dpy, long ctx, int target, long buffer, Object attrib_list, int attrib_list_byte_offset, long procAddress);
947
948 /** Entry point to C language function: <code> EGLBoolean eglDestroyImage(EGLDisplay dpy, EGLImage image) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_image</code><br>Alias for: <code>eglDestroyImageKHR</code> */
949 public static boolean eglDestroyImage(long dpy, long image) {
950
951 final long __addr_ = _table._addressof_eglDestroyImage;
952 if (__addr_ == 0) {
953 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglDestroyImage"));
954 }
955 return dispatch_eglDestroyImage0(dpy, image, __addr_);
956 }
957
958 /** Entry point to C language function: <code> EGLBoolean eglDestroyImage(EGLDisplay dpy, EGLImage image) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_image</code><br>Alias for: <code>eglDestroyImageKHR</code> */
959 static private native boolean dispatch_eglDestroyImage0(long dpy, long image, long procAddress);
960
961 /** Entry point to C language function: <code> EGLDisplay eglGetPlatformDisplay(EGLenum platform, void * native_display, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_EXT_platform_base</code><br>Alias for: <code>eglGetPlatformDisplayEXT</code>
962 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
963 public static long eglGetPlatformDisplay(int platform, long native_display, PointerBuffer attrib_list) {
964
965 if (!Buffers.isDirect(attrib_list))
966 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
967 final long __addr_ = _table._addressof_eglGetPlatformDisplay;
968 if (__addr_ == 0) {
969 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetPlatformDisplay"));
970 }
971 return dispatch_eglGetPlatformDisplay0(platform, native_display, attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
972 }
973
974 /** Entry point to C language function: <code> EGLDisplay eglGetPlatformDisplay(EGLenum platform, void * native_display, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_EXT_platform_base</code><br>Alias for: <code>eglGetPlatformDisplayEXT</code>
975 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
976 private static native long dispatch_eglGetPlatformDisplay0(int platform, long native_display, Object attrib_list, int attrib_list_byte_offset, long procAddress);
977
978 /** Entry point to C language function: <code> EGLSurface eglCreatePlatformWindowSurface(EGLDisplay dpy, EGLConfig config, void * native_window, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_EXT_platform_base</code><br>Alias for: <code>eglCreatePlatformWindowSurfaceEXT</code>
979 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
980 public static long eglCreatePlatformWindowSurface(long dpy, long config, long native_window, PointerBuffer attrib_list) {
981
982 if (!Buffers.isDirect(attrib_list))
983 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
984 final long __addr_ = _table._addressof_eglCreatePlatformWindowSurface;
985 if (__addr_ == 0) {
986 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePlatformWindowSurface"));
987 }
988 return dispatch_eglCreatePlatformWindowSurface0(dpy, config, native_window, attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
989 }
990
991 /** Entry point to C language function: <code> EGLSurface eglCreatePlatformWindowSurface(EGLDisplay dpy, EGLConfig config, void * native_window, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_EXT_platform_base</code><br>Alias for: <code>eglCreatePlatformWindowSurfaceEXT</code>
992 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
993 private static native long dispatch_eglCreatePlatformWindowSurface0(long dpy, long config, long native_window, Object attrib_list, int attrib_list_byte_offset, long procAddress);
994
995 /** Entry point to C language function: <code> EGLSurface eglCreatePlatformPixmapSurface(EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_EXT_platform_base</code><br>Alias for: <code>eglCreatePlatformPixmapSurfaceEXT</code>
996 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
997 public static long eglCreatePlatformPixmapSurface(long dpy, long config, long native_pixmap, PointerBuffer attrib_list) {
998
999 if (!Buffers.isDirect(attrib_list))
1000 throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
1001 final long __addr_ = _table._addressof_eglCreatePlatformPixmapSurface;
1002 if (__addr_ == 0) {
1003 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePlatformPixmapSurface"));
1004 }
1005 return dispatch_eglCreatePlatformPixmapSurface0(dpy, config, native_pixmap, attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
1006 }
1007
1008 /** Entry point to C language function: <code> EGLSurface eglCreatePlatformPixmapSurface(EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLAttrib * attrib_list) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_EXT_platform_base</code><br>Alias for: <code>eglCreatePlatformPixmapSurfaceEXT</code>
1009 @param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
1010 private static native long dispatch_eglCreatePlatformPixmapSurface0(long dpy, long config, long native_pixmap, Object attrib_list, int attrib_list_byte_offset, long procAddress);
1011
1012 /** Entry point to C language function: <code> EGLBoolean eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_wait_sync</code><br>Alias for: <code>eglWaitSyncKHR</code> */
1013 public static boolean eglWaitSync(long dpy, long sync, int flags) {
1014
1015 final long __addr_ = _table._addressof_eglWaitSync;
1016 if (__addr_ == 0) {
1017 throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglWaitSync"));
1018 }
1019 return dispatch_eglWaitSync0(dpy, sync, flags, __addr_);
1020 }
1021
1022 /** Entry point to C language function: <code> EGLBoolean eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags) </code> <br>Part of <code>EGL_VERSION_1_5</code>, <code>EGL_KHR_wait_sync</code><br>Alias for: <code>eglWaitSyncKHR</code> */
1023 static private native boolean dispatch_eglWaitSync0(long dpy, long sync, int flags, long procAddress);
1024
1025
1026 // --- Begin CustomJavaCode .cfg declarations
1027 /** Defined as part of enum type "khronos_boolean_enum_t" - CType: int */
1028 public static final long KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = 0x7fffffff;
1029
1030 private static EGLProcAddressTable _table = new EGLProcAddressTable(new GLProcAddressResolver());
1031 protected static boolean resetProcAddressTable(DynamicLookupHelper lookup) {
1032 _table.reset(lookup);
1033 return 0 != _table._addressof_eglGetDisplay && 0 != _table._addressof_eglInitialize;
1034 }
1035
1036 // There are some #defines in egl.h that GlueGen and PCPP don't currently handle
1037 public static final long EGL_DEFAULT_DISPLAY = 0;
1038 public static final long EGL_NO_CONTEXT = 0;
1039 public static final long EGL_NO_DISPLAY = 0;
1040 public static final long EGL_NO_SURFACE = 0;
1041 public static final int EGL_DONT_CARE = -1;
1042 public static final int EGL_UNKNOWN = -1;
1043
1044 /**
1045 * In case of an error on a particualr attribute, the attribute in the attributes-buffer is set to 0.
1046 * <p>
1047 * Entry point to C language function: <code> EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value); </code> <br>Part of <code>EGL_VERSION_1_0</code>
1048 * </p>
1049 */
1050 public static void eglGetConfigAttributes(long dpy, long config, IntBuffer attributes, IntBuffer values) {
1051 if( attributes == null || values == null ) {
1052 throw new RuntimeException("arrays buffers are null");
1053 }
1054 if( !Buffers.isDirect(attributes) || !Buffers.isDirect(values) ) {
1055 throw new RuntimeException("arrays buffers are not direct");
1056 }
1057 if( attributes.remaining() > values.remaining() ) {
1058 throw new RuntimeException("not enough values "+values+" for attributes "+attributes);
1059 }
1060 final long __addr = _table._addressof_eglGetConfigAttrib;
1061 dispatch_eglGetConfigAttributes(dpy, config, attributes.remaining(), attributes, Buffers.getDirectBufferByteOffset(attributes),
1062 values, Buffers.getDirectBufferByteOffset(values), __addr);
1063 }
1064 private static native void dispatch_eglGetConfigAttributes(long dpy, long config, int attributeCount, Object attributes, int attributes_byte_offset, Object values, int valuesOffset, long procAddr);
1065
1066 // ---- End CustomJavaCode .cfg declarations
1067} // end of class EGL
static final long EGL_NO_SURFACE
Definition: EGL.java:1040
static final int EGL_COLORSPACE
EGL_VERSION_1_2 Define "EGL_COLORSPACE" with expression '0x3087', CType: int
Definition: EGL.java:194
static final long KHRONOS_BOOLEAN_ENUM_FORCE_SIZE
Defined as part of enum type "khronos_boolean_enum_t" - CType: int.
Definition: EGL.java:1028
static final int EGL_CLIENT_APIS
EGL_VERSION_1_2 Define "EGL_CLIENT_APIS" with expression '0x308D', CType: int
Definition: EGL.java:263
static final int EGL_ALPHA_SIZE
EGL_VERSION_1_0 Define "EGL_ALPHA_SIZE" with expression '0x3021', CType: int
Definition: EGL.java:320
static final int EGL_DISPLAY_SCALING
EGL_VERSION_1_2 Define "EGL_DISPLAY_SCALING" with expression '10000', CType: int
Definition: EGL.java:217
static final int EGL_NO_TEXTURE
EGL_VERSION_1_1 Define "EGL_NO_TEXTURE" with expression '0x305C', CType: int
Definition: EGL.java:348
static long eglCreatePbufferSurface(long dpy, long config, IntBuffer attrib_list)
Entry point to C language function: EGLSurface eglCreatePbufferSurface(EGLDisplay dpy,...
Definition: EGL.java:439
static final int EGL_MIPMAP_TEXTURE
EGL_VERSION_1_1 Define "EGL_MIPMAP_TEXTURE" with expression '0x3082', CType: int
Definition: EGL.java:166
static final int EGL_BAD_SURFACE
EGL_VERSION_1_0 Define "EGL_BAD_SURFACE" with expression '0x300D', CType: int
Definition: EGL.java:219
static final int EGL_BAD_CONTEXT
EGL_VERSION_1_0 Define "EGL_BAD_CONTEXT" with expression '0x3006', CType: int
Definition: EGL.java:103
static final int EGL_SYNC_FLUSH_COMMANDS_BIT
EGL_VERSION_1_5, EGL_NV_sync, EGL_KHR_reusable_sync Alias for: EGL_SYNC_FLUSH_COMMANDS_BIT_NV,...
Definition: EGL.java:243
static void eglGetConfigAttributes(long dpy, long config, IntBuffer attributes, IntBuffer values)
In case of an error on a particualr attribute, the attribute in the attributes-buffer is set to 0.
Definition: EGL.java:1050
static final int EGL_BAD_DISPLAY
EGL_VERSION_1_0 Define "EGL_BAD_DISPLAY" with expression '0x3008', CType: int
Definition: EGL.java:99
static final int EGL_ALPHA_MASK_SIZE
EGL_VERSION_1_2 Define "EGL_ALPHA_MASK_SIZE" with expression '0x303E', CType: int
Definition: EGL.java:80
static boolean eglReleaseThread()
Entry point to C language function: EGLBoolean eglReleaseThread() Part of EGL_VERSION_1_2
Definition: EGL.java:833
static final int EGL_OPENGL_ES2_BIT
EGL_VERSION_1_3 Define "EGL_OPENGL_ES2_BIT" with expression '0x0004', CType: int
Definition: EGL.java:97
static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
EGL_VERSION_1_5, EGL_KHR_gl_texture_cubemap_image Alias for: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR ...
Definition: EGL.java:38
static long eglGetCurrentContext()
Entry point to C language function: EGLContext eglGetCurrentContext() Part of EGL_VERSION_1_4
Definition: EGL.java:859
static int eglQueryAPI()
Entry point to C language function: EGLenum eglQueryAPI() Part of EGL_VERSION_1_2
Definition: EGL.java:803
static final int EGL_CONFORMANT
EGL_VERSION_1_3, EGL_KHR_config_attribs Alias for: EGL_CONFORMANT_KHR Define "EGL_CONFORMANT" with e...
Definition: EGL.java:124
static final int EGL_BLUE_SIZE
EGL_VERSION_1_0 Define "EGL_BLUE_SIZE" with expression '0x3022', CType: int
Definition: EGL.java:223
static final int EGL_STENCIL_SIZE
EGL_VERSION_1_0 Define "EGL_STENCIL_SIZE" with expression '0x3026', CType: int
Definition: EGL.java:206
static final int EGL_PIXMAP_BIT
EGL_VERSION_1_0 Define "EGL_PIXMAP_BIT" with expression '0x0002', CType: int
Definition: EGL.java:333
static final int EGL_COLOR_BUFFER_TYPE
EGL_VERSION_1_2 Define "EGL_COLOR_BUFFER_TYPE" with expression '0x303F', CType: int
Definition: EGL.java:49
static final int EGL_SLOW_CONFIG
EGL_VERSION_1_0 Define "EGL_SLOW_CONFIG" with expression '0x3050', CType: int
Definition: EGL.java:109
static final int EGL_BAD_NATIVE_WINDOW
EGL_VERSION_1_0 Define "EGL_BAD_NATIVE_WINDOW" with expression '0x300B', CType: int
Definition: EGL.java:331
static final int EGL_VG_COLORSPACE_sRGB
EGL_VERSION_1_3 Define "EGL_VG_COLORSPACE_sRGB" with expression '0x3089', CType: int
Definition: EGL.java:344
static final int EGL_BAD_CURRENT_SURFACE
EGL_VERSION_1_0 Define "EGL_BAD_CURRENT_SURFACE" with expression '0x3007', CType: int
Definition: EGL.java:43
static final int EGL_CONTEXT_LOST
EGL_VERSION_1_1 Define "EGL_CONTEXT_LOST" with expression '0x300E', CType: int
Definition: EGL.java:67
static long eglGetCurrentDisplay()
Entry point to C language function: EGLDisplay eglGetCurrentDisplay() Part of EGL_VERSION_1_0
Definition: EGL.java:553
static boolean resetProcAddressTable(DynamicLookupHelper lookup)
Definition: EGL.java:1031
static final int EGL_TEXTURE_TARGET
EGL_VERSION_1_1 Define "EGL_TEXTURE_TARGET" with expression '0x3081', CType: int
Definition: EGL.java:261
static final int EGL_BAD_NATIVE_PIXMAP
EGL_VERSION_1_0 Define "EGL_BAD_NATIVE_PIXMAP" with expression '0x300A', CType: int
Definition: EGL.java:237
static final int EGL_TEXTURE_2D
EGL_VERSION_1_1 Define "EGL_TEXTURE_2D" with expression '0x305F', CType: int
Definition: EGL.java:213
static final int EGL_GL_COLORSPACE_SRGB
EGL_VERSION_1_5, EGL_KHR_gl_colorspace Alias for: EGL_GL_COLORSPACE_SRGB_KHR Define "EGL_GL_COLORSPA...
Definition: EGL.java:246
static final int EGL_BUFFER_PRESERVED
EGL_VERSION_1_2 Define "EGL_BUFFER_PRESERVED" with expression '0x3094', CType: int
Definition: EGL.java:182
static boolean eglTerminate(long dpy)
Entry point to C language function: EGLBoolean eglTerminate(EGLDisplay dpy) Part of EGL_VERSION_1_...
Definition: EGL.java:699
static final int EGL_EXTENSIONS
EGL_VERSION_1_0 Define "EGL_EXTENSIONS" with expression '0x3055', CType: int
Definition: EGL.java:119
static final int EGL_MATCH_NATIVE_PIXMAP
EGL_VERSION_1_3 Define "EGL_MATCH_NATIVE_PIXMAP" with expression '0x3041', CType: int
Definition: EGL.java:187
static final int EGL_MAX_PBUFFER_PIXELS
EGL_VERSION_1_0 Define "EGL_MAX_PBUFFER_PIXELS" with expression '0x302B', CType: int
Definition: EGL.java:296
static final int EGL_CONFIG_ID
EGL_VERSION_1_0 Define "EGL_CONFIG_ID" with expression '0x3028', CType: int
Definition: EGL.java:306
static final int EGL_SYNC_CL_EVENT_COMPLETE
EGL_VERSION_1_5, EGL_KHR_cl_event Alias for: EGL_SYNC_CL_EVENT_COMPLETE_KHR Define "EGL_SYNC_CL_EVEN...
Definition: EGL.java:72
static final int KHRONOS_TRUE
Defined as part of enum type "khronos_boolean_enum_t" with expression '1', CType: int.
Definition: EGL.java:27
static boolean eglSwapInterval(long dpy, int interval)
Entry point to C language function: EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) Pa...
Definition: EGL.java:777
static boolean eglGetSyncAttrib(long dpy, long sync, int attribute, PointerBuffer value)
Entry point to C language function: EGLBoolean eglGetSyncAttrib(EGLDisplay dpy, EGLSync sync,...
Definition: EGL.java:916
static final int EGL_CORE_NATIVE_ENGINE
EGL_VERSION_1_0 Define "EGL_CORE_NATIVE_ENGINE" with expression '0x305B', CType: int
Definition: EGL.java:362
static final int EGL_RENDER_BUFFER
EGL_VERSION_1_2 Define "EGL_RENDER_BUFFER" with expression '0x3086', CType: int
Definition: EGL.java:178
static final int EGL_OPENGL_ES_BIT
EGL_VERSION_1_2 Define "EGL_OPENGL_ES_BIT" with expression '0x0001', CType: int
Definition: EGL.java:292
static final int EGL_SWAP_BEHAVIOR
EGL_VERSION_1_2 Define "EGL_SWAP_BEHAVIOR" with expression '0x3093', CType: int
Definition: EGL.java:161
static final int EGL_BIND_TO_TEXTURE_RGB
EGL_VERSION_1_1 Define "EGL_BIND_TO_TEXTURE_RGB" with expression '0x3039', CType: int
Definition: EGL.java:45
static final int EGL_TEXTURE_FORMAT
EGL_VERSION_1_1 Define "EGL_TEXTURE_FORMAT" with expression '0x3080', CType: int
Definition: EGL.java:47
static final int EGL_GREEN_SIZE
EGL_VERSION_1_0 Define "EGL_GREEN_SIZE" with expression '0x3023', CType: int
Definition: EGL.java:211
static final int EGL_RENDERABLE_TYPE
EGL_VERSION_1_2 Define "EGL_RENDERABLE_TYPE" with expression '0x3040', CType: int
Definition: EGL.java:373
static final int EGL_OPENVG_API
EGL_VERSION_1_2 Define "EGL_OPENVG_API" with expression '0x30A1', CType: int
Definition: EGL.java:340
static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X
EGL_VERSION_1_5, EGL_KHR_gl_texture_cubemap_image Alias for: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR ...
Definition: EGL.java:33
static final int EGL_RED_SIZE
EGL_VERSION_1_0 Define "EGL_RED_SIZE" with expression '0x3024', CType: int
Definition: EGL.java:346
static final int EGL_VERSION
EGL_VERSION_1_0 Define "EGL_VERSION" with expression '0x3054', CType: int
Definition: EGL.java:304
static boolean eglGetConfigs(long dpy, PointerBuffer configs, int config_size, IntBuffer num_config)
Entry point to C language function: EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig * configs,...
Definition: EGL.java:534
static final int EGL_VENDOR
EGL_VERSION_1_0 Define "EGL_VENDOR" with expression '0x3053', CType: int
Definition: EGL.java:375
static final int EGL_CONTEXT_MINOR_VERSION
EGL_VERSION_1_5, EGL_KHR_create_context Alias for: EGL_CONTEXT_MINOR_VERSION_KHR Define "EGL_CONTEXT...
Definition: EGL.java:280
static final int EGL_GL_TEXTURE_ZOFFSET
EGL_VERSION_1_5, EGL_KHR_gl_texture_3D_image Alias for: EGL_GL_TEXTURE_ZOFFSET_KHR Define "EGL_GL_TE...
Definition: EGL.java:155
static long eglCreateImage(long dpy, long ctx, int target, long buffer, PointerBuffer attrib_list)
Entry point to C language function: EGLImage eglCreateImage(EGLDisplay dpy, EGLContext ctx,...
Definition: EGL.java:933
static final int EGL_RGB_BUFFER
EGL_VERSION_1_2 Define "EGL_RGB_BUFFER" with expression '0x308E', CType: int
Definition: EGL.java:277
static final int EGL_CONTEXT_OPENGL_DEBUG
EGL_VERSION_1_5 Define "EGL_CONTEXT_OPENGL_DEBUG" with expression '0x31B0', CType: int
Definition: EGL.java:57
static final int EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE
EGL_VERSION_1_5 Define "EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE" with expression '0x31B1',...
Definition: EGL.java:105
static final int EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT
EGL_VERSION_1_5, EGL_KHR_create_context Alias for: EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR Define "E...
Definition: EGL.java:259
static final int EGL_CONTEXT_MAJOR_VERSION
EGL_VERSION_1_5, EGL_KHR_create_context Alias for: EGL_CONTEXT_MAJOR_VERSION_KHR Define "EGL_CONTEXT...
Definition: EGL.java:228
static boolean eglWaitNative(int engine)
Entry point to C language function: EGLBoolean eglWaitNative(EGLint engine) Part of EGL_VERSION_1_...
Definition: EGL.java:725
static boolean eglChooseConfig(long dpy, IntBuffer attrib_list, PointerBuffer configs, int config_size, IntBuffer num_config)
Entry point to C language function: EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint * attri...
Definition: EGL.java:386
static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
EGL_VERSION_1_5, EGL_KHR_gl_texture_cubemap_image Alias for: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR ...
Definition: EGL.java:30
static boolean eglBindTexImage(long dpy, long surface, int buffer)
Entry point to C language function: EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface,...
Definition: EGL.java:738
static final int EGL_MAX_PBUFFER_HEIGHT
EGL_VERSION_1_0 Define "EGL_MAX_PBUFFER_HEIGHT" with expression '0x302A', CType: int
Definition: EGL.java:147
static final int EGL_NOT_INITIALIZED
EGL_VERSION_1_0 Define "EGL_NOT_INITIALIZED" with expression '0x3001', CType: int
Definition: EGL.java:342
static final int EGL_VG_ALPHA_FORMAT
EGL_VERSION_1_3 Define "EGL_VG_ALPHA_FORMAT" with expression '0x3088', CType: int
Definition: EGL.java:69
static final int EGL_MAX_PBUFFER_WIDTH
EGL_VERSION_1_0 Define "EGL_MAX_PBUFFER_WIDTH" with expression '0x302C', CType: int
Definition: EGL.java:312
static final int EGL_OPENVG_BIT
EGL_VERSION_1_2 Define "EGL_OPENVG_BIT" with expression '0x0002', CType: int
Definition: EGL.java:353
static final int EGL_OPENGL_ES3_BIT
EGL_VERSION_1_5, EGL_KHR_create_context Alias for: EGL_OPENGL_ES3_BIT_KHR Define "EGL_OPENGL_ES3_BIT...
Definition: EGL.java:185
static final int EGL_TEXTURE_RGBA
EGL_VERSION_1_1 Define "EGL_TEXTURE_RGBA" with expression '0x305E', CType: int
Definition: EGL.java:318
static final int EGL_READ
EGL_VERSION_1_0 Define "EGL_READ" with expression '0x305A', CType: int
Definition: EGL.java:173
static boolean eglQueryContext(long dpy, long ctx, int attribute, IntBuffer value)
Entry point to C language function: EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx,...
Definition: EGL.java:640
static final int EGL_GL_COLORSPACE_LINEAR
EGL_VERSION_1_5, EGL_KHR_gl_colorspace Alias for: EGL_GL_COLORSPACE_LINEAR_KHR Define "EGL_GL_COLORS...
Definition: EGL.java:192
static long eglCreateContext(long dpy, long config, long share_context, IntBuffer attrib_list)
Entry point to C language function: EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config,...
Definition: EGL.java:422
static int eglGetError()
Entry point to C language function: EGLint eglGetError() Part of EGL_VERSION_1_0
Definition: EGL.java:592
static final long EGL_DEFAULT_DISPLAY
Definition: EGL.java:1037
static final int EGL_LEVEL
EGL_VERSION_1_0 Define "EGL_LEVEL" with expression '0x3029', CType: int
Definition: EGL.java:198
static final int EGL_BUFFER_DESTROYED
EGL_VERSION_1_2 Define "EGL_BUFFER_DESTROYED" with expression '0x3095', CType: int
Definition: EGL.java:189
static final int EGL_SYNC_CL_EVENT
EGL_VERSION_1_5, EGL_KHR_cl_event Alias for: EGL_SYNC_CL_EVENT_KHR Define "EGL_SYNC_CL_EVENT" with e...
Definition: EGL.java:89
static final int EGL_VG_ALPHA_FORMAT_NONPRE
EGL_VERSION_1_3 Define "EGL_VG_ALPHA_FORMAT_NONPRE" with expression '0x308B', CType: int
Definition: EGL.java:74
static final int EGL_SUCCESS
EGL_VERSION_1_0 Define "EGL_SUCCESS" with expression '0x3000', CType: int
Definition: EGL.java:355
static long eglCreatePlatformPixmapSurface(long dpy, long config, long native_pixmap, PointerBuffer attrib_list)
Entry point to C language function: EGLSurface eglCreatePlatformPixmapSurface(EGLDisplay dpy,...
Definition: EGL.java:997
static final int EGL_GL_TEXTURE_3D
EGL_VERSION_1_5, EGL_KHR_gl_texture_3D_image Alias for: EGL_GL_TEXTURE_3D_KHR Define "EGL_GL_TEXTURE...
Definition: EGL.java:367
static final int EGL_NATIVE_RENDERABLE
EGL_VERSION_1_0 Define "EGL_NATIVE_RENDERABLE" with expression '0x302D', CType: int
Definition: EGL.java:302
static final int EGL_TRANSPARENT_RGB
EGL_VERSION_1_0 Define "EGL_TRANSPARENT_RGB" with expression '0x3052', CType: int
Definition: EGL.java:91
static final int EGL_MAX_SWAP_INTERVAL
EGL_VERSION_1_1 Define "EGL_MAX_SWAP_INTERVAL" with expression '0x303C', CType: int
Definition: EGL.java:298
static final int EGL_CL_EVENT_HANDLE
EGL_VERSION_1_5, EGL_KHR_cl_event Alias for: EGL_CL_EVENT_HANDLE_KHR Define "EGL_CL_EVENT_HANDLE" wi...
Definition: EGL.java:171
static long eglCreateSync(long dpy, int type, PointerBuffer attrib_list)
Entry point to C language function: EGLSync eglCreateSync(EGLDisplay dpy, EGLenum type,...
Definition: EGL.java:873
static final int EGL_MULTISAMPLE_RESOLVE
EGL_VERSION_1_4 Define "EGL_MULTISAMPLE_RESOLVE" with expression '0x3099', CType: int
Definition: EGL.java:107
static final int EGL_TRANSPARENT_TYPE
EGL_VERSION_1_0 Define "EGL_TRANSPARENT_TYPE" with expression '0x3034', CType: int
Definition: EGL.java:59
static final int EGL_BIND_TO_TEXTURE_RGBA
EGL_VERSION_1_1 Define "EGL_BIND_TO_TEXTURE_RGBA" with expression '0x303A', CType: int
Definition: EGL.java:267
static final int EGL_DEPTH_SIZE
EGL_VERSION_1_0 Define "EGL_DEPTH_SIZE" with expression '0x3025', CType: int
Definition: EGL.java:145
static final int EGL_TRUE
EGL_VERSION_1_0 Define "EGL_TRUE" with expression '1', CType: int
Definition: EGL.java:180
static final int EGL_BAD_MATCH
EGL_VERSION_1_0 Define "EGL_BAD_MATCH" with expression '0x3009', CType: int
Definition: EGL.java:271
static long eglCreatePbufferFromClientBuffer(long dpy, int buftype, long buffer, long config, IntBuffer attrib_list)
Entry point to C language function: EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy,...
Definition: EGL.java:817
static final int EGL_CONTEXT_CLIENT_VERSION
EGL_VERSION_1_3 Define "EGL_CONTEXT_CLIENT_VERSION" with expression '0x3098', CType: int
Definition: EGL.java:157
static boolean eglBindAPI(int api)
Entry point to C language function: EGLBoolean eglBindAPI(EGLenum api) Part of EGL_VERSION_1_2
Definition: EGL.java:790
static final int EGL_TEXTURE_RGB
EGL_VERSION_1_1 Define "EGL_TEXTURE_RGB" with expression '0x305D', CType: int
Definition: EGL.java:275
static final int EGL_BAD_ACCESS
EGL_VERSION_1_0 Define "EGL_BAD_ACCESS" with expression '0x3002', CType: int
Definition: EGL.java:215
static final int EGL_GL_TEXTURE_LEVEL
EGL_VERSION_1_5, EGL_KHR_gl_texture_2D_image Alias for: EGL_GL_TEXTURE_LEVEL_KHR Define "EGL_GL_TEXT...
Definition: EGL.java:378
static final int EGL_NONE
EGL_VERSION_1_0 Define "EGL_NONE" with expression '0x3038', CType: int
Definition: EGL.java:369
static final int EGL_SYNC_FENCE
EGL_VERSION_1_5, EGL_NV_sync, EGL_KHR_fence_sync Alias for: EGL_SYNC_FENCE_NV, EGL_SYNC_FENCE_KHR De...
Definition: EGL.java:288
static final int EGL_GL_TEXTURE_2D
EGL_VERSION_1_5, EGL_KHR_gl_texture_2D_image Alias for: EGL_GL_TEXTURE_2D_KHR Define "EGL_GL_TEXTURE...
Definition: EGL.java:329
static boolean eglWaitSync(long dpy, long sync, int flags)
Entry point to C language function: EGLBoolean eglWaitSync(EGLDisplay dpy, EGLSync sync,...
Definition: EGL.java:1013
static final int EGL_BUFFER_SIZE
EGL_VERSION_1_0 Define "EGL_BUFFER_SIZE" with expression '0x3020', CType: int
Definition: EGL.java:300
static final int EGL_HEIGHT
EGL_VERSION_1_0 Define "EGL_HEIGHT" with expression '0x3056', CType: int
Definition: EGL.java:314
static boolean eglWaitGL()
Entry point to C language function: EGLBoolean eglWaitGL() Part of EGL_VERSION_1_0
Definition: EGL.java:712
static final int EGL_DONT_CARE
Definition: EGL.java:1041
static final int EGL_MULTISAMPLE_RESOLVE_DEFAULT
EGL_VERSION_1_4 Define "EGL_MULTISAMPLE_RESOLVE_DEFAULT" with expression '0x309A',...
Definition: EGL.java:35
static final int EGL_PBUFFER_BIT
EGL_VERSION_1_0 Define "EGL_PBUFFER_BIT" with expression '0x0001', CType: int
Definition: EGL.java:196
static final int EGL_GL_RENDERBUFFER
EGL_VERSION_1_5, EGL_KHR_gl_renderbuffer_image Alias for: EGL_GL_RENDERBUFFER_KHR Define "EGL_GL_REN...
Definition: EGL.java:86
static final int EGL_ALPHA_FORMAT_PRE
EGL_VERSION_1_2 Define "EGL_ALPHA_FORMAT_PRE" with expression '0x308C', CType: int
Definition: EGL.java:121
static int eglClientWaitSync(long dpy, long sync, int flags, long timeout)
Entry point to C language function: EGLint eglClientWaitSync(EGLDisplay dpy, EGLSync sync,...
Definition: EGL.java:902
static boolean eglWaitClient()
Entry point to C language function: EGLBoolean eglWaitClient() Part of EGL_VERSION_1_2
Definition: EGL.java:846
static final int EGL_OPENVG_IMAGE
EGL_VERSION_1_2 Define "EGL_OPENVG_IMAGE" with expression '0x3096', CType: int
Definition: EGL.java:371
static final int EGL_SURFACE_TYPE
EGL_VERSION_1_0 Define "EGL_SURFACE_TYPE" with expression '0x3033', CType: int
Definition: EGL.java:55
static boolean eglDestroySync(long dpy, long sync)
Entry point to C language function: EGLBoolean eglDestroySync(EGLDisplay dpy, EGLSync sync) Part o...
Definition: EGL.java:889
static final int EGL_MULTISAMPLE_RESOLVE_BOX_BIT
EGL_VERSION_1_4 Define "EGL_MULTISAMPLE_RESOLVE_BOX_BIT" with expression '0x0200',...
Definition: EGL.java:115
static final int EGL_VG_COLORSPACE
EGL_VERSION_1_3 Define "EGL_VG_COLORSPACE" with expression '0x3087', CType: int
Definition: EGL.java:250
static final int EGL_LARGEST_PBUFFER
EGL_VERSION_1_0 Define "EGL_LARGEST_PBUFFER" with expression '0x3058', CType: int
Definition: EGL.java:308
static final int EGL_TRANSPARENT_RED_VALUE
EGL_VERSION_1_0 Define "EGL_TRANSPARENT_RED_VALUE" with expression '0x3037', CType: int
Definition: EGL.java:316
static final int EGL_TIMEOUT_EXPIRED
EGL_VERSION_1_5, EGL_KHR_reusable_sync, EGL_NV_sync Alias for: EGL_TIMEOUT_EXPIRED_KHR,...
Definition: EGL.java:240
static String eglQueryString(long dpy, int name)
Entry point to C language function: const char * eglQueryString(EGLDisplay dpy, EGLint name) Part ...
Definition: EGL.java:656
static boolean eglSwapBuffers(long dpy, long surface)
Entry point to C language function: EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface) ...
Definition: EGL.java:686
static final int EGL_VG_COLORSPACE_LINEAR_BIT
EGL_VERSION_1_3, EGL_KHR_config_attribs Alias for: EGL_VG_COLORSPACE_LINEAR_BIT_KHR Define "EGL_VG_C...
Definition: EGL.java:137
static final int EGL_COLORSPACE_LINEAR
EGL_VERSION_1_2 Define "EGL_COLORSPACE_LINEAR" with expression '0x308A', CType: int
Definition: EGL.java:117
static final int EGL_DRAW
EGL_VERSION_1_0 Define "EGL_DRAW" with expression '0x3059', CType: int
Definition: EGL.java:360
static final int EGL_ALPHA_FORMAT_NONPRE
EGL_VERSION_1_2 Define "EGL_ALPHA_FORMAT_NONPRE" with expression '0x308B', CType: int
Definition: EGL.java:51
static final int EGL_NO_RESET_NOTIFICATION
EGL_VERSION_1_5, EGL_KHR_create_context, EGL_EXT_create_context_robustness Alias for: EGL_NO_RESET_NO...
Definition: EGL.java:83
static final int EGL_CONTEXT_CLIENT_TYPE
EGL_VERSION_1_2 Define "EGL_CONTEXT_CLIENT_TYPE" with expression '0x3097', CType: int
Definition: EGL.java:235
static final int EGL_IMAGE_PRESERVED
EGL_VERSION_1_5, EGL_KHR_image_base Alias for: EGL_IMAGE_PRESERVED_KHR Define "EGL_IMAGE_PRESERVED" ...
Definition: EGL.java:326
static final int EGL_BAD_PARAMETER
EGL_VERSION_1_0 Define "EGL_BAD_PARAMETER" with expression '0x300C', CType: int
Definition: EGL.java:101
static final int EGL_OPENGL_ES_API
EGL_VERSION_1_2 Define "EGL_OPENGL_ES_API" with expression '0x30A0', CType: int
Definition: EGL.java:233
static final long EGL_NO_CONTEXT
Definition: EGL.java:1038
static final int EGL_OPENGL_API
EGL_VERSION_1_4 Define "EGL_OPENGL_API" with expression '0x30A2', CType: int
Definition: EGL.java:380
static long eglGetDisplay(long display_id)
Entry point to C language function: EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id) Part...
Definition: EGL.java:579
static boolean eglSurfaceAttrib(long dpy, long surface, int attribute, int value)
Entry point to C language function: EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface,...
Definition: EGL.java:764
static final int EGL_ALPHA_FORMAT
EGL_VERSION_1_2 Define "EGL_ALPHA_FORMAT" with expression '0x3088', CType: int
Definition: EGL.java:95
static final int EGL_GL_COLORSPACE
EGL_VERSION_1_5, EGL_KHR_gl_colorspace Alias for: EGL_GL_COLORSPACE_KHR Define "EGL_GL_COLORSPACE" w...
Definition: EGL.java:41
static final int EGL_CONFIG_CAVEAT
EGL_VERSION_1_0 Define "EGL_CONFIG_CAVEAT" with expression '0x3027', CType: int
Definition: EGL.java:254
static final int EGL_WIDTH
EGL_VERSION_1_0 Define "EGL_WIDTH" with expression '0x3057', CType: int
Definition: EGL.java:168
static final int EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT
EGL_VERSION_1_5, EGL_KHR_create_context Alias for: EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR ...
Definition: EGL.java:351
static final int EGL_SWAP_BEHAVIOR_PRESERVED_BIT
EGL_VERSION_1_4 Define "EGL_SWAP_BEHAVIOR_PRESERVED_BIT" with expression '0x0400',...
Definition: EGL.java:159
static final int EGL_PIXEL_ASPECT_RATIO
EGL_VERSION_1_2 Define "EGL_PIXEL_ASPECT_RATIO" with expression '0x3092', CType: int
Definition: EGL.java:256
static final int EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY
EGL_VERSION_1_5, EGL_KHR_create_context, EGL_EXT_create_context_robustness Alias for: EGL_CONTEXT_OPE...
Definition: EGL.java:209
static final int EGL_LUMINANCE_SIZE
EGL_VERSION_1_2 Define "EGL_LUMINANCE_SIZE" with expression '0x303D', CType: int
Definition: EGL.java:63
static final int EGL_MIPMAP_LEVEL
EGL_VERSION_1_1 Define "EGL_MIPMAP_LEVEL" with expression '0x3083', CType: int
Definition: EGL.java:221
static final int EGL_SYNC_STATUS
EGL_VERSION_1_5, EGL_NV_sync, EGL_KHR_reusable_sync Alias for: EGL_SYNC_STATUS_NV,...
Definition: EGL.java:231
static boolean eglInitialize(long dpy, IntBuffer major, IntBuffer minor)
Entry point to C language function: EGLBoolean eglInitialize(EGLDisplay dpy, EGLint * major,...
Definition: EGL.java:607
static long eglGetPlatformDisplay(int platform, long native_display, PointerBuffer attrib_list)
Entry point to C language function: EGLDisplay eglGetPlatformDisplay(EGLenum platform,...
Definition: EGL.java:963
static final int EGL_VG_COLORSPACE_LINEAR
EGL_VERSION_1_3 Define "EGL_VG_COLORSPACE_LINEAR" with expression '0x308A', CType: int
Definition: EGL.java:252
static final long EGL_NO_DISPLAY
Definition: EGL.java:1039
static final int EGL_UNSIGNALED
EGL_VERSION_1_5, EGL_KHR_reusable_sync, EGL_NV_sync Alias for: EGL_UNSIGNALED_KHR,...
Definition: EGL.java:201
static final int EGL_SYNC_PRIOR_COMMANDS_COMPLETE
EGL_VERSION_1_5, EGL_KHR_fence_sync, EGL_NV_sync Alias for: EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR,...
Definition: EGL.java:285
static boolean eglCopyBuffers(long dpy, long surface, long target)
Entry point to C language function: EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface,...
Definition: EGL.java:408
static boolean eglReleaseTexImage(long dpy, long surface, int buffer)
Entry point to C language function: EGLBoolean eglReleaseTexImage(EGLDisplay dpy,...
Definition: EGL.java:751
static boolean eglDestroyImage(long dpy, long image)
Entry point to C language function: EGLBoolean eglDestroyImage(EGLDisplay dpy, EGLImage image) Par...
Definition: EGL.java:949
static final int EGL_SAMPLES
EGL_VERSION_1_0 Define "EGL_SAMPLES" with expression '0x3031', CType: int
Definition: EGL.java:129
static final int EGL_VERTICAL_RESOLUTION
EGL_VERSION_1_2 Define "EGL_VERTICAL_RESOLUTION" with expression '0x3091', CType: int
Definition: EGL.java:248
static final int EGL_BAD_CONFIG
EGL_VERSION_1_0 Define "EGL_BAD_CONFIG" with expression '0x3005', CType: int
Definition: EGL.java:149
static final int EGL_TRANSPARENT_GREEN_VALUE
EGL_VERSION_1_0 Define "EGL_TRANSPARENT_GREEN_VALUE" with expression '0x3036', CType: int
Definition: EGL.java:310
static long eglCreatePixmapSurface(long dpy, long config, long pixmap, IntBuffer attrib_list)
Entry point to C language function: EGLSurface eglCreatePixmapSurface(EGLDisplay dpy,...
Definition: EGL.java:456
static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z
EGL_VERSION_1_5, EGL_KHR_gl_texture_cubemap_image Alias for: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR ...
Definition: EGL.java:152
static final int EGL_NATIVE_VISUAL_TYPE
EGL_VERSION_1_0 Define "EGL_NATIVE_VISUAL_TYPE" with expression '0x302F', CType: int
Definition: EGL.java:269
static final int EGL_BACK_BUFFER
EGL_VERSION_1_1 Define "EGL_BACK_BUFFER" with expression '0x3084', CType: int
Definition: EGL.java:61
static final int EGL_OPENGL_BIT
EGL_VERSION_1_4 Define "EGL_OPENGL_BIT" with expression '0x0008', CType: int
Definition: EGL.java:364
static long eglGetCurrentSurface(int readdraw)
Entry point to C language function: EGLSurface eglGetCurrentSurface(EGLint readdraw) Part of EGL_V...
Definition: EGL.java:566
static final int EGL_COLORSPACE_sRGB
EGL_VERSION_1_2 Define "EGL_COLORSPACE_sRGB" with expression '0x3089', CType: int
Definition: EGL.java:335
static final int EGL_VG_ALPHA_FORMAT_PRE_BIT
EGL_VERSION_1_3, EGL_KHR_config_attribs Alias for: EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR Define "EGL_VG_AL...
Definition: EGL.java:338
static boolean eglDestroyContext(long dpy, long ctx)
Entry point to C language function: EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) P...
Definition: EGL.java:489
static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X
EGL_VERSION_1_5, EGL_KHR_gl_texture_cubemap_image Alias for: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR ...
Definition: EGL.java:140
static final int EGL_LUMINANCE_BUFFER
EGL_VERSION_1_2 Define "EGL_LUMINANCE_BUFFER" with expression '0x308F', CType: int
Definition: EGL.java:131
static final int EGL_SIGNALED
EGL_VERSION_1_5, EGL_NV_sync, EGL_KHR_reusable_sync Alias for: EGL_SIGNALED_NV, EGL_SIGNALED_KHR Def...
Definition: EGL.java:127
static final int KHRONOS_FALSE
Defined as part of enum type "khronos_boolean_enum_t" with expression '0', CType: int.
Definition: EGL.java:25
static final int EGL_BAD_ATTRIBUTE
EGL_VERSION_1_0 Define "EGL_BAD_ATTRIBUTE" with expression '0x3004', CType: int
Definition: EGL.java:225
static final int EGL_NON_CONFORMANT_CONFIG
EGL_VERSION_1_0 Define "EGL_NON_CONFORMANT_CONFIG" with expression '0x3051', CType: int
Definition: EGL.java:273
static final int EGL_SINGLE_BUFFER
EGL_VERSION_1_2 Define "EGL_SINGLE_BUFFER" with expression '0x3085', CType: int
Definition: EGL.java:113
static final int EGL_CONTEXT_OPENGL_PROFILE_MASK
EGL_VERSION_1_5, EGL_KHR_create_context Alias for: EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR Define "EGL_C...
Definition: EGL.java:204
static final int EGL_CONDITION_SATISFIED
EGL_VERSION_1_5, EGL_NV_sync, EGL_KHR_reusable_sync Alias for: EGL_CONDITION_SATISFIED_NV,...
Definition: EGL.java:164
static final int EGL_VG_ALPHA_FORMAT_PRE
EGL_VERSION_1_3 Define "EGL_VG_ALPHA_FORMAT_PRE" with expression '0x308C', CType: int
Definition: EGL.java:265
static boolean eglMakeCurrent(long dpy, long draw, long read, long ctx)
Entry point to C language function: EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw,...
Definition: EGL.java:626
static long eglCreateWindowSurface(long dpy, long config, long win, IntBuffer attrib_list)
Entry point to C language function: EGLSurface eglCreateWindowSurface(EGLDisplay dpy,...
Definition: EGL.java:473
static boolean eglDestroySurface(long dpy, long surface)
Entry point to C language function: EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface)...
Definition: EGL.java:502
static final int EGL_WINDOW_BIT
EGL_VERSION_1_0 Define "EGL_WINDOW_BIT" with expression '0x0004', CType: int
Definition: EGL.java:93
static final int EGL_LOSE_CONTEXT_ON_RESET
EGL_VERSION_1_5, EGL_KHR_create_context, EGL_EXT_create_context_robustness Alias for: EGL_LOSE_CONTEX...
Definition: EGL.java:134
static long eglCreatePlatformWindowSurface(long dpy, long config, long native_window, PointerBuffer attrib_list)
Entry point to C language function: EGLSurface eglCreatePlatformWindowSurface(EGLDisplay dpy,...
Definition: EGL.java:980
static final int EGL_UNKNOWN
Definition: EGL.java:1042
static boolean eglQuerySurface(long dpy, long surface, int attribute, IntBuffer value)
Entry point to C language function: EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface,...
Definition: EGL.java:670
static final int EGL_BAD_ALLOC
EGL_VERSION_1_0 Define "EGL_BAD_ALLOC" with expression '0x3003', CType: int
Definition: EGL.java:290
static final int EGL_CONTEXT_OPENGL_ROBUST_ACCESS
EGL_VERSION_1_5, EGL_EXT_create_context_robustness Alias for: EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT D...
Definition: EGL.java:358
static boolean eglGetConfigAttrib(long dpy, long config, int attribute, IntBuffer value)
Entry point to C language function: EGLBoolean eglGetConfigAttrib(EGLDisplay dpy,...
Definition: EGL.java:516
static final int EGL_SYNC_CONDITION
EGL_VERSION_1_5, EGL_KHR_fence_sync, EGL_NV_sync Alias for: EGL_SYNC_CONDITION_KHR,...
Definition: EGL.java:323
static final int EGL_HORIZONTAL_RESOLUTION
EGL_VERSION_1_2 Define "EGL_HORIZONTAL_RESOLUTION" with expression '0x3090', CType: int
Definition: EGL.java:282
static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y
EGL_VERSION_1_5, EGL_KHR_gl_texture_cubemap_image Alias for: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR ...
Definition: EGL.java:143
static final int EGL_TRANSPARENT_BLUE_VALUE
EGL_VERSION_1_0 Define "EGL_TRANSPARENT_BLUE_VALUE" with expression '0x3035', CType: int
Definition: EGL.java:78
static final int EGL_FALSE
EGL_VERSION_1_0 Define "EGL_FALSE" with expression '0', CType: int
Definition: EGL.java:111
static final int EGL_MIN_SWAP_INTERVAL
EGL_VERSION_1_1 Define "EGL_MIN_SWAP_INTERVAL" with expression '0x303B', CType: int
Definition: EGL.java:65
static final int EGL_MULTISAMPLE_RESOLVE_BOX
EGL_VERSION_1_4 Define "EGL_MULTISAMPLE_RESOLVE_BOX" with expression '0x309B', CType: int
Definition: EGL.java:53
static final int EGL_SYNC_TYPE
EGL_VERSION_1_5, EGL_NV_sync, EGL_KHR_reusable_sync Alias for: EGL_SYNC_TYPE_NV, EGL_SYNC_TYPE_KHR D...
Definition: EGL.java:176
static final int EGL_SAMPLE_BUFFERS
EGL_VERSION_1_0 Define "EGL_SAMPLE_BUFFERS" with expression '0x3032', CType: int
Definition: EGL.java:76
static final int EGL_NATIVE_VISUAL_ID
EGL_VERSION_1_0 Define "EGL_NATIVE_VISUAL_ID" with expression '0x302E', CType: int
Definition: EGL.java:294