Class EXTEGLImageStorage
- java.lang.Object
-
- org.lwjgl.opengl.EXTEGLImageStorage
-
public class EXTEGLImageStorage extends java.lang.ObjectNative bindings to the EXT_EGL_image_storage extension.The OpenGL ES extension
OES_EGL_imageprovides a mechanism for creating GL textures sharing storage withEGLImageobjects (in other words, creating GL textureEGLImagetargets). The extension was written against the OpenGL ES 2.0 specification, which does not have the concept of immutable textures. As a result, it specifies that respecification of a texture by callingTexImage*on a texture that is anEGLImagetarget causes it to be implicitly orphaned. In most cases, this is not the desired behavior, but rather a result of an application error.This extension provides a mechanism for creating texture objects that are both
EGLImagetargets and immutable. Since immutable textures cannot be respecified, they also cannot accidentally be orphaned, and attempts to do so generate errors instead of resulting in well-defined, but often undesirable and surprising behavior. It provides a strong guarantee that texture data that is intended to be shared will remain shared.Requires
OpenGL 4.2orARB_texture_storage. Requires EGL 1.4 and either theEGL_KHR_imageorEGL_KHR_image_baseextensions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglEGLImageTargetTexStorageEXT(int target, long image, int[] attrib_list)Array version of:EGLImageTargetTexStorageEXTstatic voidglEGLImageTargetTexStorageEXT(int target, long image, java.nio.IntBuffer attrib_list)static voidglEGLImageTargetTextureStorageEXT(int texture, long image, int[] attrib_list)Array version of:EGLImageTargetTextureStorageEXTstatic voidglEGLImageTargetTextureStorageEXT(int texture, long image, java.nio.IntBuffer attrib_list)static voidnglEGLImageTargetTexStorageEXT(int target, long image, long attrib_list)static voidnglEGLImageTargetTextureStorageEXT(int texture, long image, long attrib_list)
-
-
-
Method Detail
-
nglEGLImageTargetTexStorageEXT
public static void nglEGLImageTargetTexStorageEXT(int target, long image, long attrib_list)
-
glEGLImageTargetTexStorageEXT
public static void glEGLImageTargetTexStorageEXT(int target, long image, @Nullable java.nio.IntBuffer attrib_list)
-
nglEGLImageTargetTextureStorageEXT
public static void nglEGLImageTargetTextureStorageEXT(int texture, long image, long attrib_list)
-
glEGLImageTargetTextureStorageEXT
public static void glEGLImageTargetTextureStorageEXT(int texture, long image, @Nullable java.nio.IntBuffer attrib_list)
-
glEGLImageTargetTexStorageEXT
public static void glEGLImageTargetTexStorageEXT(int target, long image, @Nullable int[] attrib_list)Array version of:EGLImageTargetTexStorageEXT
-
glEGLImageTargetTextureStorageEXT
public static void glEGLImageTargetTextureStorageEXT(int texture, long image, @Nullable int[] attrib_list)Array version of:EGLImageTargetTextureStorageEXT
-
-