1Name 2 3 NV_stream_fifo_next 4 5Name Strings 6 7 EGL_NV_stream_fifo_next 8 9Contributors 10 11 Daniel Kartch 12 Miguel A. Vico 13 14Contacts 15 16 Daniel Kartch, NVIDIA (dkartch 'at' nvidia.com) 17 18Status 19 20 Draft 21 22Version 23 24 Version 3 - October 27, 2016 25 26Number 27 28 EGL Extension #110 29 30Extension Type 31 32 EGL display extension 33 34Dependencies 35 36 Requires EGL_KHR_stream_fifo 37 38Overview 39 40 When operating on a FIFO stream, a consumer may need to know the 41 timestamp associated with the next frame in the stream before 42 deciding whether to acquire it or reuse the previous frame. In the 43 case of a FIFO size of 1, the EGL_STREAM_TIME_PRODUCER_KHR attribute 44 is sufficient to determine this. However, when the size is greater 45 than 1, there may be frames available with earlier time stamps than 46 the one most recently inserted by the producer. This extension 47 enables querying of the next pending frame in a stream. 48 49New Types 50 51 None 52 53New Functions 54 55 None 56 57New Tokens 58 59 Accepted as the <attribute> parameter of eglQueryStreamu64KHR 60 61 EGL_PENDING_FRAME_NV 0x3329 62 63 Accepted as the <attribute> parameter of eglQueryStreamTimeKHR 64 65 EGL_STREAM_TIME_PENDING_NV 0x332A 66 67Add to "Table 3.10.4.4 EGLStream Attributes" in the EGL_KHR_stream 68extension spec: 69 70 Attribute Read/Write Type Section 71 -------------------------- ---------- ------------ -------- 72 EGL_PENDING_FRAME_NV ro EGLuint64KHR 3.10.4.x 73 EGL_STREAM_TIME_PENDING_NV ro EGLTimeKHR 3.10.4.y 74 75Add new subsections to section "3.10.4 EGLStream Attributes" in the 76EGL_KHR_stream extension spec 77 78 3.10.4.x EGL_PENDING_FRAME_NV Attribute 79 80 The EGL_PENDING_FRAME_NV attribute indicates the frame number of the 81 image frame that would be obtained if an acquire operation were 82 performed at the time of the query. This is the value that 83 EGL_PRODUCER_FRAME_KHR contained just after this image frame was 84 inserted into the stream. 85 86 3.10.4.y EGL_STREAM_TIME_PENDING_NV Attribute 87 88 The EGL_STREAM_TIME_PENDING_NV attribute indicates the timestamp of 89 the image frame that would be obtained if an acquire operation were 90 performed at the time of the query. 91 92Issues 93 94 None 95 96Revision History 97 98 #3 (October 27, 2016) Daniel Kartch 99 - Clean up for publication 100 101 #2 (April 2nd, 2015) Miguel A. Vico 102 - Assigned enumerated values for constants. 103 104 #1 (March 20th, 2015) Daniel Kartch 105 - Initial draft 106