Top Description Fields Constructors Methods
org.lwjgl.egl

public final Class NVStreamRemote

extends Object
Class Inheritance

Native bindings to the NV_stream_remote extension.

This extension provides a generic framework for establishing stream connections when the producer and consumer endpoints are not associated with the same EGLStream object. The cross-process streams allowed by the KHR_stream_cross_process_fd extension are one example of such a connection. Other potential examples include streams between objects associated with different EGLDisplays in a single process, streams between processes residing in separate virtual machine partitions on a single system, or streams between entirely separate systems connected via the internet.

The approach used by KHR_stream_cross_process_fd has several drawbacks:

Rather than implement new connection types using this model, we propose a more generic approach that does not require a proliferation of new interfaces and avoids any ambiguities in how the stream will be used. These extensions can coexist with KHR_stream_cross_process_fd, but allow for more control of stream communication by the applications.

These extensions provide the framework with which arbitrary stream object pairs can be established, but by themselves are insufficient to create such pairs. In addition, a separate extension must be used to determine the protocol by which the two objects will communicate. See for example the NV_stream_socket extension.

Several optional types of separate stream objects are defined, with successive levels of remoteness. It should be assumed that a more remote type will be less efficient in transfering images, and therefore applications should choose the least remote type available that is compatible with their use cases.

Requires KHR_stream.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
EGL_STREAM_CROSS_DISPLAY_NV

When NV_stream_cross_display is present, accepted by CreateStreamKHR and CreateStreamAttribKHR and returned by QueryStreamKHR and QueryStreamAttribKHR as value for attribute STREAM_TYPE_NV.

public static final int
EGL_STREAM_CROSS_OBJECT_NV

When NV_stream_cross_object is present, accepted by CreateStreamKHR and CreateStreamAttribKHR and returned by QueryStreamKHR and QueryStreamAttribKHR as value for attribute STREAM_TYPE_NV.

public static final int
EGL_STREAM_CROSS_PARTITION_NV

When NV_stream_cross_partition is present, accepted by CreateStreamKHR and CreateStreamAttribKHR and returned by QueryStreamKHR and QueryStreamAttribKHR as value for attribute STREAM_TYPE_NV.

public static final int
EGL_STREAM_CROSS_PROCESS_NV

When NV_stream_cross_process is present, accepted as value for attribute STREAM_TYPE_NV by CreateStreamKHR and CreateStreamAttribKHR.

public static final int
EGL_STREAM_CROSS_SYSTEM_NV

When NV_stream_cross_system is present, accepted by CreateStreamKHR and CreateStreamAttribKHR and returned by QueryStreamKHR and QueryStreamAttribKHR as value for attribute STREAM_TYPE_NV.

public static final int
public static final int
public static final int
public static final int
EGL_STREAM_PROTOCOL_FD_NV

If KHR_stream_cross_process_fd is present, returned by QueryStreamKHR and QueryStreamAttribKHR when attribute is STREAM_PROTOCOL_NV.

public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EGL_STREAM_CONSUMER_NVback to summary
public static final int EGL_STREAM_CONSUMER_NV

Accepted by CreateStreamKHR and CreateStreamAttribKHR, and returned by QueryStreamKHR and QueryStreamAttribKHR when attribute is STREAM_ENDPOINT_NV.

EGL_STREAM_CROSS_DISPLAY_NVback to summary
public static final int EGL_STREAM_CROSS_DISPLAY_NV

When NV_stream_cross_display is present, accepted by CreateStreamKHR and CreateStreamAttribKHR and returned by QueryStreamKHR and QueryStreamAttribKHR as value for attribute STREAM_TYPE_NV.

EGL_STREAM_CROSS_OBJECT_NVback to summary
public static final int EGL_STREAM_CROSS_OBJECT_NV

When NV_stream_cross_object is present, accepted by CreateStreamKHR and CreateStreamAttribKHR and returned by QueryStreamKHR and QueryStreamAttribKHR as value for attribute STREAM_TYPE_NV.

EGL_STREAM_CROSS_PARTITION_NVback to summary
public static final int EGL_STREAM_CROSS_PARTITION_NV

When NV_stream_cross_partition is present, accepted by CreateStreamKHR and CreateStreamAttribKHR and returned by QueryStreamKHR and QueryStreamAttribKHR as value for attribute STREAM_TYPE_NV.

EGL_STREAM_CROSS_PROCESS_NVback to summary
public static final int EGL_STREAM_CROSS_PROCESS_NV

When NV_stream_cross_process is present, accepted as value for attribute STREAM_TYPE_NV by CreateStreamKHR and CreateStreamAttribKHR. When either NV_stream_cross_process or KHR_stream_cross_process_fd is present, returned by QueryStreamKHR and QueryStreamAttribKHR for attribute STREAM_TYPE_NV.

EGL_STREAM_CROSS_SYSTEM_NVback to summary
public static final int EGL_STREAM_CROSS_SYSTEM_NV

When NV_stream_cross_system is present, accepted by CreateStreamKHR and CreateStreamAttribKHR and returned by QueryStreamKHR and QueryStreamAttribKHR as value for attribute STREAM_TYPE_NV.

EGL_STREAM_ENDPOINT_NVback to summary
public static final int EGL_STREAM_ENDPOINT_NV

Accepted as attribute names in CreateStreamKHR, CreateStreamAttribKHR, QueryStreamKHR, and QueryStreamAttribKHR.

EGL_STREAM_LOCAL_NVback to summary
public static final int EGL_STREAM_LOCAL_NV

Accepted by CreateStreamKHR and CreateStreamAttribKHR, and returned by QueryStreamKHR and QueryStreamAttribKHR, as value when attribute is STREAM_TYPE_NV, STREAM_PROTOCOL_NV or STREAM_ENDPOINT_NV.

EGL_STREAM_PRODUCER_NVback to summary
public static final int EGL_STREAM_PRODUCER_NV

Accepted by CreateStreamKHR and CreateStreamAttribKHR, and returned by QueryStreamKHR and QueryStreamAttribKHR when attribute is STREAM_ENDPOINT_NV.

EGL_STREAM_PROTOCOL_FD_NVback to summary
public static final int EGL_STREAM_PROTOCOL_FD_NV

If KHR_stream_cross_process_fd is present, returned by QueryStreamKHR and QueryStreamAttribKHR when attribute is STREAM_PROTOCOL_NV.

EGL_STREAM_PROTOCOL_NVback to summary
public static final int EGL_STREAM_PROTOCOL_NV

Accepted as attribute names in CreateStreamKHR, CreateStreamAttribKHR, QueryStreamKHR, and QueryStreamAttribKHR.

EGL_STREAM_STATE_INITIALIZING_NVback to summary
public static final int EGL_STREAM_STATE_INITIALIZING_NV

Returned by QueryStreamKHR and QueryStreamAttribKHR when attribute is STREAM_STATE_KHR.

EGL_STREAM_TYPE_NVback to summary
public static final int EGL_STREAM_TYPE_NV

Accepted as attribute names in CreateStreamKHR, CreateStreamAttribKHR, QueryStreamKHR, and QueryStreamAttribKHR.

Constructor Detail

NVStreamRemoteback to summary
private NVStreamRemote()