This extension allows creating an EGLClientBuffer backed by an Android window buffer (struct ANativeWindowBuffer) which can be later
used to create an EGLImage.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | EGL_NATIVE_BUFFER_USAGE_ANDROID
The usage bits of the buffer data. |
| public static final int | EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID
Indicates that the created buffer must have a hardware-protected path to external display sink. |
| public static final int | EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID
The buffer will be used to create a renderbuffer. |
| public static final int | EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID
The buffer will be used to create a texture. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static long | eglCreateNativeClientBufferANDROID(IntBuffer
a list of attribute-value pairs which is used to specify the dimensions, format, and usage of the underlying buffer structure. If it is non- attrib_list)NULL,
the last attribute specified in the list must be NONE.May be used to create an |
| public static long | eglCreateNativeClientBufferANDROID(int[] attrib_list)
Array version of: |
| public static long | neglCreateNativeClientBufferANDROID(long attrib_list)
Unsafe version of: |
| EGL_NATIVE_BUFFER_USAGE_ANDROID | back to summary |
|---|---|
| public static final int EGL_NATIVE_BUFFER_USAGE_ANDROID The usage bits of the buffer data. | |
| EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID | back to summary |
|---|---|
| public static final int EGL_NATIVE_BUFFER_USAGE_PROTECTED_BIT_ANDROID Indicates that the created buffer must have a hardware-protected path to external display sink. If a hardware-protected path is not available, then either don't composite only this buffer (preferred) to the external sink, or (less desirable) do not route the entire composition to the external sink. | |
| EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID | back to summary |
|---|---|
| public static final int EGL_NATIVE_BUFFER_USAGE_RENDERBUFFER_BIT_ANDROID The buffer will be used to create a renderbuffer. This flag must not be set if | |
| EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID | back to summary |
|---|---|
| public static final int EGL_NATIVE_BUFFER_USAGE_TEXTURE_BIT_ANDROID The buffer will be used to create a texture. This flag must not be set if | |
| ANDROIDCreateNativeClientBuffer | back to summary |
|---|---|
| protected ANDROIDCreateNativeClientBuffer() | |
| eglCreateNativeClientBufferANDROID | back to summary |
|---|---|
| public static long eglCreateNativeClientBufferANDROID(IntBuffer attrib_list) May be used to create an
| |
| eglCreateNativeClientBufferANDROID | back to summary |
|---|---|
| public static long eglCreateNativeClientBufferANDROID(int[] attrib_list) Array version of:
| |
| neglCreateNativeClientBufferANDROID | back to summary |
|---|---|
| public static long neglCreateNativeClientBufferANDROID(long attrib_list) Unsafe version of: | |