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 |
|---|---|
| public static final int | EGL_CONSUMER_MAX_FRAME_HINT_NV
Accepted as an attribute name in the |
| public static final int | EGL_PRODUCER_MAX_FRAME_HINT_NV
Accepted as an attribute name in the |
| Access | Constructor and Description |
|---|---|
| private |
| EGL_CONSUMER_MAX_FRAME_HINT_NV | back to summary |
|---|---|
| public static final int EGL_CONSUMER_MAX_FRAME_HINT_NV Accepted as an attribute name in the | |
| EGL_PRODUCER_MAX_FRAME_HINT_NV | back to summary |
|---|---|
| public static final int EGL_PRODUCER_MAX_FRAME_HINT_NV Accepted as an attribute name in the | |
| NVStreamFrameLimits | back to summary |
|---|---|
| private NVStreamFrameLimits() | |