Top Description Constructors Methods
org.lwjgl.opengl

public Class EXTEGLImageStorage

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Native bindings to the EXT_EGL_image_storage extension.

The OpenGL ES extension OES_EGL_image provides a mechanism for creating GL textures sharing storage with EGLImage objects (in other words, creating GL texture EGLImage targets). 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 calling TexImage* on a texture that is an EGLImage target 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 EGLImage targets 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.2 or ARB_texture_storage. Requires EGL 1.4 and either the EGL_KHR_image or EGL_KHR_image_base extensions.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glEGLImageTargetTexStorageEXT(int target, long image, IntBuffer attrib_list)

public static void
glEGLImageTargetTexStorageEXT(int target, long image, int[] attrib_list)

Array version of: EGLImageTargetTexStorageEXT

public static void
glEGLImageTargetTextureStorageEXT(int texture, long image, IntBuffer attrib_list)

public static void
glEGLImageTargetTextureStorageEXT(int texture, long image, int[] attrib_list)

Array version of: EGLImageTargetTextureStorageEXT

public static native void
nglEGLImageTargetTexStorageEXT(int target, long image, long attrib_list)

public static native void
nglEGLImageTargetTextureStorageEXT(int texture, long image, long attrib_list)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EXTEGLImageStorageback to summary
protected EXTEGLImageStorage()

Method Detail

glEGLImageTargetTexStorageEXTback to summary
public static void glEGLImageTargetTexStorageEXT(int target, long image, IntBuffer attrib_list)
glEGLImageTargetTexStorageEXTback to summary
public static void glEGLImageTargetTexStorageEXT(int target, long image, int[] attrib_list)

Array version of: EGLImageTargetTexStorageEXT

glEGLImageTargetTextureStorageEXTback to summary
public static void glEGLImageTargetTextureStorageEXT(int texture, long image, IntBuffer attrib_list)
glEGLImageTargetTextureStorageEXTback to summary
public static void glEGLImageTargetTextureStorageEXT(int texture, long image, int[] attrib_list)

Array version of: EGLImageTargetTextureStorageEXT

nglEGLImageTargetTexStorageEXTback to summary
public static native void nglEGLImageTargetTexStorageEXT(int target, long image, long attrib_list)
nglEGLImageTargetTextureStorageEXTback to summary
public static native void nglEGLImageTargetTextureStorageEXT(int texture, long image, long attrib_list)