summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Layer.h
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2013-02-05 13:30:24 -0800
committerJamie Gennis <jgennis@google.com>2013-02-08 13:32:21 -0800
commit4b0eba949cc026ffb2c75313042d8a7bcb3fcf86 (patch)
treea860bceded96363d6ff068fd586863be689ed0b0 /services/surfaceflinger/Layer.h
parent33c544c4d3af8bae518474df6a9da9b7c349b91a (diff)
downloadframeworks_native-4b0eba949cc026ffb2c75313042d8a7bcb3fcf86.zip
frameworks_native-4b0eba949cc026ffb2c75313042d8a7bcb3fcf86.tar.gz
frameworks_native-4b0eba949cc026ffb2c75313042d8a7bcb3fcf86.tar.bz2
SurfaceFlinger: add win anim frame time tracking
This change makes the 'dumpsys SurfaceFlinger --latency' command with no extra args dump the frame timestamp data for the most recent frames that SurfaceFlinger generated that included window animation transaction changes. Change-Id: I8bded1ea08a4cddefef0aa955401052bb9107c90
Diffstat (limited to 'services/surfaceflinger/Layer.h')
-rw-r--r--services/surfaceflinger/Layer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.h b/services/surfaceflinger/Layer.h
index ef829ed..a82767b 100644
--- a/services/surfaceflinger/Layer.h
+++ b/services/surfaceflinger/Layer.h
@@ -129,6 +129,7 @@ private:
// thread-safe
volatile int32_t mQueuedFrames;
+ FrameTracker mFrameTracker;
// main thread
sp<GraphicBuffer> mActiveBuffer;
@@ -138,7 +139,6 @@ private:
bool mCurrentOpacity;
bool mRefreshPending;
bool mFrameLatencyNeeded;
- FrameTracker mFrameTracker;
// constants
PixelFormat mFormat;