| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static ByteBuffer | |
| public static boolean | Returns: true if the binding was successfulthe video slot video_slot, long the video device video_device, IntBuffer the attributes to use attrib_list)Binds the video output device specified to one of the context's available video output slots. |
| public static int | Returns: the number of available video output devicesthe buffer to store devices in devices)Enumerate the available video output devices. |
| public static boolean | glQueryContextNV(int
the attribute to query attrib, IntBuffer the buffer to store the value in value)Queries an attribute associated with the current context. |
| private static native boolean | nglBindVideoDeviceNV(ByteBuffer peer_info, int video_slot, long video_device, IntBuffer attrib_list, int attrib_list_position)
|
| private static native int | |
| private static native boolean | nglQueryContextNV(ByteBuffer peer_info, ByteBuffer context_handle, int attrib, IntBuffer value, int value_position)
|
| NVPresentVideoUtil | back to summary |
|---|---|
| private NVPresentVideoUtil() | |
| checkExtension | back to summary |
|---|---|
| private static void checkExtension() | |
| getPeerInfo | back to summary |
|---|---|
| private static ByteBuffer getPeerInfo() | |
| glBindVideoDeviceNV | back to summary |
|---|---|
| public static boolean glBindVideoDeviceNV(int video_slot, long video_device, IntBuffer attrib_list) Binds the video output device specified to one of the context's available video output slots. This method is the cross-platform equivalent of glXBindVideoDeviceNV and wglBindVideoDeviceNV. To release a video device without binding another device to the same slot, call it with video_device set to 0 (will use INVALID_HANDLE_VALUE on WGL).
| |
| glEnumerateVideoDevicesNV | back to summary |
|---|---|
| public static int glEnumerateVideoDevicesNV(LongBuffer devices) Enumerate the available video output devices. This method is the cross-platform equivalent of glXEnumerateVideoDevicesNV and wglEnumerateVideoDevicesNV. Since they are not really compatible, this method works like the WGL version. That is, you first call it with a null devices buffer, get the number of devices, then call it again with an appropriately sized buffer.
| |
| glQueryContextNV | back to summary |
|---|---|
| public static boolean glQueryContextNV(int attrib, IntBuffer value) Queries an attribute associated with the current context. This method is the cross-platform equivalent of glXQueryContext and wglQueryCurrentContextNV.
| |
| nglBindVideoDeviceNV | back to summary |
|---|---|
| private static native boolean nglBindVideoDeviceNV(ByteBuffer peer_info, int video_slot, long video_device, IntBuffer attrib_list, int attrib_list_position) | |
| nglEnumerateVideoDevicesNV | back to summary |
|---|---|
| private static native int nglEnumerateVideoDevicesNV(ByteBuffer peer_info, LongBuffer devices, int devices_position) | |
| nglQueryContextNV | back to summary |
|---|---|
| private static native boolean nglQueryContextNV(ByteBuffer peer_info, ByteBuffer context_handle, int attrib, IntBuffer value, int value_position) | |