summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger_client/tests/SharedBufferStack/SharedBufferStackTest.cpp
AgeCommit message (Collapse)Author
2011-03-25merge libsurfaceflinger_client into libguiMathias Agopian
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
2010-11-11Implement reducing the buffer count of a Surface.Jamie Gennis
Change-Id: I7f979c60c06d654aa8265002836277434bc1a64f Bug: 3095167
2010-05-20fix the threading issue for setBuffercount()Mathias Agopian
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"
2010-05-17add a few tests to SharedBufferStackTestMathias Agopian
Change-Id: I1c46c07aa1483aee4d4ebd8745638a2c462cc1b3
2010-05-17improve SharedBufferStack testMathias Agopian
Change-Id: I32683bfe0916918757280db89113595867acd5a7
2010-04-28Add support for enqueuing buffers in arbitrary orderMathias Agopian
Also added a very simple SharedBufferStack unit test. Change-Id: I253dbbe98a53c966b78d22d4d6dd59f8aefc8c40