summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/SurfaceFlinger.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-09-22 18:58:01 -0700
committerMathias Agopian <mathias@google.com>2010-09-22 18:58:01 -0700
commit6a9692424a88bf87b80870915946af401fd8dc1f (patch)
tree1774297abf6c0798881dd3007bc9ec5eaa5aaf9b /services/surfaceflinger/SurfaceFlinger.h
parent4d891e7db56c823a7baefd94fd3fb4af8b485ea9 (diff)
downloadframeworks_base-6a9692424a88bf87b80870915946af401fd8dc1f.zip
frameworks_base-6a9692424a88bf87b80870915946af401fd8dc1f.tar.gz
frameworks_base-6a9692424a88bf87b80870915946af401fd8dc1f.tar.bz2
add a way to toggle the h/w composer at runtime
to DISABLE the h/w composer: adb shell service call SurfaceFlinger 1008 i32 1 to ENABLE the h/w composer: adb shell service call SurfaceFlinger 1008 i32 0 the state is dumped in "dumpsys SurfaceFlinger" Change-Id: I23e2242d42c6e3fd5261a83332dd900b189e38ce
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.h')
-rw-r--r--services/surfaceflinger/SurfaceFlinger.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h
index 8e286e5..551e8e7 100644
--- a/services/surfaceflinger/SurfaceFlinger.h
+++ b/services/surfaceflinger/SurfaceFlinger.h
@@ -382,6 +382,7 @@ private:
// don't use a lock for these, we don't care
int mDebugRegion;
int mDebugBackground;
+ int mDebugDisableHWC;
volatile nsecs_t mDebugInSwapBuffers;
nsecs_t mLastSwapBufferTime;
volatile nsecs_t mDebugInTransaction;