public final class NVStreamFrameLimits
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static int |
EGL_CONSUMER_MAX_FRAME_HINT_NV
Accepted as an attribute name in the
attrib_list parameter of CreateStreamKHR and as the attribute parameter of QueryStreamKHR. |
static int |
EGL_PRODUCER_MAX_FRAME_HINT_NV
Accepted as an attribute name in the
attrib_list parameter of CreateStreamKHR and as the attribute parameter of QueryStreamKHR. |
public static final int EGL_PRODUCER_MAX_FRAME_HINT_NV
attrib_list parameter of CreateStreamKHR and as the attribute parameter of QueryStreamKHR.public static final int EGL_CONSUMER_MAX_FRAME_HINT_NV
attrib_list parameter of CreateStreamKHR and as the attribute parameter of QueryStreamKHR.Copyright LWJGL. All Rights Reserved. License terms.