Merge "Small clarifications to EGL_ANDROID_presentation_time"
This commit is contained in:
commit
b83290c7b7
@ -10,6 +10,7 @@ Contributors
|
|||||||
|
|
||||||
Jamie Gennis
|
Jamie Gennis
|
||||||
Andy McFadden
|
Andy McFadden
|
||||||
|
Jesse Hall
|
||||||
|
|
||||||
Contact
|
Contact
|
||||||
|
|
||||||
@ -21,7 +22,7 @@ Status
|
|||||||
|
|
||||||
Version
|
Version
|
||||||
|
|
||||||
Version 2, April 1, 2013
|
Version 3, June 26, 2013
|
||||||
|
|
||||||
Number
|
Number
|
||||||
|
|
||||||
@ -92,7 +93,9 @@ Changes to Chapter 3 of the EGL 1.2 Specification (EGL Functions and Errors)
|
|||||||
|
|
||||||
If the surface presentation time is successfully set, EGL_TRUE is
|
If the surface presentation time is successfully set, EGL_TRUE is
|
||||||
returned. Otherwise EGL_FALSE is returned and an appropriate error is
|
returned. Otherwise EGL_FALSE is returned and an appropriate error is
|
||||||
set.
|
set. If <dpy> is not the name of a valid, initialized EGLDisplay, an
|
||||||
|
EGL_BAD_DISPLAY error is generated. If <surface> is not a valid EGLSurface
|
||||||
|
then an EGL_BAD_SURFACE error is generated.
|
||||||
|
|
||||||
Issues
|
Issues
|
||||||
|
|
||||||
@ -110,9 +113,21 @@ Issues
|
|||||||
System.nanoTime() method, or from the native clock_gettime function by
|
System.nanoTime() method, or from the native clock_gettime function by
|
||||||
passing CLOCK_MONOTONIC as the clock identifier.
|
passing CLOCK_MONOTONIC as the clock identifier.
|
||||||
|
|
||||||
|
3. Should the presentation time be state which is used by eglSwapBuffers,
|
||||||
|
or should it be a new parameter to an extended variant of eglSwapBuffers?
|
||||||
|
|
||||||
|
RESOLVED: The presentation time should be new state which is used by
|
||||||
|
the existing eglSwapBuffers call. Adding new state composes better with
|
||||||
|
other (hypothetical) extensions that also modify the behavior of
|
||||||
|
eglSwapBuffers.
|
||||||
|
|
||||||
Revision History
|
Revision History
|
||||||
|
|
||||||
#1 (Jamie Gennis, April 1, 2013)
|
#3 (Jesse Hall, June 26, 2013)
|
||||||
|
- Enumerated errors generated by eglPresentationTimeANDROID.
|
||||||
|
- Added Issue #3 with resolution.
|
||||||
|
|
||||||
|
#2 (Jamie Gennis, April 1, 2013)
|
||||||
- Clarified how uses that either do or do not need an absolute time should
|
- Clarified how uses that either do or do not need an absolute time should
|
||||||
be handled.
|
be handled.
|
||||||
- Specified the eglPresentationTimeANDROID return value.
|
- Specified the eglPresentationTimeANDROID return value.
|
||||||
|
Loading…
Reference in New Issue
Block a user