summaryrefslogtreecommitdiffstats
path: root/opengl
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-06-26 14:51:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-06-26 14:51:25 +0000
commitb83290c7b79b7dee0bd1870617ceda063bfcc1f9 (patch)
treee617b53089ec9288f51744b5da92ed29fc69a531 /opengl
parentda22e6bf36a2a83efef83bd723714ea6af30f540 (diff)
parent5ac6c0a3ddbd4ff7680ba57c092c435d68eb9c13 (diff)
downloadframeworks_native-b83290c7b79b7dee0bd1870617ceda063bfcc1f9.zip
frameworks_native-b83290c7b79b7dee0bd1870617ceda063bfcc1f9.tar.gz
frameworks_native-b83290c7b79b7dee0bd1870617ceda063bfcc1f9.tar.bz2
Merge "Small clarifications to EGL_ANDROID_presentation_time"
Diffstat (limited to 'opengl')
-rw-r--r--opengl/specs/EGL_ANDROID_presentation_time.txt21
1 files changed, 18 insertions, 3 deletions
diff --git a/opengl/specs/EGL_ANDROID_presentation_time.txt b/opengl/specs/EGL_ANDROID_presentation_time.txt
index 09b3938..e1dab34 100644
--- a/opengl/specs/EGL_ANDROID_presentation_time.txt
+++ b/opengl/specs/EGL_ANDROID_presentation_time.txt
@@ -10,6 +10,7 @@ Contributors
Jamie Gennis
Andy McFadden
+ Jesse Hall
Contact
@@ -21,7 +22,7 @@ Status
Version
- Version 2, April 1, 2013
+ Version 3, June 26, 2013
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
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
@@ -110,9 +113,21 @@ Issues
System.nanoTime() method, or from the native clock_gettime function by
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
-#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
be handled.
- Specified the eglPresentationTimeANDROID return value.