Class EXTCompositor
- java.lang.Object
-
- org.lwjgl.egl.EXTCompositor
-
public class EXTCompositor extends java.lang.ObjectNative bindings to the EXT_compositor extension.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.
-
-
Field Summary
Fields Modifier and Type Field Description static intEGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT
EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXTNew attributes accepted by thepolicyargument ofCompositorSwapPolicyEXT.static intEGL_EXTERNAL_REF_ID_EXTstatic intEGL_PRIMARY_COMPOSITOR_CONTEXT_EXTNew attributes accepted by theattrib_listargument ofCreateContext.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleaneglCompositorBindTexWindowEXT(int external_win_id)static booleaneglCompositorSetContextAttributesEXT(int external_ref_id, int[] context_attributes)Array version of:CompositorSetContextAttributesEXTstatic booleaneglCompositorSetContextAttributesEXT(int external_ref_id, java.nio.IntBuffer context_attributes)static booleaneglCompositorSetContextListEXT(int[] external_ref_ids)Array version of:CompositorSetContextListEXTstatic booleaneglCompositorSetContextListEXT(java.nio.IntBuffer external_ref_ids)static booleaneglCompositorSetSizeEXT(int external_win_id, int width, int height)static booleaneglCompositorSetWindowAttributesEXT(int external_win_id, int[] window_attributes)Array version of:CompositorSetWindowAttributesEXTstatic booleaneglCompositorSetWindowAttributesEXT(int external_win_id, java.nio.IntBuffer window_attributes)static booleaneglCompositorSetWindowListEXT(int external_ref_id, int[] external_win_ids)Array version of:CompositorSetWindowListEXTstatic booleaneglCompositorSetWindowListEXT(int external_ref_id, java.nio.IntBuffer external_win_ids)static booleaneglCompositorSwapPolicyEXT(int external_win_id, int policy)static intneglCompositorSetContextAttributesEXT(int external_ref_id, long context_attributes, int num_entries)static intneglCompositorSetContextListEXT(long external_ref_ids, int num_entries)static intneglCompositorSetWindowAttributesEXT(int external_win_id, long window_attributes, int num_entries)static intneglCompositorSetWindowListEXT(int external_ref_id, long external_win_ids, int num_entries)
-
-
-
Field Detail
-
EGL_PRIMARY_COMPOSITOR_CONTEXT_EXT
New attributes accepted by theattrib_listargument ofCreateContext.
-
EGL_COMPOSITOR_DROP_NEWEST_FRAME_EXT, EGL_COMPOSITOR_KEEP_NEWEST_FRAME_EXT
New attributes accepted by thepolicyargument ofCompositorSwapPolicyEXT.
-
-
Method Detail
-
neglCompositorSetContextListEXT
public static int neglCompositorSetContextListEXT(long external_ref_ids, int num_entries)
-
eglCompositorSetContextListEXT
public static boolean eglCompositorSetContextListEXT(java.nio.IntBuffer external_ref_ids)
-
neglCompositorSetContextAttributesEXT
public static int neglCompositorSetContextAttributesEXT(int external_ref_id, long context_attributes, int num_entries)
-
eglCompositorSetContextAttributesEXT
public static boolean eglCompositorSetContextAttributesEXT(int external_ref_id, java.nio.IntBuffer context_attributes)
-
neglCompositorSetWindowListEXT
public static int neglCompositorSetWindowListEXT(int external_ref_id, long external_win_ids, int num_entries)
-
eglCompositorSetWindowListEXT
public static boolean eglCompositorSetWindowListEXT(int external_ref_id, java.nio.IntBuffer external_win_ids)
-
neglCompositorSetWindowAttributesEXT
public static int neglCompositorSetWindowAttributesEXT(int external_win_id, long window_attributes, int num_entries)
-
eglCompositorSetWindowAttributesEXT
public static boolean eglCompositorSetWindowAttributesEXT(int external_win_id, java.nio.IntBuffer window_attributes)
-
eglCompositorBindTexWindowEXT
public static boolean eglCompositorBindTexWindowEXT(int external_win_id)
-
eglCompositorSetSizeEXT
public static boolean eglCompositorSetSizeEXT(int external_win_id, int width, int height)
-
eglCompositorSwapPolicyEXT
public static boolean eglCompositorSwapPolicyEXT(int external_win_id, int policy)
-
eglCompositorSetContextListEXT
public static boolean eglCompositorSetContextListEXT(int[] external_ref_ids)
Array version of:CompositorSetContextListEXT
-
eglCompositorSetContextAttributesEXT
public static boolean eglCompositorSetContextAttributesEXT(int external_ref_id, int[] context_attributes)Array version of:CompositorSetContextAttributesEXT
-
eglCompositorSetWindowListEXT
public static boolean eglCompositorSetWindowListEXT(int external_ref_id, int[] external_win_ids)Array version of:CompositorSetWindowListEXT
-
eglCompositorSetWindowAttributesEXT
public static boolean eglCompositorSetWindowAttributesEXT(int external_win_id, int[] window_attributes)Array version of:CompositorSetWindowAttributesEXT
-
-