commit | 61e04b92bdeafc6fca89052d14dab1bd0c384a71 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Sun Sep 09 17:48:42 2012 -0700 |
committer | Jamie Gennis <jgennis@google.com> | Mon Sep 10 13:27:23 2012 -0700 |
tree | bbc279dd485ae70f48b57cca2cc8b9daf46252cc | |
parent | 010dd4fb892aecf71e4631c22148fe57ef5b3958 [diff] |
SurfaceTexture: use eglWaitSync This change adds a compile-option to use eglWaitSyncANDROID to ensure that texturing operations that access the current buffer of a SurfaceTexture do not occur until the buffer is completely written. It also moves this synchronization into a new SurfaceTexture method called doGLFenceWait and changes SurfaceFlinger's Layer class to use that method rather than performing its own wait on the fence. Change-Id: I70afa88086ca7ff49a80e3cd03d423767db7cb88