summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger_client/tests
Commit message (Collapse)AuthorAgeFilesLines
* merge libsurfaceflinger_client into libguiMathias Agopian2011-03-254-495/+0
| | | | | | | | | | | | this is the first step in unifying surfacetexture and surface. for this reason the header files were not moved, as most of them will eventually go away. NOTE: currently we keep libsurfaceflinger_client.so as an empty library to workaround prebuilt binaries wrongly linking against it. Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
* ANativeWindow: add query for the concrete type.Jamie Gennis2011-03-141-0/+8
| | | | | | | | This change adds a query to the ANativeWindow interface for getting the concrete type of the ANativeWindow. Bug: 4086509 Change-Id: I64aa86d72fbca3b52a98e1fc35608737781a3178
* SurfaceFlinger: Respect the PROTECTED gralloc bit.Jamie Gennis2011-03-101-6/+59
| | | | | | | | | This change makes SurfaceFlinger treat layers for which the active buffer has the GRALLOC_USAGE_PROTECTED bit set as if they have the 'secure' flag set. Change-Id: Ic60b6513a63e4bb92ec6ce9fd12fd39b4ba5f674 Bug: 4081304
* ANativeWindow: add queues-to-window-composer check.Jamie Gennis2011-03-082-0/+132
| | | | | | | | | This change adds a new 'method' to the ANativeWindow interface to check whether buffers queued to the window will be sent directly to the system window compositor. Change-Id: I4d4b199e328c110b68b250029aea650f03c8724d Bug: 3495535
* Implement reducing the buffer count of a Surface.Jamie Gennis2010-11-111-1/+6
| | | | | Change-Id: I7f979c60c06d654aa8265002836277434bc1a64f Bug: 3095167
* fix the threading issue for setBuffercount()Mathias Agopian2010-05-201-2/+10
| | | | | | | | this change introduces R/W locks in the right places. on the server-side, it guarantees that setBufferCount() is synchronized with "retire" and "resize". on the client-side, it guarantees that setBufferCount() is synchronized with "dequeue", "lockbuffer" and "queue"
* add a few tests to SharedBufferStackTestMathias Agopian2010-05-171-4/+14
| | | | Change-Id: I1c46c07aa1483aee4d4ebd8745638a2c462cc1b3
* improve SharedBufferStack testMathias Agopian2010-05-171-15/+43
| | | | Change-Id: I32683bfe0916918757280db89113595867acd5a7
* Add support for enqueuing buffers in arbitrary orderMathias Agopian2010-04-283-0/+251
Also added a very simple SharedBufferStack unit test. Change-Id: I253dbbe98a53c966b78d22d4d6dd59f8aefc8c40