Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions extensions/EXT/EXT_EGL_image_storage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ Dependencies

The EGL_KHR_gl_texture_2D_image, EGL_KHR_gl_texture_cubemap_image,
EGL_KHR_gl_texture_3D_image, EGL_KHR_gl_renderbuffer_image,
EGL_KHR_vg_parent_image, and EGL_ANDROID_get_native_client_buffer
extensions provide additional functionality layered on EGL_KHR_image_base
and related to this extension.
EGL_KHR_vg_parent_image, EGL_ANDROID_get_native_client_buffer, and
EXT_image_dma_buf_import extensions provide additional functionality
layered on EGL_KHR_image_base and related to this extension.

EXT_direct_state_access, ARB_direct_state_access, and OpenGL 4.5 affect
the definition of this extension.
Expand Down Expand Up @@ -140,6 +140,18 @@ Samplers)
eglImageOES, or <target> is GL_TEXTURE_2D but <image> contains a cube map),
the error INVALID_OPERATION is generated.

If the EGL image was created was created using EGL_EXT_image_dma_buf_import,
then the following applies:

- <target> must be GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES. Otherwise,
the error INVALID_OPERATION is generated.
- if <target> is GL_TEXTURE_2D, then the resultant texture must have
a sized internal format with the same component ordering as the
dma-buf. If the GL is unable to determine such a format, the error
INVALID_OPERATION is generated.
- if <target> is GL_TEXTURE_EXTERNAL_OES, the internal format of the
texture is implementation defined.

If <attrib_list> is neither NULL nor a pointer to the value GL_NONE, the
error INVALID_VALUE is generated.

Expand Down