summaryrefslogtreecommitdiffstats
path: root/opengl/specs
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-06-26 07:50:32 -0700
committerJesse Hall <jessehall@google.com>2013-06-26 07:50:32 -0700
commit5ac6c0a3ddbd4ff7680ba57c092c435d68eb9c13 (patch)
tree6d57a9bb5b502829d796b5f295de5b93df4bb616 /opengl/specs
parent0077db94d5bc579ae46635958fc92cc446edd16d (diff)
downloadframeworks_native-5ac6c0a3ddbd4ff7680ba57c092c435d68eb9c13.zip
frameworks_native-5ac6c0a3ddbd4ff7680ba57c092c435d68eb9c13.tar.gz
frameworks_native-5ac6c0a3ddbd4ff7680ba57c092c435d68eb9c13.tar.bz2
Small clarifications to EGL_ANDROID_presentation_time
Change-Id: I4365a981776ab0a5719c268258b87ff1418f9aeb
Diffstat (limited to 'opengl/specs')
-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.