summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/tests/surface/surface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Banish DisplayID from the SurfaceFlinger API.Jeff Brown2012-08-271-1/+1
| | | | | | | | | | | | | | | Use only display tokens in the API to refer to new displays. Don't require the caller to specify the display when creating a surface (since in general a surface could be shown on any display). This is intended to be a minimum change just to update the API. Note that SurfaceFlinger still uses DisplayID in a few places internally that might cause some features not to work properly when there are multiple displays (LayerScreenshot, for example). Change-Id: I3d91eec2da406eefd97bcd53655d403ad865a7e6
* fix libgui header locationMathias Agopian2012-02-271-3/+2
| | | | Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
* createSurface getpid() first parameter was removedGlenn Kasten2012-02-091-1/+1
| | | | | | | | | Most of these tests in this directory don't currently build, but test-surface did build incorrectly by bad luck, using the old API. test-resize still doesn't build, but when the other build errors are fixed then it will use the right API. Change-Id: I388d6d59fe0a2328f352214dcdc28839a24043f0
* SF transactions are now O(1) wrt IPC instead of O(N).Mathias Agopian2011-06-291-2/+2
| | | | Change-Id: I57669852cbf6aabae244ea86940a08a5a27ffc43
* frameworks/base: android_native_buffer_t -> ANativeWindowBufferIliyan Malchev2011-05-031-1/+1
| | | | | Change-Id: Idc2eabaa805bb6d308ebb315872623f28d428417 Signed-off-by: Iliyan Malchev <malchev@google.com>
* Fix missing AOSP copyright headers for more filesJames Dong2011-03-171-0/+16
| | | | | | | | | | o Update the copyright date on InputDispatcher_test.cpp and InputReader_test.cpp because these two files were moved from other places to the current location, and were actually created in 2010. bug - 4119349 Change-Id: Ic93b81ddafb58e9e72a2e9e02ca3d9f173d6dca7
* remove support for PUSH_BUFFER surfaces and overlaysMathias Agopian2010-12-081-3/+0
| | | | | | | the same functionality is now supported through the h/w composer HAL, and YUV support in the GPU. Change-Id: I8146605449954b8e8fd7f78810b7d873c2d8f5bf
* fix [2873058] Surface::dequeueBuffer blocks on last buffer, i.e. cannot ↵Mathias Agopian2010-07-271-0/+54
dequeue all allocated buffers at once. this situation happened when the last buffer needed to be resized (or allocated, the first time). the assumption was that the buffer was in use by SF itself as the current buffer (obviously, this assumption made no sense when the buffer had never been allocated, btw). the system would wait until some other buffer became the "front" buffer. we fix this problem by entirely removing the requirement that the buffer being resized cannot be the front buffer. instead, we just allocate a new buffer and replace the front buffer by the new one. the downside is that this uses more memory (an extra buffer) for a brief amount of time while the old buffer is being reallocated and before it has actually been replaced. Change-Id: I022e4621209474ceb1c671b23deb4188eaaa7285