Package org.lwjgl.egl

Class KHRLockSurface3


  • public class KHRLockSurface3
    extends java.lang.Object
    Native bindings to the KHR_lock_surface3 extension.

    This extension allows mapping color buffers of EGL surfaces into the client address space. This is useful primarily for software rendering on low-end devices which do not support EGL client rendering APIs, although it may be implemented efficiently on more capable devices as well.

    Requires EGL 1.4.

    • Field Detail

      • EGL_READ_SURFACE_BIT_KHR

        public static final int EGL_READ_SURFACE_BIT_KHR
        See Also:
        Constant Field Values
      • EGL_WRITE_SURFACE_BIT_KHR

        public static final int EGL_WRITE_SURFACE_BIT_KHR
        See Also:
        Constant Field Values
      • EGL_LOCK_SURFACE_BIT_KHR

        public static final int EGL_LOCK_SURFACE_BIT_KHR
        See Also:
        Constant Field Values
      • EGL_OPTIMAL_FORMAT_BIT_KHR

        public static final int EGL_OPTIMAL_FORMAT_BIT_KHR
        See Also:
        Constant Field Values
      • EGL_FORMAT_RGB_565_EXACT_KHR

        public static final int EGL_FORMAT_RGB_565_EXACT_KHR
        See Also:
        Constant Field Values
      • EGL_FORMAT_RGBA_8888_EXACT_KHR

        public static final int EGL_FORMAT_RGBA_8888_EXACT_KHR
        See Also:
        Constant Field Values
      • EGL_FORMAT_RGBA_8888_KHR

        public static final int EGL_FORMAT_RGBA_8888_KHR
        See Also:
        Constant Field Values
      • EGL_MAP_PRESERVE_PIXELS_KHR

        public static final int EGL_MAP_PRESERVE_PIXELS_KHR
        See Also:
        Constant Field Values
      • EGL_LOCK_USAGE_HINT_KHR

        public static final int EGL_LOCK_USAGE_HINT_KHR
        See Also:
        Constant Field Values
      • EGL_BITMAP_PIXEL_RED_OFFSET_KHR

        public static final int EGL_BITMAP_PIXEL_RED_OFFSET_KHR
        See Also:
        Constant Field Values
      • EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR

        public static final int EGL_BITMAP_PIXEL_GREEN_OFFSET_KHR
        See Also:
        Constant Field Values
      • EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR

        public static final int EGL_BITMAP_PIXEL_BLUE_OFFSET_KHR
        See Also:
        Constant Field Values
      • EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR

        public static final int EGL_BITMAP_PIXEL_ALPHA_OFFSET_KHR
        See Also:
        Constant Field Values
      • EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR

        public static final int EGL_BITMAP_PIXEL_LUMINANCE_OFFSET_KHR
        See Also:
        Constant Field Values
      • EGL_BITMAP_PIXEL_SIZE_KHR

        public static final int EGL_BITMAP_PIXEL_SIZE_KHR
        See Also:
        Constant Field Values
    • Method Detail

      • neglLockSurfaceKHR

        public static int neglLockSurfaceKHR​(long dpy,
                                             long surface,
                                             long attrib_list)
      • eglLockSurfaceKHR

        public static boolean eglLockSurfaceKHR​(long dpy,
                                                long surface,
                                                @Nullable
                                                java.nio.IntBuffer attrib_list)
      • eglUnlockSurfaceKHR

        public static boolean eglUnlockSurfaceKHR​(long dpy,
                                                  long surface)
      • neglQuerySurface64KHR

        public static int neglQuerySurface64KHR​(long dpy,
                                                long surface,
                                                int attribute,
                                                long value)
      • eglQuerySurface64KHR

        public static boolean eglQuerySurface64KHR​(long dpy,
                                                   long surface,
                                                   int attribute,
                                                   PointerBuffer value)
      • eglLockSurfaceKHR

        public static boolean eglLockSurfaceKHR​(long dpy,
                                                long surface,
                                                @Nullable
                                                int[] attrib_list)
        Array version of: LockSurfaceKHR