summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-07-24 10:36:08 -0700
committerJohn Reck <jreck@google.com>2014-07-24 10:36:08 -0700
commit09d5cddf67b676018700bcc10a72242641cd7eec (patch)
tree92b8ab435be040a30ba9cb2d77246aaaca68e5a1 /include
parent4f994eb2ddbe68b0eada89dcaae34c079df55c7e (diff)
downloadframeworks_base-09d5cddf67b676018700bcc10a72242641cd7eec.zip
frameworks_base-09d5cddf67b676018700bcc10a72242641cd7eec.tar.gz
frameworks_base-09d5cddf67b676018700bcc10a72242641cd7eec.tar.bz2
Add kModeSync
Bug: 16526750 Change-Id: I4c087160e80432739321172fd57880846c8de6e0
Diffstat (limited to 'include')
-rw-r--r--include/private/hwui/DrawGlInfo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/private/hwui/DrawGlInfo.h b/include/private/hwui/DrawGlInfo.h
index a357a01..f578513 100644
--- a/include/private/hwui/DrawGlInfo.h
+++ b/include/private/hwui/DrawGlInfo.h
@@ -58,7 +58,12 @@ struct DrawGlInfo {
kModeProcess,
// Same as kModeProcess, however there is no GL context because it was
// lost or destroyed
- kModeProcessNoContext
+ kModeProcessNoContext,
+ // Invoked every time the UI thread pushes over a frame to the render thread
+ // *and the owning view has a dirty display list*. This is a signal to sync
+ // any data that needs to be shared between the UI thread and the render thread.
+ // During this time the UI thread is blocked.
+ kModeSync
};
/**