From 9e75ddda93888755d0b14144b62e896cd9f78f3a Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Fri, 31 Aug 2012 15:32:45 -0700 Subject: 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 --- include/gui/ISurfaceTexture.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/gui') 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, -- cgit v1.1