Package org.lwjgl.egl
Class NVStreamFrameLimits
- java.lang.Object
-
- org.lwjgl.egl.NVStreamFrameLimits
-
public final class NVStreamFrameLimits extends java.lang.Object
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
Fields Modifier and Type Field Description static int
EGL_CONSUMER_MAX_FRAME_HINT_NV
EGL_PRODUCER_MAX_FRAME_HINT_NVAccepted as an attribute name in theattrib_list
parameter ofCreateStreamKHR
and as theattribute
parameter ofQueryStreamKHR
.
-
-
-
Field Detail
-
EGL_PRODUCER_MAX_FRAME_HINT_NV, EGL_CONSUMER_MAX_FRAME_HINT_NV
Accepted as an attribute name in theattrib_list
parameter ofCreateStreamKHR
and as theattribute
parameter ofQueryStreamKHR
.
-
-