Package org.lwjgl.egl
Class NVStreamFIFONext
java.lang.Object
org.lwjgl.egl.NVStreamFIFONext
Native bindings to the NV_stream_fifo_next extension.
When operating on a FIFO stream, a consumer may need to know the timestamp associated with the next frame in the stream before deciding whether to
acquire it or reuse the previous frame. In the case of a FIFO size of 1, the STREAM_TIME_PRODUCER_KHR
attribute is sufficient to determine this.
However, when the size is greater than 1, there may be frames available with earlier time stamps than the one most recently inserted by the producer.
This extension enables querying of the next pending frame in a stream.
Requires KHR_stream_fifo
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Accepted as theattribute
parameter ofQueryStreamu64KHR
.static final int
Accepted as theattribute
parameter ofQueryStreamTimeKHR
. -
Method Summary
-
Field Details
-
EGL_PENDING_FRAME_NV
public static final int EGL_PENDING_FRAME_NVAccepted as theattribute
parameter ofQueryStreamu64KHR
.- See Also:
-
EGL_STREAM_TIME_PENDING_NV
public static final int EGL_STREAM_TIME_PENDING_NVAccepted as theattribute
parameter ofQueryStreamTimeKHR
.- See Also:
-