diff options
| author | 2012-09-09 17:48:42 -0700 | |
|---|---|---|
| committer | 2012-09-10 13:27:23 -0700 | |
| commit | 61e04b92bdeafc6fca89052d14dab1bd0c384a71 (patch) | |
| tree | bbc279dd485ae70f48b57cca2cc8b9daf46252cc /libs/utils/SystemClock.cpp | |
| 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
Diffstat (limited to 'libs/utils/SystemClock.cpp')
0 files changed, 0 insertions, 0 deletions