OSDN Git Service

SurfaceTexture: default to doing GL sync
authorJamie Gennis <jgennis@google.com>
Mon, 17 Sep 2012 23:58:17 +0000 (16:58 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 18 Sep 2012 17:59:40 +0000 (10:59 -0700)
commit3941cb240d438bfdebe24920bb2ada86456a0bf9
tree199bc20b70e5be24a8cc987b4bdaec813a01f7b3
parent8dfa92fef9759a881e96ee58d59875d35023aab9
SurfaceTexture: default to doing GL sync

This change makes updateTexImage default to performing the necessary
synchronization and adds an argument for SurfaceFlinger to disable that
synchronization so that it can be performed lazily.

Change-Id: I7c20923cc786634126fbf7021c9d2541aa77be5d
Bug: 6991805
include/gui/SurfaceTexture.h
libs/gui/SurfaceTexture.cpp
services/surfaceflinger/Layer.cpp