summaryrefslogtreecommitdiff
path: root/glew/auto/EGL-Registry/extensions/NV/EGL_NV_stream_fifo_next.txt
blob: 8199487ed7cd02174a962f5bb006827a13b5bacd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
Name

    NV_stream_fifo_next

Name Strings

    EGL_NV_stream_fifo_next

Contributors

    Daniel Kartch
    Miguel A. Vico

Contacts

    Daniel Kartch, NVIDIA (dkartch 'at' nvidia.com)

Status

    Draft

Version

    Version 3 - October 27, 2016

Number

    EGL Extension #110

Extension Type

    EGL display extension

Dependencies

    Requires EGL_KHR_stream_fifo

Overview

    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 EGL_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.

New Types

    None

New Functions

    None

New Tokens

    Accepted as the <attribute> parameter of eglQueryStreamu64KHR

        EGL_PENDING_FRAME_NV                        0x3329

    Accepted as the <attribute> parameter of eglQueryStreamTimeKHR

        EGL_STREAM_TIME_PENDING_NV                  0x332A

Add to "Table 3.10.4.4 EGLStream Attributes" in the EGL_KHR_stream
extension spec:

        Attribute                  Read/Write Type         Section
        -------------------------- ---------- ------------ --------
        EGL_PENDING_FRAME_NV           ro     EGLuint64KHR 3.10.4.x
        EGL_STREAM_TIME_PENDING_NV     ro     EGLTimeKHR   3.10.4.y

Add new subsections to section "3.10.4 EGLStream Attributes" in the
EGL_KHR_stream extension spec

    3.10.4.x EGL_PENDING_FRAME_NV Attribute

    The EGL_PENDING_FRAME_NV attribute indicates the frame number of the
    image frame that would be obtained if an acquire operation were
    performed at the time of the query. This is the value that
    EGL_PRODUCER_FRAME_KHR contained just after this image frame was
    inserted into the stream.

    3.10.4.y EGL_STREAM_TIME_PENDING_NV Attribute

    The EGL_STREAM_TIME_PENDING_NV attribute indicates the timestamp of
    the image frame that would be obtained if an acquire operation were
    performed at the time of the query.

Issues

    None

Revision History

    #3  (October 27, 2016) Daniel Kartch
        - Clean up for publication

    #2  (April 2nd, 2015) Miguel A. Vico
        - Assigned enumerated values for constants.

    #1  (March 20th, 2015) Daniel Kartch
        - Initial draft