Package org.lwjgl.egl
Class NVStreamFrameLimits
java.lang.Object
org.lwjgl.egl.NVStreamFrameLimits
Native bindings to the NV_stream_frame_limits extension.
Some stream consumers may allow more than one frame to be acquired at a time, so that applications can operate on sequences of images rather than individual images. This in turn may lead to producers allocating additional buffers to keep the fifo full while fulfilling the consumer's needs. Applications may wish to limit the resources allocated for a given stream, and some stream implementations may be able to operate more efficiently if they know in advance how many buffers will be used.
This extension defines two new stream attributes which provide hints as to how many frames the application will require, allowing the implementation to plan accordingly.
Requires KHR_stream
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Accepted as an attribute name in theattrib_list
parameter ofCreateStreamKHR
and as theattribute
parameter ofQueryStreamKHR
.static final int
Accepted as an attribute name in theattrib_list
parameter ofCreateStreamKHR
and as theattribute
parameter ofQueryStreamKHR
. -
Method Summary
-
Field Details
-
EGL_PRODUCER_MAX_FRAME_HINT_NV
public static final int EGL_PRODUCER_MAX_FRAME_HINT_NVAccepted as an attribute name in theattrib_list
parameter ofCreateStreamKHR
and as theattribute
parameter ofQueryStreamKHR
.- See Also:
-
EGL_CONSUMER_MAX_FRAME_HINT_NV
public static final int EGL_CONSUMER_MAX_FRAME_HINT_NVAccepted as an attribute name in theattrib_list
parameter ofCreateStreamKHR
and as theattribute
parameter ofQueryStreamKHR
.- See Also:
-