-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
Name | ||
|
||
MESA_swap_control_tear | ||
|
||
Name Strings | ||
|
||
EGL_MESA_swap_control_tear | ||
|
||
Contributors | ||
|
||
Adam Jackson <[email protected]> | ||
|
||
The contributors to GLX_EXT_swap_control_tear: | ||
Brian Nguyen, NVIDIA, brnguyen at nvidia.com | ||
|
||
Contact | ||
|
||
Adam Jackson <[email protected]> | ||
|
||
Status | ||
|
||
DRAFT | ||
|
||
Version | ||
|
||
Version 1 (9 September 2020) | ||
|
||
Number | ||
|
||
XXX | ||
|
||
Dependencies | ||
|
||
EGL 1.1 or greater is required for eglSwapInterval. | ||
|
||
This specification is written against the EGL 1.5 specification. | ||
|
||
Overview | ||
|
||
This extension extends EGL by allowing a negative <interval> parameter to | ||
eglSwapInterval. The negative <interval> allows late swaps to occur without | ||
synchronization to the video frame. This reduces the visual stutter on late | ||
frames and reduces the stall on subsequent frames. | ||
|
||
IP Status | ||
|
||
There are no known IP issues. | ||
|
||
Issues | ||
|
||
1: Should there be queries? | ||
|
||
UNRESOLVED. GLX has them (as of GLX_EXT_swap_control), but EGL does not | ||
have any per-surface queries about swap intervals at all. | ||
|
||
New Procedures and Functions | ||
|
||
None | ||
|
||
New Tokens | ||
|
||
None | ||
|
||
Additions to the EGL 1.5 Specification | ||
|
||
In Section 3.10.3 of the EGL specification (Posting Semantics), | ||
to the paragraph beginning: | ||
|
||
"If <interval> is set to a value of 0, buffer swaps are not | ||
synchronized to a video frame..." | ||
|
||
Append: | ||
|
||
"If <interval> is negative, the minimum number of video frames between | ||
buffer swaps is the absolute value of <interval>. In this case, if | ||
abs(<interval>) video frames have already passed from the previous swap | ||
when the swap is ready to be performed, the swap will occur without | ||
synchronization to a video frame. When an unsynchronized swap happens, | ||
the missed frame will count towards the minimum number of video frames | ||
for the next swap." | ||
|
||
Errors | ||
|
||
None | ||
|
||
Version History | ||
|
||
1. 09 September 2020 - ajax | ||
Clone from GLX_EXT_swap_control_tear. |