Class EXTMemoryObjectFD



  • public class EXTMemoryObjectFD
    extends java.lang.Object
    Native bindings to the EXT_memory_object_fd extension.

    Building upon the OpenGL memory object and semaphore framework defined in EXT_external_objects this extension enables an OpenGL application to import a memory object or semaphore from POSIX file descriptor external handles.

    Requires EXT_memory_object and ARB_texture_storage or a version of OpenGL that incorporates it.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int GL_HANDLE_TYPE_OPAQUE_FD_EXT
      Accepted by the handleType parameter of ImportMemoryFdEXT() or ImportSemaphoreFdEXT().
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void glImportMemoryFdEXT(int memory, long size, int handleType, int fd) 
      static void glImportSemaphoreFdEXT(int semaphore, int handleType, int fd) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • GL_HANDLE_TYPE_OPAQUE_FD_EXT

        public static final int GL_HANDLE_TYPE_OPAQUE_FD_EXT
        Accepted by the handleType parameter of ImportMemoryFdEXT() or ImportSemaphoreFdEXT().
        See Also:
        Constant Field Values
    • Method Detail

      • glImportMemoryFdEXT

        public static void glImportMemoryFdEXT(int memory,
                                               long size,
                                               int handleType,
                                               int fd)
      • glImportSemaphoreFdEXT

        public static void glImportSemaphoreFdEXT(int semaphore,
                                                  int handleType,
                                                  int fd)