Lines Matching refs:hwc1Layer

1231         auto& hwc1Layer = mHwc1RequestedContents->hwLayers[layer->getHwc1Id()];  in prepare()  local
1232 hwc1Layer.releaseFenceFd = -1; in prepare()
1233 hwc1Layer.acquireFenceFd = -1; in prepare()
1235 layer->applyState(hwc1Layer); in prepare()
1825 void HWC2On1Adapter::Display::updateTypeChanges(const hwc_layer_1_t& hwc1Layer, in updateTypeChanges() argument
1828 switch (hwc1Layer.compositionType) { in updateTypeChanges()
1861 const hwc_layer_1_t& hwc1Layer, const Layer& layer) { in updateLayerRequests() argument
1862 if ((hwc1Layer.hints & HWC_HINT_CLEAR_FB) != 0) { in updateLayerRequests()
2048 void HWC2On1Adapter::Layer::applyState(hwc_layer_1_t& hwc1Layer) { in applyState() argument
2049 applyCommonState(hwc1Layer); in applyState()
2050 applyCompositionType(hwc1Layer); in applyState()
2052 case Composition::SolidColor : applySolidColorState(hwc1Layer); break; in applyState()
2053 case Composition::Sideband : applySidebandState(hwc1Layer); break; in applyState()
2054 default: applyBufferState(hwc1Layer); break; in applyState()
2125 void HWC2On1Adapter::Layer::applyCommonState(hwc_layer_1_t& hwc1Layer) { in applyCommonState() argument
2127 hwc1Layer.blending = getHwc1Blending(mBlendMode); in applyCommonState()
2128 hwc1Layer.displayFrame = mDisplayFrame; in applyCommonState()
2134 hwc1Layer.planeAlpha = in applyCommonState()
2140 hwc1Layer.sourceCropi.left = in applyCommonState()
2142 hwc1Layer.sourceCropi.top = in applyCommonState()
2144 hwc1Layer.sourceCropi.right = in applyCommonState()
2146 hwc1Layer.sourceCropi.bottom = in applyCommonState()
2149 hwc1Layer.sourceCropf = mSourceCrop; in applyCommonState()
2152 hwc1Layer.transform = static_cast<uint32_t>(mTransform); in applyCommonState()
2154 auto& hwc1VisibleRegion = hwc1Layer.visibleRegionScreen; in applyCommonState()
2163 void HWC2On1Adapter::Layer::applySolidColorState(hwc_layer_1_t& hwc1Layer) { in applySolidColorState() argument
2170 hwc1Layer.handle = nullptr; in applySolidColorState()
2172 hwc1Layer.backgroundColor = mColor; in applySolidColorState()
2176 void HWC2On1Adapter::Layer::applySidebandState(hwc_layer_1_t& hwc1Layer) { in applySidebandState() argument
2177 hwc1Layer.sidebandStream = mSidebandStream; in applySidebandState()
2180 void HWC2On1Adapter::Layer::applyBufferState(hwc_layer_1_t& hwc1Layer) { in applyBufferState() argument
2181 hwc1Layer.handle = mBuffer.getBuffer(); in applyBufferState()
2182 hwc1Layer.acquireFenceFd = mBuffer.getFence(); in applyBufferState()
2185 void HWC2On1Adapter::Layer::applyCompositionType(hwc_layer_1_t& hwc1Layer) { in applyCompositionType() argument
2191 hwc1Layer.compositionType = HWC_FRAMEBUFFER; in applyCompositionType()
2192 hwc1Layer.flags = HWC_SKIP_LAYER; in applyCompositionType()
2196 hwc1Layer.flags = 0; in applyCompositionType()
2199 hwc1Layer.compositionType = HWC_FRAMEBUFFER; in applyCompositionType()
2200 hwc1Layer.flags |= HWC_SKIP_LAYER; in applyCompositionType()
2203 hwc1Layer.compositionType = HWC_FRAMEBUFFER; in applyCompositionType()
2212 hwc1Layer.compositionType = HWC_FRAMEBUFFER; in applyCompositionType()
2213 hwc1Layer.flags |= HWC_SKIP_LAYER; in applyCompositionType()
2216 hwc1Layer.compositionType = HWC_FRAMEBUFFER; in applyCompositionType()
2218 hwc1Layer.hints |= HWC_IS_CURSOR_LAYER; in applyCompositionType()
2223 hwc1Layer.compositionType = HWC_SIDEBAND; in applyCompositionType()
2225 hwc1Layer.compositionType = HWC_FRAMEBUFFER; in applyCompositionType()
2226 hwc1Layer.flags |= HWC_SKIP_LAYER; in applyCompositionType()
2230 hwc1Layer.compositionType = HWC_FRAMEBUFFER; in applyCompositionType()
2231 hwc1Layer.flags |= HWC_SKIP_LAYER; in applyCompositionType()
2236 hwc1Layer.compositionType); in applyCompositionType()
2237 ALOGV_IF(hwc1Layer.flags & HWC_SKIP_LAYER, " and skipping"); in applyCompositionType()