summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/CompositionEngine/tests/HwcBufferCacheTest.cpp
AgeCommit message (Collapse)Author
2019-04-16Change slot generation for BufferStateMarissa Wall
BufferState layers now do slot generation with buffer death considered appropriately. When a buffer dies, the slot will be pushed onto a stack of available slots to be reused at the next opportunity. This should mimic BufferQueue slot behavior and prevent Composer Resources from growing too large. Test: build, boot, manual Bug: 129351223 Change-Id: Icef9592593cacb0b5c6b12f6679fc2c4dabdcd19
2019-03-26Return to manual slot use instead of slot generationValerie Hau
ION memory increase in composer process due to slot generation. Revert to old slot generation for BufferQueue Bug: 127655433 Test: build, boot, HwcBufferCacheTest Change-Id: Ifbb5747a7878aef97c92ba09e2dc72d663d78066
2019-03-01Caching between SF and HWC extended to Buffer State LayersValerie Hau
Extend caching to Buffer State Layers and modify slot generation logic Bug: 120434937 Test: build/boot Change-Id: Ic74b95c4649b53ad52f4117a464f491cb78715fa
2019-02-28Revert "Caching between SF and HWC for BufferStateLayers"Wale Ogunwale
This reverts commit b28f007e51fb84ff78ce8b053d80efb0efdbce20. Reason for revert: Causing pre-submit failure b/126704033 Change-Id: I17c99cd410b3fa3825d01fedd21a52451368b5c0
2019-02-27Caching between SF and HWC for BufferStateLayersValerie Hau
Bug: 120434937 Test: build, boot,libcompositionengine_test Change-Id: I4a99faeb7aa88683aac19c7000db87bd75f9ebe9
2019-02-01SF: Move HWComposerBufferCache in to CompositionEngineLloyd Pique
This simply moves DisplayHardware/HWComposerBufferCache.* to CompositionEngine/HwcBufferCache.*, adjusting the existing code to reference the moved file and namespace. This is a prelude to moving the layerBE state into CompositionEngine. Test: atest libsurfaceflinger_unittest libcompositionengine_test Bug: 121291683 Change-Id: Id1e907963d0453ec7beea285ab384a963c356f89