summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-08-31 15:32:45 -0700
committerJamie Gennis <jgennis@google.com>2012-08-31 17:02:49 -0700
commit9e75ddda93888755d0b14144b62e896cd9f78f3a (patch)
tree0640423774cc05b6b369a09f0b12c4458caca432 /include
parentfdb6b49dfa9f1f71b2e564c9f423043f90f9346c (diff)
downloadframeworks_native-9e75ddda93888755d0b14144b62e896cd9f78f3a.zip
frameworks_native-9e75ddda93888755d0b14144b62e896cd9f78f3a.tar.gz
frameworks_native-9e75ddda93888755d0b14144b62e896cd9f78f3a.tar.bz2
libgui: add BufferQueue test infrastructure
This change adds some infrastructure for testing the BufferQueue class. It also includes a test that tests the new check in BufferQueue::acquireBuffer that prevents the consumer from acquiring more than one buffer beyond the max acquired buffer count that was set. Change-Id: I38554ad3f9a53d2ddeba7ef0deee35ec2e2f9775
Diffstat (limited to 'include')
-rw-r--r--include/gui/ISurfaceTexture.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/gui/ISurfaceTexture.h b/include/gui/ISurfaceTexture.h
index 8b4025d..ae7c5c2 100644
--- a/include/gui/ISurfaceTexture.h
+++ b/include/gui/ISurfaceTexture.h
@@ -39,9 +39,6 @@ class ISurfaceTexture : public IInterface
public:
DECLARE_META_INTERFACE(SurfaceTexture);
-protected:
- friend class SurfaceTextureClient;
-
enum {
BUFFER_NEEDS_REALLOCATION = 0x1,
RELEASE_ALL_BUFFERS = 0x2,