public class EXTCompositor
extends java.lang.Object
This extension allows for the composition of multiple windows within a multi-partition EGL system. The extension allows a primary EGLContext and window to be created for each display. All other windows are created using non-displayable surfaces. A handle to each off-screen window is provided to the primary EGLContext to allow the composition of all non-displayable windows on a single display.
For each display, there is one EGLContext which has access to create on screen windows, this is call the primary context for this display. All other EGLContexts are referred to as secondary contexts.
This extension requires a multi-partition EGL driver to support asynchronous rendering of off screen surfaces.
Information assurance is provided by preventing context and surface creation by unregistered contexts and by preventing the non-primary contexts and surfaces from rendering to the display.
| Modifier and Type | Field and Description |
|---|---|
static int |
EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT
New attributes accepted by the
policy argument of CompositorSwapPolicyEXT. |
static int |
EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT
New attributes accepted by the
policy argument of CompositorSwapPolicyEXT. |
static int |
EGL_EXTERNAL_REF_ID_EXT
|
static int |
EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT
New attributes accepted by the
attrib_list argument of CreateContext. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
eglCompositorBindTexWindowEXT(int external_win_id) |
static boolean |
eglCompositorSetContextAttributesEXT(int external_ref_id,
int[] context_attributes)
Array version of:
CompositorSetContextAttributesEXT |
static boolean |
eglCompositorSetContextAttributesEXT(int external_ref_id,
java.nio.IntBuffer context_attributes) |
static boolean |
eglCompositorSetContextListEXT(int[] external_ref_ids)
Array version of:
CompositorSetContextListEXT |
static boolean |
eglCompositorSetContextListEXT(java.nio.IntBuffer external_ref_ids) |
static boolean |
eglCompositorSetSizeEXT(int external_win_id,
int width,
int height) |
static boolean |
eglCompositorSetWindowAttributesEXT(int external_win_id,
int[] window_attributes)
Array version of:
CompositorSetWindowAttributesEXT |
static boolean |
eglCompositorSetWindowAttributesEXT(int external_win_id,
java.nio.IntBuffer window_attributes) |
static boolean |
eglCompositorSetWindowListEXT(int external_ref_id,
int[] external_win_ids)
Array version of:
CompositorSetWindowListEXT |
static boolean |
eglCompositorSetWindowListEXT(int external_ref_id,
java.nio.IntBuffer external_win_ids) |
static boolean |
eglCompositorSwapPolicyEXT(int external_win_id,
int policy) |
static int |
neglCompositorSetContextAttributesEXT(int external_ref_id,
long context_attributes,
int num_entries) |
static int |
neglCompositorSetContextListEXT(long external_ref_ids,
int num_entries) |
static int |
neglCompositorSetWindowAttributesEXT(int external_win_id,
long window_attributes,
int num_entries) |
static int |
neglCompositorSetWindowListEXT(int external_ref_id,
long external_win_ids,
int num_entries) |
public static final int EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT
attrib_list argument of CreateContext.public static final int EGL_EXTERNAL_REF_ID_EXT
public static final int EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT
policy argument of CompositorSwapPolicyEXT.public static final int EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT
policy argument of CompositorSwapPolicyEXT.public static int neglCompositorSetContextListEXT(long external_ref_ids,
int num_entries)
public static boolean eglCompositorSetContextListEXT(java.nio.IntBuffer external_ref_ids)
public static int neglCompositorSetContextAttributesEXT(int external_ref_id,
long context_attributes,
int num_entries)
public static boolean eglCompositorSetContextAttributesEXT(int external_ref_id,
java.nio.IntBuffer context_attributes)
public static int neglCompositorSetWindowListEXT(int external_ref_id,
long external_win_ids,
int num_entries)
public static boolean eglCompositorSetWindowListEXT(int external_ref_id,
java.nio.IntBuffer external_win_ids)
public static int neglCompositorSetWindowAttributesEXT(int external_win_id,
long window_attributes,
int num_entries)
public static boolean eglCompositorSetWindowAttributesEXT(int external_win_id,
java.nio.IntBuffer window_attributes)
public static boolean eglCompositorBindTexWindowEXT(int external_win_id)
public static boolean eglCompositorSetSizeEXT(int external_win_id,
int width,
int height)
public static boolean eglCompositorSwapPolicyEXT(int external_win_id,
int policy)
public static boolean eglCompositorSetContextListEXT(int[] external_ref_ids)
CompositorSetContextListEXTpublic static boolean eglCompositorSetContextAttributesEXT(int external_ref_id,
int[] context_attributes)
CompositorSetContextAttributesEXTpublic static boolean eglCompositorSetWindowListEXT(int external_ref_id,
int[] external_win_ids)
CompositorSetWindowListEXTpublic static boolean eglCompositorSetWindowAttributesEXT(int external_win_id,
int[] window_attributes)
CompositorSetWindowAttributesEXTCopyright LWJGL. All Rights Reserved. License terms.