com.jogamp.opengl.egl.EGL Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl-all-android Show documentation
Show all versions of jogl-all-android Show documentation
Java™ Binding for the OpenGL® API (Android)
The newest version!
/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/opengl/GLEmitter.java on Sat Oct 10 03:19:23 CEST 2015 ----! */
package com.jogamp.opengl.egl;
import java.util.*;
import com.jogamp.opengl.*;
import com.jogamp.opengl.fixedfunc.*;
import jogamp.opengl.*;
import com.jogamp.gluegen.runtime.opengl.GLProcAddressResolver;
import com.jogamp.gluegen.runtime.*;
import com.jogamp.common.os.*;
import com.jogamp.common.nio.*;
import java.nio.*;
public class EGL {
/** Defined as part of enum type "khronos_boolean_enum_t" - CType: int */
public static final int KHRONOS_FALSE = 0x0;
/** Defined as part of enum type "khronos_boolean_enum_t" - CType: int */
public static final int KHRONOS_TRUE = 0x1;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_cubemap_image
Alias for: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x30b6;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_cubemap_image
Alias for: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x30b4;
/** EGL_VERSION_1_4
- CType: int */
public static final int EGL_MULTISAMPLE_RESOLVE_DEFAULT = 0x309a;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_cubemap_image
Alias for: EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x30b8;
/** EGL_VERSION_1_5
, EGL_KHR_gl_colorspace
Alias for: EGL_GL_COLORSPACE_KHR
- CType: int */
public static final int EGL_GL_COLORSPACE = 0x309d;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_CURRENT_SURFACE = 0x3007;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_BIND_TO_TEXTURE_RGB = 0x3039;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_TEXTURE_FORMAT = 0x3080;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_COLOR_BUFFER_TYPE = 0x303f;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_ALPHA_FORMAT_NONPRE = 0x308b;
/** EGL_VERSION_1_4
- CType: int */
public static final int EGL_MULTISAMPLE_RESOLVE_BOX = 0x309b;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_SURFACE_TYPE = 0x3033;
/** EGL_VERSION_1_5
- CType: int */
public static final int EGL_CONTEXT_OPENGL_DEBUG = 0x31b0;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_TRANSPARENT_TYPE = 0x3034;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_BACK_BUFFER = 0x3084;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_LUMINANCE_SIZE = 0x303d;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_MIN_SWAP_INTERVAL = 0x303b;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_CONTEXT_LOST = 0x300e;
/** EGL_VERSION_1_3
- CType: int */
public static final int EGL_VG_ALPHA_FORMAT = 0x3088;
/** EGL_VERSION_1_5
, EGL_KHR_cl_event
Alias for: EGL_SYNC_CL_EVENT_COMPLETE_KHR
- CType: int */
public static final int EGL_SYNC_CL_EVENT_COMPLETE = 0x30ff;
/** EGL_VERSION_1_3
- CType: int */
public static final int EGL_VG_ALPHA_FORMAT_NONPRE = 0x308b;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_SAMPLE_BUFFERS = 0x3032;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_TRANSPARENT_BLUE_VALUE = 0x3035;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_ALPHA_MASK_SIZE = 0x303e;
/** EGL_VERSION_1_5
, EGL_KHR_create_context
, EGL_EXT_create_context_robustness
Alias for: EGL_NO_RESET_NOTIFICATION_KHR
, EGL_NO_RESET_NOTIFICATION_EXT
- CType: int */
public static final int EGL_NO_RESET_NOTIFICATION = 0x31be;
/** EGL_VERSION_1_5
, EGL_KHR_gl_renderbuffer_image
Alias for: EGL_GL_RENDERBUFFER_KHR
- CType: int */
public static final int EGL_GL_RENDERBUFFER = 0x30b9;
/** EGL_VERSION_1_5
, EGL_KHR_cl_event
Alias for: EGL_SYNC_CL_EVENT_KHR
- CType: int */
public static final int EGL_SYNC_CL_EVENT = 0x30fe;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_TRANSPARENT_RGB = 0x3052;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_WINDOW_BIT = 0x4;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_ALPHA_FORMAT = 0x3088;
/** EGL_VERSION_1_3
- CType: int */
public static final int EGL_OPENGL_ES2_BIT = 0x4;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_DISPLAY = 0x3008;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_PARAMETER = 0x300c;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_CONTEXT = 0x3006;
/** EGL_VERSION_1_5
- CType: int */
public static final int EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE = 0x31b1;
/** EGL_VERSION_1_4
- CType: int */
public static final int EGL_MULTISAMPLE_RESOLVE = 0x3099;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_SLOW_CONFIG = 0x3050;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_FALSE = 0x0;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_SINGLE_BUFFER = 0x3085;
/** EGL_VERSION_1_4
- CType: int */
public static final int EGL_MULTISAMPLE_RESOLVE_BOX_BIT = 0x200;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_COLORSPACE_LINEAR = 0x308a;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_EXTENSIONS = 0x3055;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_ALPHA_FORMAT_PRE = 0x308c;
/** EGL_VERSION_1_3
, EGL_KHR_config_attribs
Alias for: EGL_CONFORMANT_KHR
- CType: int */
public static final int EGL_CONFORMANT = 0x3042;
/** EGL_VERSION_1_5
, EGL_NV_sync
, EGL_KHR_reusable_sync
Alias for: EGL_SIGNALED_NV
, EGL_SIGNALED_KHR
- CType: int */
public static final int EGL_SIGNALED = 0x30f2;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_SAMPLES = 0x3031;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_LUMINANCE_BUFFER = 0x308f;
/** EGL_VERSION_1_5
, EGL_KHR_create_context
, EGL_EXT_create_context_robustness
Alias for: EGL_LOSE_CONTEXT_ON_RESET_KHR
, EGL_LOSE_CONTEXT_ON_RESET_EXT
- CType: int */
public static final int EGL_LOSE_CONTEXT_ON_RESET = 0x31bf;
/** EGL_VERSION_1_3
, EGL_KHR_config_attribs
Alias for: EGL_VG_COLORSPACE_LINEAR_BIT_KHR
- CType: int */
public static final int EGL_VG_COLORSPACE_LINEAR_BIT = 0x20;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_cubemap_image
Alias for: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x30b3;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_cubemap_image
Alias for: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x30b5;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_DEPTH_SIZE = 0x3025;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_MAX_PBUFFER_HEIGHT = 0x302a;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_CONFIG = 0x3005;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_cubemap_image
Alias for: EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x30b7;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_3D_image
Alias for: EGL_GL_TEXTURE_ZOFFSET_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_ZOFFSET = 0x30bd;
/** EGL_VERSION_1_3
- CType: int */
public static final int EGL_CONTEXT_CLIENT_VERSION = 0x3098;
/** EGL_VERSION_1_4
- CType: int */
public static final int EGL_SWAP_BEHAVIOR_PRESERVED_BIT = 0x400;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_SWAP_BEHAVIOR = 0x3093;
/** EGL_VERSION_1_5
, EGL_NV_sync
, EGL_KHR_reusable_sync
Alias for: EGL_CONDITION_SATISFIED_NV
, EGL_CONDITION_SATISFIED_KHR
- CType: int */
public static final int EGL_CONDITION_SATISFIED = 0x30f6;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_MIPMAP_TEXTURE = 0x3082;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_WIDTH = 0x3057;
/** EGL_VERSION_1_5
, EGL_KHR_cl_event
Alias for: EGL_CL_EVENT_HANDLE_KHR
- CType: int */
public static final int EGL_CL_EVENT_HANDLE = 0x309c;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_READ = 0x305a;
/** EGL_VERSION_1_5
, EGL_NV_sync
, EGL_KHR_reusable_sync
Alias for: EGL_SYNC_TYPE_NV
, EGL_SYNC_TYPE_KHR
- CType: int */
public static final int EGL_SYNC_TYPE = 0x30f7;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_RENDER_BUFFER = 0x3086;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_TRUE = 0x1;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_BUFFER_PRESERVED = 0x3094;
/** EGL_VERSION_1_5
, EGL_KHR_create_context
Alias for: EGL_OPENGL_ES3_BIT_KHR
- CType: int */
public static final int EGL_OPENGL_ES3_BIT = 0x40;
/** EGL_VERSION_1_3
- CType: int */
public static final int EGL_MATCH_NATIVE_PIXMAP = 0x3041;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_BUFFER_DESTROYED = 0x3095;
/** EGL_VERSION_1_5
, EGL_KHR_gl_colorspace
Alias for: EGL_GL_COLORSPACE_LINEAR_KHR
- CType: int */
public static final int EGL_GL_COLORSPACE_LINEAR = 0x308a;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_COLORSPACE = 0x3087;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_PBUFFER_BIT = 0x1;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_LEVEL = 0x3029;
/** EGL_VERSION_1_5
, EGL_KHR_reusable_sync
, EGL_NV_sync
Alias for: EGL_UNSIGNALED_KHR
, EGL_UNSIGNALED_NV
- CType: int */
public static final int EGL_UNSIGNALED = 0x30f3;
/** EGL_VERSION_1_5
, EGL_KHR_create_context
Alias for: EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR
- CType: int */
public static final int EGL_CONTEXT_OPENGL_PROFILE_MASK = 0x30fd;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_STENCIL_SIZE = 0x3026;
/** EGL_VERSION_1_5
, EGL_KHR_create_context
, EGL_EXT_create_context_robustness
Alias for: EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR
, EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT
- CType: int */
public static final int EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY = 0x31bd;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_GREEN_SIZE = 0x3023;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_TEXTURE_2D = 0x305f;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_ACCESS = 0x3002;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_DISPLAY_SCALING = 0x2710;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_SURFACE = 0x300d;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_MIPMAP_LEVEL = 0x3083;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BLUE_SIZE = 0x3022;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_ATTRIBUTE = 0x3004;
/** EGL_VERSION_1_5
, EGL_KHR_create_context
Alias for: EGL_CONTEXT_MAJOR_VERSION_KHR
- CType: int */
public static final int EGL_CONTEXT_MAJOR_VERSION = 0x3098;
/** EGL_VERSION_1_5
, EGL_NV_sync
, EGL_KHR_reusable_sync
Alias for: EGL_SYNC_STATUS_NV
, EGL_SYNC_STATUS_KHR
- CType: int */
public static final int EGL_SYNC_STATUS = 0x30f1;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_OPENGL_ES_API = 0x30a0;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_CONTEXT_CLIENT_TYPE = 0x3097;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_NATIVE_PIXMAP = 0x300a;
/** EGL_VERSION_1_5
, EGL_KHR_reusable_sync
, EGL_NV_sync
Alias for: EGL_TIMEOUT_EXPIRED_KHR
, EGL_TIMEOUT_EXPIRED_NV
- CType: int */
public static final int EGL_TIMEOUT_EXPIRED = 0x30f5;
/** EGL_VERSION_1_5
, EGL_NV_sync
, EGL_KHR_reusable_sync
Alias for: EGL_SYNC_FLUSH_COMMANDS_BIT_NV
, EGL_SYNC_FLUSH_COMMANDS_BIT_KHR
- CType: int */
public static final int EGL_SYNC_FLUSH_COMMANDS_BIT = 0x1;
/** EGL_VERSION_1_5
, EGL_KHR_gl_colorspace
Alias for: EGL_GL_COLORSPACE_SRGB_KHR
- CType: int */
public static final int EGL_GL_COLORSPACE_SRGB = 0x3089;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_VERTICAL_RESOLUTION = 0x3091;
/** EGL_VERSION_1_3
- CType: int */
public static final int EGL_VG_COLORSPACE = 0x3087;
/** EGL_VERSION_1_3
- CType: int */
public static final int EGL_VG_COLORSPACE_LINEAR = 0x308a;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_CONFIG_CAVEAT = 0x3027;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_PIXEL_ASPECT_RATIO = 0x3092;
/** EGL_VERSION_1_5
, EGL_KHR_create_context
Alias for: EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR
- CType: int */
public static final int EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT = 0x1;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_TEXTURE_TARGET = 0x3081;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_CLIENT_APIS = 0x308d;
/** EGL_VERSION_1_3
- CType: int */
public static final int EGL_VG_ALPHA_FORMAT_PRE = 0x308c;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_BIND_TO_TEXTURE_RGBA = 0x303a;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_NATIVE_VISUAL_TYPE = 0x302f;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_MATCH = 0x3009;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_NON_CONFORMANT_CONFIG = 0x3051;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_TEXTURE_RGB = 0x305d;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_RGB_BUFFER = 0x308e;
/** EGL_VERSION_1_5
, EGL_KHR_create_context
Alias for: EGL_CONTEXT_MINOR_VERSION_KHR
- CType: int */
public static final int EGL_CONTEXT_MINOR_VERSION = 0x30fb;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_HORIZONTAL_RESOLUTION = 0x3090;
/** EGL_VERSION_1_5
, EGL_KHR_fence_sync
, EGL_NV_sync
Alias for: EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR
, EGL_SYNC_PRIOR_COMMANDS_COMPLETE_NV
- CType: int */
public static final int EGL_SYNC_PRIOR_COMMANDS_COMPLETE = 0x30f0;
/** EGL_VERSION_1_5
, EGL_NV_sync
, EGL_KHR_fence_sync
Alias for: EGL_SYNC_FENCE_NV
, EGL_SYNC_FENCE_KHR
- CType: int */
public static final int EGL_SYNC_FENCE = 0x30f9;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_ALLOC = 0x3003;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_OPENGL_ES_BIT = 0x1;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_NATIVE_VISUAL_ID = 0x302e;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_MAX_PBUFFER_PIXELS = 0x302b;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_MAX_SWAP_INTERVAL = 0x303c;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BUFFER_SIZE = 0x3020;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_NATIVE_RENDERABLE = 0x302d;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_VERSION = 0x3054;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_CONFIG_ID = 0x3028;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_LARGEST_PBUFFER = 0x3058;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_TRANSPARENT_GREEN_VALUE = 0x3036;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_MAX_PBUFFER_WIDTH = 0x302c;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_HEIGHT = 0x3056;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_TRANSPARENT_RED_VALUE = 0x3037;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_TEXTURE_RGBA = 0x305e;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_ALPHA_SIZE = 0x3021;
/** EGL_VERSION_1_5
, EGL_KHR_fence_sync
, EGL_NV_sync
Alias for: EGL_SYNC_CONDITION_KHR
, EGL_SYNC_CONDITION_NV
- CType: int */
public static final int EGL_SYNC_CONDITION = 0x30f8;
/** EGL_VERSION_1_5
, EGL_KHR_image_base
Alias for: EGL_IMAGE_PRESERVED_KHR
- CType: int */
public static final int EGL_IMAGE_PRESERVED = 0x30d2;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_2D_image
Alias for: EGL_GL_TEXTURE_2D_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_2D = 0x30b1;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_BAD_NATIVE_WINDOW = 0x300b;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_PIXMAP_BIT = 0x2;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_COLORSPACE_sRGB = 0x3089;
/** EGL_VERSION_1_3
, EGL_KHR_config_attribs
Alias for: EGL_VG_ALPHA_FORMAT_PRE_BIT_KHR
- CType: int */
public static final int EGL_VG_ALPHA_FORMAT_PRE_BIT = 0x40;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_OPENVG_API = 0x30a1;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_NOT_INITIALIZED = 0x3001;
/** EGL_VERSION_1_3
- CType: int */
public static final int EGL_VG_COLORSPACE_sRGB = 0x3089;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_RED_SIZE = 0x3024;
/** EGL_VERSION_1_1
- CType: int */
public static final int EGL_NO_TEXTURE = 0x305c;
/** EGL_VERSION_1_5
, EGL_KHR_create_context
Alias for: EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR
- CType: int */
public static final int EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT = 0x2;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_OPENVG_BIT = 0x2;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_SUCCESS = 0x3000;
/** EGL_VERSION_1_5
, EGL_EXT_create_context_robustness
Alias for: EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT
- CType: int */
public static final int EGL_CONTEXT_OPENGL_ROBUST_ACCESS = 0x31b2;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_DRAW = 0x3059;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_CORE_NATIVE_ENGINE = 0x305b;
/** EGL_VERSION_1_4
- CType: int */
public static final int EGL_OPENGL_BIT = 0x8;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_3D_image
Alias for: EGL_GL_TEXTURE_3D_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_3D = 0x30b2;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_NONE = 0x3038;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_OPENVG_IMAGE = 0x3096;
/** EGL_VERSION_1_2
- CType: int */
public static final int EGL_RENDERABLE_TYPE = 0x3040;
/** EGL_VERSION_1_0
- CType: int */
public static final int EGL_VENDOR = 0x3053;
/** EGL_VERSION_1_5
, EGL_KHR_gl_texture_2D_image
Alias for: EGL_GL_TEXTURE_LEVEL_KHR
- CType: int */
public static final int EGL_GL_TEXTURE_LEVEL = 0x30bc;
/** EGL_VERSION_1_4
- CType: int */
public static final int EGL_OPENGL_API = 0x30a2;
/** Entry point to C language function: EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint * attrib_list, EGLConfig * configs, EGLint config_size, EGLint * num_config)
Part of EGL_VERSION_1_0
@param attrib_list a direct only {@link java.nio.IntBuffer}
@param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
@param num_config a direct only {@link java.nio.IntBuffer} */
public static boolean eglChooseConfig(long dpy, IntBuffer attrib_list, PointerBuffer configs, int config_size, IntBuffer num_config) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
if (!Buffers.isDirect(configs))
throw new RuntimeException("Argument \"configs\" is not a direct buffer");
if (!Buffers.isDirect(num_config))
throw new RuntimeException("Argument \"num_config\" is not a direct buffer");
final long __addr_ = _table._addressof_eglChooseConfig;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglChooseConfig"));
}
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_);
}
/** Entry point to C language function: EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint * attrib_list, EGLConfig * configs, EGLint config_size, EGLint * num_config)
Part of EGL_VERSION_1_0
@param attrib_list a direct only {@link java.nio.IntBuffer}
@param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
@param num_config a direct only {@link java.nio.IntBuffer} */
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);
/** Entry point to C language function: EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target)
Part of EGL_VERSION_1_0
*/
public static boolean eglCopyBuffers(long dpy, long surface, long target) {
final long __addr_ = _table._addressof_eglCopyBuffers;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCopyBuffers"));
}
return dispatch_eglCopyBuffers0(dpy, surface, target, __addr_);
}
/** Entry point to C language function: EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target)
Part of EGL_VERSION_1_0
*/
static private native boolean dispatch_eglCopyBuffers0(long dpy, long surface, long target, long procAddress);
/** Entry point to C language function: EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint * attrib_list)
Part of EGL_VERSION_1_0
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public static long eglCreateContext(long dpy, long config, long share_context, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglCreateContext;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreateContext"));
}
return dispatch_eglCreateContext0(dpy, config, share_context, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint * attrib_list)
Part of EGL_VERSION_1_0
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private static native long dispatch_eglCreateContext0(long dpy, long config, long share_context, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint * attrib_list)
Part of EGL_VERSION_1_0
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public static long eglCreatePbufferSurface(long dpy, long config, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglCreatePbufferSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePbufferSurface"));
}
return dispatch_eglCreatePbufferSurface0(dpy, config, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint * attrib_list)
Part of EGL_VERSION_1_0
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private static native long dispatch_eglCreatePbufferSurface0(long dpy, long config, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint * attrib_list)
Part of EGL_VERSION_1_0
, EGL_HI_clientpixmap
Alias for: eglCreatePixmapSurfaceHI
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public static long eglCreatePixmapSurface(long dpy, long config, long pixmap, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglCreatePixmapSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePixmapSurface"));
}
return dispatch_eglCreatePixmapSurface0(dpy, config, pixmap, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint * attrib_list)
Part of EGL_VERSION_1_0
, EGL_HI_clientpixmap
Alias for: eglCreatePixmapSurfaceHI
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private static native long dispatch_eglCreatePixmapSurface0(long dpy, long config, long pixmap, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint * attrib_list)
Part of EGL_VERSION_1_0
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public static long eglCreateWindowSurface(long dpy, long config, long win, IntBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglCreateWindowSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreateWindowSurface"));
}
return dispatch_eglCreateWindowSurface0(dpy, config, win, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint * attrib_list)
Part of EGL_VERSION_1_0
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private static native long dispatch_eglCreateWindowSurface0(long dpy, long config, long win, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx)
Part of EGL_VERSION_1_0
*/
public static boolean eglDestroyContext(long dpy, long ctx) {
final long __addr_ = _table._addressof_eglDestroyContext;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglDestroyContext"));
}
return dispatch_eglDestroyContext0(dpy, ctx, __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx)
Part of EGL_VERSION_1_0
*/
static private native boolean dispatch_eglDestroyContext0(long dpy, long ctx, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface)
Part of EGL_VERSION_1_0
*/
public static boolean eglDestroySurface(long dpy, long surface) {
final long __addr_ = _table._addressof_eglDestroySurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglDestroySurface"));
}
return dispatch_eglDestroySurface0(dpy, surface, __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface)
Part of EGL_VERSION_1_0
*/
static private native boolean dispatch_eglDestroySurface0(long dpy, long surface, long procAddress);
/** Entry point to C language function: EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value)
Part of EGL_VERSION_1_0
@param value a direct only {@link java.nio.IntBuffer} */
public static boolean eglGetConfigAttrib(long dpy, long config, int attribute, IntBuffer value) {
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _table._addressof_eglGetConfigAttrib;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetConfigAttrib"));
}
return dispatch_eglGetConfigAttrib0(dpy, config, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value)
Part of EGL_VERSION_1_0
@param value a direct only {@link java.nio.IntBuffer} */
private static native boolean dispatch_eglGetConfigAttrib0(long dpy, long config, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig * configs, EGLint config_size, EGLint * num_config)
Part of EGL_VERSION_1_0
@param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
@param num_config a direct only {@link java.nio.IntBuffer} */
public static boolean eglGetConfigs(long dpy, PointerBuffer configs, int config_size, IntBuffer num_config) {
if (!Buffers.isDirect(configs))
throw new RuntimeException("Argument \"configs\" is not a direct buffer");
if (!Buffers.isDirect(num_config))
throw new RuntimeException("Argument \"num_config\" is not a direct buffer");
final long __addr_ = _table._addressof_eglGetConfigs;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetConfigs"));
}
return dispatch_eglGetConfigs0(dpy, configs != null ? configs.getBuffer() : null, Buffers.getDirectBufferByteOffset(configs), config_size, num_config, Buffers.getDirectBufferByteOffset(num_config), __addr_);
}
/** Entry point to C language function: EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig * configs, EGLint config_size, EGLint * num_config)
Part of EGL_VERSION_1_0
@param configs a direct only {@link com.jogamp.common.nio.PointerBuffer}
@param num_config a direct only {@link java.nio.IntBuffer} */
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);
/** Entry point to C language function: EGLDisplay eglGetCurrentDisplay(void)
Part of EGL_VERSION_1_0
*/
public static long eglGetCurrentDisplay() {
final long __addr_ = _table._addressof_eglGetCurrentDisplay;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetCurrentDisplay"));
}
return dispatch_eglGetCurrentDisplay0(__addr_);
}
/** Entry point to C language function: EGLDisplay eglGetCurrentDisplay(void)
Part of EGL_VERSION_1_0
*/
static private native long dispatch_eglGetCurrentDisplay0(long procAddress);
/** Entry point to C language function: EGLSurface eglGetCurrentSurface(EGLint readdraw)
Part of EGL_VERSION_1_0
*/
public static long eglGetCurrentSurface(int readdraw) {
final long __addr_ = _table._addressof_eglGetCurrentSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetCurrentSurface"));
}
return dispatch_eglGetCurrentSurface0(readdraw, __addr_);
}
/** Entry point to C language function: EGLSurface eglGetCurrentSurface(EGLint readdraw)
Part of EGL_VERSION_1_0
*/
static private native long dispatch_eglGetCurrentSurface0(int readdraw, long procAddress);
/** Entry point to C language function: EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id)
Part of EGL_VERSION_1_0
*/
public static long eglGetDisplay(long display_id) {
final long __addr_ = _table._addressof_eglGetDisplay;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetDisplay"));
}
return dispatch_eglGetDisplay0(display_id, __addr_);
}
/** Entry point to C language function: EGLDisplay eglGetDisplay(EGLNativeDisplayType display_id)
Part of EGL_VERSION_1_0
*/
static private native long dispatch_eglGetDisplay0(long display_id, long procAddress);
/** Entry point to C language function: EGLint eglGetError(void)
Part of EGL_VERSION_1_0
*/
public static int eglGetError() {
final long __addr_ = _table._addressof_eglGetError;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetError"));
}
return dispatch_eglGetError0(__addr_);
}
/** Entry point to C language function: EGLint eglGetError(void)
Part of EGL_VERSION_1_0
*/
static private native int dispatch_eglGetError0(long procAddress);
/** Entry point to C language function: EGLBoolean eglInitialize(EGLDisplay dpy, EGLint * major, EGLint * minor)
Part of EGL_VERSION_1_0
@param major a direct only {@link java.nio.IntBuffer}
@param minor a direct only {@link java.nio.IntBuffer} */
public static boolean eglInitialize(long dpy, IntBuffer major, IntBuffer minor) {
if (!Buffers.isDirect(major))
throw new RuntimeException("Argument \"major\" is not a direct buffer");
if (!Buffers.isDirect(minor))
throw new RuntimeException("Argument \"minor\" is not a direct buffer");
final long __addr_ = _table._addressof_eglInitialize;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglInitialize"));
}
return dispatch_eglInitialize0(dpy, major, Buffers.getDirectBufferByteOffset(major), minor, Buffers.getDirectBufferByteOffset(minor), __addr_);
}
/** Entry point to C language function: EGLBoolean eglInitialize(EGLDisplay dpy, EGLint * major, EGLint * minor)
Part of EGL_VERSION_1_0
@param major a direct only {@link java.nio.IntBuffer}
@param minor a direct only {@link java.nio.IntBuffer} */
private static native boolean dispatch_eglInitialize0(long dpy, Object major, int major_byte_offset, Object minor, int minor_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
Part of EGL_VERSION_1_0
*/
public static boolean eglMakeCurrent(long dpy, long draw, long read, long ctx) {
final long __addr_ = _table._addressof_eglMakeCurrent;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglMakeCurrent"));
}
return dispatch_eglMakeCurrent0(dpy, draw, read, ctx, __addr_);
}
/** Entry point to C language function: EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
Part of EGL_VERSION_1_0
*/
static private native boolean dispatch_eglMakeCurrent0(long dpy, long draw, long read, long ctx, long procAddress);
/** Entry point to C language function: EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint * value)
Part of EGL_VERSION_1_0
@param value a direct only {@link java.nio.IntBuffer} */
public static boolean eglQueryContext(long dpy, long ctx, int attribute, IntBuffer value) {
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _table._addressof_eglQueryContext;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglQueryContext"));
}
return dispatch_eglQueryContext0(dpy, ctx, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint * value)
Part of EGL_VERSION_1_0
@param value a direct only {@link java.nio.IntBuffer} */
private static native boolean dispatch_eglQueryContext0(long dpy, long ctx, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: const char * eglQueryString(EGLDisplay dpy, EGLint name)
Part of EGL_VERSION_1_0
*/
public static String eglQueryString(long dpy, int name) {
final long __addr_ = _table._addressof_eglQueryString;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglQueryString"));
}
return dispatch_eglQueryString0(dpy, name, __addr_);
}
/** Entry point to C language function: const char * eglQueryString(EGLDisplay dpy, EGLint name)
Part of EGL_VERSION_1_0
*/
static private native String dispatch_eglQueryString0(long dpy, int name, long procAddress);
/** Entry point to C language function: EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint * value)
Part of EGL_VERSION_1_0
@param value a direct only {@link java.nio.IntBuffer} */
public static boolean eglQuerySurface(long dpy, long surface, int attribute, IntBuffer value) {
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _table._addressof_eglQuerySurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglQuerySurface"));
}
return dispatch_eglQuerySurface0(dpy, surface, attribute, value, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint * value)
Part of EGL_VERSION_1_0
@param value a direct only {@link java.nio.IntBuffer} */
private static native boolean dispatch_eglQuerySurface0(long dpy, long surface, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface)
Part of EGL_VERSION_1_0
*/
public static boolean eglSwapBuffers(long dpy, long surface) {
final long __addr_ = _table._addressof_eglSwapBuffers;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglSwapBuffers"));
}
return dispatch_eglSwapBuffers0(dpy, surface, __addr_);
}
/** Entry point to C language function: EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface)
Part of EGL_VERSION_1_0
*/
static private native boolean dispatch_eglSwapBuffers0(long dpy, long surface, long procAddress);
/** Entry point to C language function: EGLBoolean eglTerminate(EGLDisplay dpy)
Part of EGL_VERSION_1_0
*/
public static boolean eglTerminate(long dpy) {
final long __addr_ = _table._addressof_eglTerminate;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglTerminate"));
}
return dispatch_eglTerminate0(dpy, __addr_);
}
/** Entry point to C language function: EGLBoolean eglTerminate(EGLDisplay dpy)
Part of EGL_VERSION_1_0
*/
static private native boolean dispatch_eglTerminate0(long dpy, long procAddress);
/** Entry point to C language function: EGLBoolean eglWaitGL(void)
Part of EGL_VERSION_1_0
*/
public static boolean eglWaitGL() {
final long __addr_ = _table._addressof_eglWaitGL;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglWaitGL"));
}
return dispatch_eglWaitGL0(__addr_);
}
/** Entry point to C language function: EGLBoolean eglWaitGL(void)
Part of EGL_VERSION_1_0
*/
static private native boolean dispatch_eglWaitGL0(long procAddress);
/** Entry point to C language function: EGLBoolean eglWaitNative(EGLint engine)
Part of EGL_VERSION_1_0
*/
public static boolean eglWaitNative(int engine) {
final long __addr_ = _table._addressof_eglWaitNative;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglWaitNative"));
}
return dispatch_eglWaitNative0(engine, __addr_);
}
/** Entry point to C language function: EGLBoolean eglWaitNative(EGLint engine)
Part of EGL_VERSION_1_0
*/
static private native boolean dispatch_eglWaitNative0(int engine, long procAddress);
/** Entry point to C language function: EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer)
Part of EGL_VERSION_1_1
*/
public static boolean eglBindTexImage(long dpy, long surface, int buffer) {
final long __addr_ = _table._addressof_eglBindTexImage;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglBindTexImage"));
}
return dispatch_eglBindTexImage0(dpy, surface, buffer, __addr_);
}
/** Entry point to C language function: EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer)
Part of EGL_VERSION_1_1
*/
static private native boolean dispatch_eglBindTexImage0(long dpy, long surface, int buffer, long procAddress);
/** Entry point to C language function: EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer)
Part of EGL_VERSION_1_1
*/
public static boolean eglReleaseTexImage(long dpy, long surface, int buffer) {
final long __addr_ = _table._addressof_eglReleaseTexImage;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglReleaseTexImage"));
}
return dispatch_eglReleaseTexImage0(dpy, surface, buffer, __addr_);
}
/** Entry point to C language function: EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer)
Part of EGL_VERSION_1_1
*/
static private native boolean dispatch_eglReleaseTexImage0(long dpy, long surface, int buffer, long procAddress);
/** Entry point to C language function: EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value)
Part of EGL_VERSION_1_1
*/
public static boolean eglSurfaceAttrib(long dpy, long surface, int attribute, int value) {
final long __addr_ = _table._addressof_eglSurfaceAttrib;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglSurfaceAttrib"));
}
return dispatch_eglSurfaceAttrib0(dpy, surface, attribute, value, __addr_);
}
/** Entry point to C language function: EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value)
Part of EGL_VERSION_1_1
*/
static private native boolean dispatch_eglSurfaceAttrib0(long dpy, long surface, int attribute, int value, long procAddress);
/** Entry point to C language function: EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval)
Part of EGL_VERSION_1_1
*/
public static boolean eglSwapInterval(long dpy, int interval) {
final long __addr_ = _table._addressof_eglSwapInterval;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglSwapInterval"));
}
return dispatch_eglSwapInterval0(dpy, interval, __addr_);
}
/** Entry point to C language function: EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval)
Part of EGL_VERSION_1_1
*/
static private native boolean dispatch_eglSwapInterval0(long dpy, int interval, long procAddress);
/** Entry point to C language function: EGLBoolean eglBindAPI(EGLenum api)
Part of EGL_VERSION_1_2
*/
public static boolean eglBindAPI(int api) {
final long __addr_ = _table._addressof_eglBindAPI;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglBindAPI"));
}
return dispatch_eglBindAPI0(api, __addr_);
}
/** Entry point to C language function: EGLBoolean eglBindAPI(EGLenum api)
Part of EGL_VERSION_1_2
*/
static private native boolean dispatch_eglBindAPI0(int api, long procAddress);
/** Entry point to C language function: EGLenum eglQueryAPI(void)
Part of EGL_VERSION_1_2
*/
public static int eglQueryAPI() {
final long __addr_ = _table._addressof_eglQueryAPI;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglQueryAPI"));
}
return dispatch_eglQueryAPI0(__addr_);
}
/** Entry point to C language function: EGLenum eglQueryAPI(void)
Part of EGL_VERSION_1_2
*/
static private native int dispatch_eglQueryAPI0(long procAddress);
/** Entry point to C language function: EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint * attrib_list)
Part of EGL_VERSION_1_2
@param buffer a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link java.nio.IntBuffer} */
public static long eglCreatePbufferFromClientBuffer(long dpy, int buftype, Buffer buffer, long config, IntBuffer attrib_list) {
if (!Buffers.isDirect(buffer))
throw new RuntimeException("Argument \"buffer\" is not a direct buffer");
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglCreatePbufferFromClientBuffer;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePbufferFromClientBuffer"));
}
return dispatch_eglCreatePbufferFromClientBuffer0(dpy, buftype, buffer, Buffers.getDirectBufferByteOffset(buffer), config, attrib_list, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint * attrib_list)
Part of EGL_VERSION_1_2
@param buffer a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link java.nio.IntBuffer} */
private static native long dispatch_eglCreatePbufferFromClientBuffer0(long dpy, int buftype, Object buffer, int buffer_byte_offset, long config, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglReleaseThread(void)
Part of EGL_VERSION_1_2
*/
public static boolean eglReleaseThread() {
final long __addr_ = _table._addressof_eglReleaseThread;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglReleaseThread"));
}
return dispatch_eglReleaseThread0(__addr_);
}
/** Entry point to C language function: EGLBoolean eglReleaseThread(void)
Part of EGL_VERSION_1_2
*/
static private native boolean dispatch_eglReleaseThread0(long procAddress);
/** Entry point to C language function: EGLBoolean eglWaitClient(void)
Part of EGL_VERSION_1_2
*/
public static boolean eglWaitClient() {
final long __addr_ = _table._addressof_eglWaitClient;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglWaitClient"));
}
return dispatch_eglWaitClient0(__addr_);
}
/** Entry point to C language function: EGLBoolean eglWaitClient(void)
Part of EGL_VERSION_1_2
*/
static private native boolean dispatch_eglWaitClient0(long procAddress);
/** Entry point to C language function: EGLContext eglGetCurrentContext(void)
Part of EGL_VERSION_1_4
*/
public static long eglGetCurrentContext() {
final long __addr_ = _table._addressof_eglGetCurrentContext;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetCurrentContext"));
}
return dispatch_eglGetCurrentContext0(__addr_);
}
/** Entry point to C language function: EGLContext eglGetCurrentContext(void)
Part of EGL_VERSION_1_4
*/
static private native long dispatch_eglGetCurrentContext0(long procAddress);
/** Entry point to C language function: EGLSync eglCreateSync(EGLDisplay dpy, EGLenum type, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_KHR_fence_sync
Alias for: eglCreateSyncKHR
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public static ByteBuffer eglCreateSync(long dpy, int type, PointerBuffer attrib_list) {
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglCreateSync;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreateSync"));
}
final ByteBuffer _res;
_res = dispatch_eglCreateSync0(dpy, type, attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
if (_res == null) return null;
Buffers.nativeOrder(_res);
return _res;
}
/** Entry point to C language function: EGLSync eglCreateSync(EGLDisplay dpy, EGLenum type, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_KHR_fence_sync
Alias for: eglCreateSyncKHR
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private static native ByteBuffer dispatch_eglCreateSync0(long dpy, int type, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroySync(EGLDisplay dpy, EGLSync sync)
Part of EGL_VERSION_1_5
, EGL_KHR_fence_sync
, EGL_NV_sync
Alias for: eglDestroySyncKHR
, eglDestroySyncNV
@param sync a direct only {@link java.nio.Buffer} */
public static boolean eglDestroySync(long dpy, Buffer sync) {
if (!Buffers.isDirect(sync))
throw new RuntimeException("Argument \"sync\" is not a direct buffer");
final long __addr_ = _table._addressof_eglDestroySync;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglDestroySync"));
}
return dispatch_eglDestroySync0(dpy, sync, Buffers.getDirectBufferByteOffset(sync), __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroySync(EGLDisplay dpy, EGLSync sync)
Part of EGL_VERSION_1_5
, EGL_KHR_fence_sync
, EGL_NV_sync
Alias for: eglDestroySyncKHR
, eglDestroySyncNV
@param sync a direct only {@link java.nio.Buffer} */
private static native boolean dispatch_eglDestroySync0(long dpy, Object sync, int sync_byte_offset, long procAddress);
/** Entry point to C language function: EGLint eglClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout)
Part of EGL_VERSION_1_5
, EGL_KHR_fence_sync
, EGL_NV_sync
Alias for: eglClientWaitSyncKHR
, eglClientWaitSyncNV
@param sync a direct only {@link java.nio.Buffer} */
public static int eglClientWaitSync(long dpy, Buffer sync, int flags, long timeout) {
if (!Buffers.isDirect(sync))
throw new RuntimeException("Argument \"sync\" is not a direct buffer");
final long __addr_ = _table._addressof_eglClientWaitSync;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglClientWaitSync"));
}
return dispatch_eglClientWaitSync0(dpy, sync, Buffers.getDirectBufferByteOffset(sync), flags, timeout, __addr_);
}
/** Entry point to C language function: EGLint eglClientWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout)
Part of EGL_VERSION_1_5
, EGL_KHR_fence_sync
, EGL_NV_sync
Alias for: eglClientWaitSyncKHR
, eglClientWaitSyncNV
@param sync a direct only {@link java.nio.Buffer} */
private static native int dispatch_eglClientWaitSync0(long dpy, Object sync, int sync_byte_offset, int flags, long timeout, long procAddress);
/** Entry point to C language function: EGLBoolean eglGetSyncAttrib(EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib * value)
Part of EGL_VERSION_1_5
, EGL_NV_sync
, EGL_KHR_fence_sync
Alias for: eglGetSyncAttribNV
, eglGetSyncAttribKHR
@param sync a direct only {@link java.nio.Buffer}
@param value a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public static boolean eglGetSyncAttrib(long dpy, Buffer sync, int attribute, PointerBuffer value) {
if (!Buffers.isDirect(sync))
throw new RuntimeException("Argument \"sync\" is not a direct buffer");
if (!Buffers.isDirect(value))
throw new RuntimeException("Argument \"value\" is not a direct buffer");
final long __addr_ = _table._addressof_eglGetSyncAttrib;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetSyncAttrib"));
}
return dispatch_eglGetSyncAttrib0(dpy, sync, Buffers.getDirectBufferByteOffset(sync), attribute, value != null ? value.getBuffer() : null, Buffers.getDirectBufferByteOffset(value), __addr_);
}
/** Entry point to C language function: EGLBoolean eglGetSyncAttrib(EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib * value)
Part of EGL_VERSION_1_5
, EGL_NV_sync
, EGL_KHR_fence_sync
Alias for: eglGetSyncAttribNV
, eglGetSyncAttribKHR
@param sync a direct only {@link java.nio.Buffer}
@param value a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private static native boolean dispatch_eglGetSyncAttrib0(long dpy, Object sync, int sync_byte_offset, int attribute, Object value, int value_byte_offset, long procAddress);
/** Entry point to C language function: EGLImage eglCreateImage(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_KHR_image
Alias for: eglCreateImageKHR
@param buffer a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public static ByteBuffer eglCreateImage(long dpy, long ctx, int target, Buffer buffer, PointerBuffer attrib_list) {
if (!Buffers.isDirect(buffer))
throw new RuntimeException("Argument \"buffer\" is not a direct buffer");
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglCreateImage;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreateImage"));
}
final ByteBuffer _res;
_res = dispatch_eglCreateImage0(dpy, ctx, target, buffer, Buffers.getDirectBufferByteOffset(buffer), attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
if (_res == null) return null;
Buffers.nativeOrder(_res);
return _res;
}
/** Entry point to C language function: EGLImage eglCreateImage(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_KHR_image
Alias for: eglCreateImageKHR
@param buffer a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private static native ByteBuffer dispatch_eglCreateImage0(long dpy, long ctx, int target, Object buffer, int buffer_byte_offset, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglDestroyImage(EGLDisplay dpy, EGLImage image)
Part of EGL_VERSION_1_5
, EGL_KHR_image
Alias for: eglDestroyImageKHR
@param image a direct only {@link java.nio.Buffer} */
public static boolean eglDestroyImage(long dpy, Buffer image) {
if (!Buffers.isDirect(image))
throw new RuntimeException("Argument \"image\" is not a direct buffer");
final long __addr_ = _table._addressof_eglDestroyImage;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglDestroyImage"));
}
return dispatch_eglDestroyImage0(dpy, image, Buffers.getDirectBufferByteOffset(image), __addr_);
}
/** Entry point to C language function: EGLBoolean eglDestroyImage(EGLDisplay dpy, EGLImage image)
Part of EGL_VERSION_1_5
, EGL_KHR_image
Alias for: eglDestroyImageKHR
@param image a direct only {@link java.nio.Buffer} */
private static native boolean dispatch_eglDestroyImage0(long dpy, Object image, int image_byte_offset, long procAddress);
/** Entry point to C language function: EGLDisplay eglGetPlatformDisplay(EGLenum platform, void * native_display, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_EXT_platform_base
Alias for: eglGetPlatformDisplayEXT
@param native_display a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public static long eglGetPlatformDisplay(int platform, Buffer native_display, PointerBuffer attrib_list) {
if (!Buffers.isDirect(native_display))
throw new RuntimeException("Argument \"native_display\" is not a direct buffer");
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglGetPlatformDisplay;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglGetPlatformDisplay"));
}
return dispatch_eglGetPlatformDisplay0(platform, native_display, Buffers.getDirectBufferByteOffset(native_display), attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLDisplay eglGetPlatformDisplay(EGLenum platform, void * native_display, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_EXT_platform_base
Alias for: eglGetPlatformDisplayEXT
@param native_display a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private static native long dispatch_eglGetPlatformDisplay0(int platform, Object native_display, int native_display_byte_offset, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreatePlatformWindowSurface(EGLDisplay dpy, EGLConfig config, void * native_window, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_EXT_platform_base
Alias for: eglCreatePlatformWindowSurfaceEXT
@param native_window a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public static long eglCreatePlatformWindowSurface(long dpy, long config, Buffer native_window, PointerBuffer attrib_list) {
if (!Buffers.isDirect(native_window))
throw new RuntimeException("Argument \"native_window\" is not a direct buffer");
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglCreatePlatformWindowSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePlatformWindowSurface"));
}
return dispatch_eglCreatePlatformWindowSurface0(dpy, config, native_window, Buffers.getDirectBufferByteOffset(native_window), attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreatePlatformWindowSurface(EGLDisplay dpy, EGLConfig config, void * native_window, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_EXT_platform_base
Alias for: eglCreatePlatformWindowSurfaceEXT
@param native_window a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private static native long dispatch_eglCreatePlatformWindowSurface0(long dpy, long config, Object native_window, int native_window_byte_offset, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLSurface eglCreatePlatformPixmapSurface(EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_EXT_platform_base
Alias for: eglCreatePlatformPixmapSurfaceEXT
@param native_pixmap a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public static long eglCreatePlatformPixmapSurface(long dpy, long config, Buffer native_pixmap, PointerBuffer attrib_list) {
if (!Buffers.isDirect(native_pixmap))
throw new RuntimeException("Argument \"native_pixmap\" is not a direct buffer");
if (!Buffers.isDirect(attrib_list))
throw new RuntimeException("Argument \"attrib_list\" is not a direct buffer");
final long __addr_ = _table._addressof_eglCreatePlatformPixmapSurface;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglCreatePlatformPixmapSurface"));
}
return dispatch_eglCreatePlatformPixmapSurface0(dpy, config, native_pixmap, Buffers.getDirectBufferByteOffset(native_pixmap), attrib_list != null ? attrib_list.getBuffer() : null, Buffers.getDirectBufferByteOffset(attrib_list), __addr_);
}
/** Entry point to C language function: EGLSurface eglCreatePlatformPixmapSurface(EGLDisplay dpy, EGLConfig config, void * native_pixmap, const EGLAttrib * attrib_list)
Part of EGL_VERSION_1_5
, EGL_EXT_platform_base
Alias for: eglCreatePlatformPixmapSurfaceEXT
@param native_pixmap a direct only {@link java.nio.Buffer}
@param attrib_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private static native long dispatch_eglCreatePlatformPixmapSurface0(long dpy, long config, Object native_pixmap, int native_pixmap_byte_offset, Object attrib_list, int attrib_list_byte_offset, long procAddress);
/** Entry point to C language function: EGLBoolean eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags)
Part of EGL_VERSION_1_5
, EGL_KHR_wait_sync
Alias for: eglWaitSyncKHR
@param sync a direct only {@link java.nio.Buffer} */
public static boolean eglWaitSync(long dpy, Buffer sync, int flags) {
if (!Buffers.isDirect(sync))
throw new RuntimeException("Argument \"sync\" is not a direct buffer");
final long __addr_ = _table._addressof_eglWaitSync;
if (__addr_ == 0) {
throw new UnsupportedOperationException(String.format("Method \"%s\" not available", "eglWaitSync"));
}
return dispatch_eglWaitSync0(dpy, sync, Buffers.getDirectBufferByteOffset(sync), flags, __addr_);
}
/** Entry point to C language function: EGLBoolean eglWaitSync(EGLDisplay dpy, EGLSync sync, EGLint flags)
Part of EGL_VERSION_1_5
, EGL_KHR_wait_sync
Alias for: eglWaitSyncKHR
@param sync a direct only {@link java.nio.Buffer} */
private static native boolean dispatch_eglWaitSync0(long dpy, Object sync, int sync_byte_offset, int flags, long procAddress);
// --- Begin CustomJavaCode .cfg declarations
/** Defined as part of enum type "khronos_boolean_enum_t" - CType: int */
public static final long KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = 0x7fffffff;
private static EGLProcAddressTable _table = new EGLProcAddressTable(new GLProcAddressResolver());
protected static boolean resetProcAddressTable(DynamicLookupHelper lookup) {
_table.reset(lookup);
return 0 != _table._addressof_eglGetDisplay && 0 != _table._addressof_eglInitialize;
}
// There are some #defines in egl.h that GlueGen and PCPP don't currently handle
public static final long EGL_DEFAULT_DISPLAY = 0;
public static final long EGL_NO_CONTEXT = 0;
public static final long EGL_NO_DISPLAY = 0;
public static final long EGL_NO_SURFACE = 0;
public static final int EGL_DONT_CARE = -1;
public static final int EGL_UNKNOWN = -1;
/**
* In case of an error on a particualr attribute, the attribute in the attributes-buffer is set to 0.
*
* Entry point to C language function: EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint * value);
Part of EGL_VERSION_1_0
*
*/
public static void eglGetConfigAttributes(long dpy, long config, IntBuffer attributes, IntBuffer values) {
if( attributes == null || values == null ) {
throw new RuntimeException("arrays buffers are null");
}
if( !Buffers.isDirect(attributes) || !Buffers.isDirect(values) ) {
throw new RuntimeException("arrays buffers are not direct");
}
if( attributes.remaining() > values.remaining() ) {
throw new RuntimeException("not enough values "+values+" for attributes "+attributes);
}
final long __addr = _table._addressof_eglGetConfigAttrib;
dispatch_eglGetConfigAttributes(dpy, config, attributes.remaining(), attributes, Buffers.getDirectBufferByteOffset(attributes),
values, Buffers.getDirectBufferByteOffset(values), __addr);
}
private static native void dispatch_eglGetConfigAttributes(long dpy, long config, int attributeCount, Object attributes, int attributes_byte_offset, Object values, int valuesOffset, long procAddr);
// ---- End CustomJavaCode .cfg declarations
} // end of class EGL
© 2015 - 2025 Weber Informatics LLC | Privacy Policy