summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-06-01 15:12:58 -0700
committerMathias Agopian <mathias@google.com>2010-06-04 18:57:41 -0700
commitb7e930db175c192464cebdeb49eb56cf6dd60114 (patch)
tree15f475afd3e4d6462587368154f84623defd2776 /include/private
parent96f0819f81293076e652792794a961543e6750d7 (diff)
downloadframeworks_native-b7e930db175c192464cebdeb49eb56cf6dd60114.zip
frameworks_native-b7e930db175c192464cebdeb49eb56cf6dd60114.tar.gz
frameworks_native-b7e930db175c192464cebdeb49eb56cf6dd60114.tar.bz2
split surface management from surface's buffers management
Change-Id: If3c5655d1231f8f0c49ba68f972b1b20c93b3f87
Diffstat (limited to 'include/private')
-rw-r--r--include/private/surfaceflinger/SharedBufferStack.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/private/surfaceflinger/SharedBufferStack.h b/include/private/surfaceflinger/SharedBufferStack.h
index dcce25e..c11c855 100644
--- a/include/private/surfaceflinger/SharedBufferStack.h
+++ b/include/private/surfaceflinger/SharedBufferStack.h
@@ -122,7 +122,8 @@ public:
volatile int8_t index[NUM_BUFFER_MAX];
int32_t identity; // surface's identity (const)
- int32_t reserved32[2];
+ int32_t token; // surface's token (for debugging)
+ int32_t reserved32[1];
Statistics stats;
int32_t reserved;
BufferData buffers[NUM_BUFFER_MAX]; // 960 bytes