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
commit7623da435e45c7c03ef6a00a43675deb6645f070 (patch)
treeb789cdc5e60ccc4474bd319b1dbb4e1a7e3f3858 /include/private
parent593c05ce7bcf7b6d94bd8c50da2b818cf05116b1 (diff)
downloadframeworks_base-7623da435e45c7c03ef6a00a43675deb6645f070.zip
frameworks_base-7623da435e45c7c03ef6a00a43675deb6645f070.tar.gz
frameworks_base-7623da435e45c7c03ef6a00a43675deb6645f070.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