Lines Matching refs:hwc
69 state.hwc.emplace(std::move(hwcLayer)); in setHwcLayer()
71 state.hwc.reset(); in setHwcLayer()
378 if (!state.hwc) { in writeStateToHWC()
382 auto& hwcLayer = (*state.hwc).hwcLayer; in writeStateToHWC()
404 const bool prevOverridden = state.hwc->stateOverridden; in writeStateToHWC()
422 editState().hwc->stateOverridden = isOverridden; in writeStateToHWC()
423 editState().hwc->layerSkipped = skipLayer; in writeStateToHWC()
577 : (getState().hwc->stateOverridden ? Region::INVALID_REGION in writeOutputIndependentPerFrameStateToHWC()
633 if (!state.hwc) { in uncacheBuffers()
643 if (bufferId == state.hwc->activeBufferId) { in uncacheBuffers()
646 uint32_t slot = state.hwc->hwcBufferCache.uncache(bufferId); in uncacheBuffers()
653 slotsToClear.push_back(state.hwc->hwcBufferCache.uncache(state.hwc->activeBufferId)); in uncacheBuffers()
657 state.hwc->hwcLayer->setBufferSlotsToClear(slotsToClear, state.hwc->activeBufferSlot); in uncacheBuffers()
686 hwcSlotAndBuffer = state.hwc->hwcBufferCache.getOverrideHwcSlotAndBuffer( in writeBufferStateToHWC()
691 state.hwc->activeBufferId = state.overrideInfo.buffer->getBuffer()->getId(); in writeBufferStateToHWC()
694 state.hwc->hwcBufferCache.getHwcSlotAndBuffer(outputIndependentState.buffer); in writeBufferStateToHWC()
698 state.hwc->activeBufferId = outputIndependentState.buffer->getId(); in writeBufferStateToHWC()
702 state.hwc->activeBufferSlot = hwcSlotAndBuffer.slot; in writeBufferStateToHWC()
726 if (outputDependentState.hwc->hwcCompositionType != requestedCompositionType || in writeCompositionTypeToHWC()
727 (outputDependentState.hwc->layerSkipped && !skipLayer)) { in writeCompositionTypeToHWC()
728 outputDependentState.hwc->hwcCompositionType = requestedCompositionType; in writeCompositionTypeToHWC()
767 return state.hwc ? state.hwc->hwcLayer.get() : nullptr; in getHwcLayer()
772 return !state.hwc || state.hwc->hwcCompositionType == Composition::CLIENT; in requiresClientComposition()
777 return state.hwc && state.hwc->hwcCompositionType == Composition::CURSOR; in isHardwareCursor()
815 LOG_FATAL_IF(!state.hwc); in applyDeviceCompositionTypeChange()
816 auto& hwcState = *state.hwc; in applyDeviceCompositionTypeChange()