Home
last modified time | relevance | path

Searched refs:hwcSlotAndBuffer (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DHwcBufferCacheTest.cpp176 HwcSlotAndBuffer hwcSlotAndBuffer = cache.getOverrideHwcSlotAndBuffer(mBuffer1); in TEST_F() local
177 ASSERT_NE(hwcSlotAndBuffer.slot, UINT32_MAX); in TEST_F()
179 EXPECT_EQ(cache.uncache(mBuffer1->getId()), hwcSlotAndBuffer.slot); in TEST_F()
187 HwcSlotAndBuffer hwcSlotAndBuffer = cache.getOverrideHwcSlotAndBuffer(mBuffer1); in TEST_F() local
188 ASSERT_NE(hwcSlotAndBuffer.slot, UINT32_MAX); in TEST_F()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp679 HwcSlotAndBuffer hwcSlotAndBuffer; in writeBufferStateToHWC() local
686 hwcSlotAndBuffer = state.hwc->hwcBufferCache.getOverrideHwcSlotAndBuffer( in writeBufferStateToHWC()
693 hwcSlotAndBuffer = in writeBufferStateToHWC()
702 state.hwc->activeBufferSlot = hwcSlotAndBuffer.slot; in writeBufferStateToHWC()
705 if (auto error = hwcLayer->setBuffer(hwcSlotAndBuffer.slot, hwcSlotAndBuffer.buffer, hwcFence); in writeBufferStateToHWC()
708 hwcSlotAndBuffer.buffer->handle, to_string(error).c_str(), in writeBufferStateToHWC()