Home
last modified time | relevance | path

Searched refs:layerSettings (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/
DFrameCaptureLayer.cpp79 renderengine::LayerSettings *layerSettings) override;
85 renderengine::LayerSettings *layerSettings) { in getLayerSettings() argument
86 layerSettings->geometry.boundaries = sourceCrop.toFloatRect(); in getLayerSettings()
87 layerSettings->alpha = 1.0f; in getLayerSettings()
89 layerSettings->sourceDataspace = translateDataspace( in getLayerSettings()
93 layerSettings->source.buffer.buffer = mBufferItem.mGraphicBuffer; in getLayerSettings()
94 layerSettings->source.buffer.isOpaque = true; in getLayerSettings()
95 layerSettings->source.buffer.fence = mBufferItem.mFence; in getLayerSettings()
96 layerSettings->source.buffer.textureName = textureName; in getLayerSettings()
97 layerSettings->source.buffer.usePremultipliedAlpha = false; in getLayerSettings()
[all …]
DFrameCaptureProcessor.cpp149 renderengine::LayerSettings layerSettings; in onCapture() local
151 layer->getLayerSettings(sourceCrop, mTextureName, &layerSettings); in onCapture()
153 clientCompositionLayers.push_back(&layerSettings); in onCapture()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DClientCompositionRequestCache.cpp75 layerSettings.reserve(initLayerSettings.size()); in ClientCompositionRequest()
77 layerSettings.push_back(getLayerSettingsSnapshot(settings)); in ClientCompositionRequest()
85 std::equal(layerSettings.begin(), layerSettings.end(), newLayerSettings.begin(), in equals()
91 const std::vector<LayerFE::LayerSettings>& layerSettings) const { in exists()
94 return cachedRequest.equals(display, layerSettings); in exists()
102 const std::vector<LayerFE::LayerSettings>& layerSettings) { in add() argument
103 const ClientCompositionRequest request(display, layerSettings); in add()
DOutput.cpp1246 LayerFE::LayerSettings layerSettings; in appendRegionFlashRequests() local
1247 layerSettings.source.buffer.buffer = nullptr; in appendRegionFlashRequests()
1248 layerSettings.source.solidColor = half3(1.0, 0.0, 1.0); in appendRegionFlashRequests()
1249 layerSettings.alpha = half(1.0); in appendRegionFlashRequests()
1252 layerSettings.geometry.boundaries = rect.toFloatRect(); in appendRegionFlashRequests()
1253 clientCompositionLayers.push_back(layerSettings); in appendRegionFlashRequests()
/frameworks/native/services/surfaceflinger/
DEffectLayer.cpp53 std::optional<compositionengine::LayerFE::LayerSettings> layerSettings = in prepareClientCompositionList() local
56 if (!layerSettings) { in prepareClientCompositionList()
61 prepareShadowClientComposition(*layerSettings, targetSettings.viewport); in prepareClientCompositionList()
66 layerSettings->source.solidColor = getColor().rgb; in prepareClientCompositionList()
67 results.push_back(*layerSettings); in prepareClientCompositionList()
69 layerSettings->skipContentDraw = true; in prepareClientCompositionList()
70 results.push_back(*layerSettings); in prepareClientCompositionList()
DLayer.cpp578 compositionengine::LayerFE::LayerSettings layerSettings; in prepareClientComposition() local
579 layerSettings.geometry.boundaries = bounds; in prepareClientComposition()
580 layerSettings.geometry.positionTransform = getTransform().asMatrix4(); in prepareClientComposition()
584 layerSettings.skipContentDraw = !drawContent; in prepareClientComposition()
587 layerSettings.colorTransform = getColorTransform(); in prepareClientComposition()
591 layerSettings.geometry.roundedCornersRadius = roundedCornerState.radius; in prepareClientComposition()
592 layerSettings.geometry.roundedCornersCrop = roundedCornerState.cropRect; in prepareClientComposition()
594 layerSettings.alpha = alpha; in prepareClientComposition()
595 layerSettings.sourceDataspace = getDataSpace(); in prepareClientComposition()
598 layerSettings.backgroundBlurRadius = getBackgroundBlurRadius(); in prepareClientComposition()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DClientCompositionRequestCache.h45 const std::vector<LayerFE::LayerSettings>& layerSettings) const;
47 const std::vector<LayerFE::LayerSettings>& layerSettings);
54 std::vector<LayerFE::LayerSettings> layerSettings; member
/frameworks/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp697 renderengine::LayerSettings layerSettings; in processLoop() local
698 layerSettings.geometry.boundaries = sourceCrop.toFloatRect(); in processLoop()
699 layerSettings.alpha = 1.0f; in processLoop()
701 layerSettings.sourceDataspace = static_cast<ui::Dataspace>(dataspace); in processLoop()
704 layerSettings.source.buffer.buffer = srcBuffer; in processLoop()
705 layerSettings.source.buffer.isOpaque = true; in processLoop()
707 layerSettings.source.buffer.fence = Fence::NO_FENCE; in processLoop()
708 layerSettings.source.buffer.textureName = textureName; in processLoop()
709 layerSettings.source.buffer.usePremultipliedAlpha = false; in processLoop()
710 layerSettings.source.buffer.isY410BT2020 = in processLoop()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp188 std::vector<renderengine::LayerSettings> layerSettings; in render() local
194 layerSettings.insert(layerSettings.end(), clientCompositionList.cbegin(), in render()
199 std::transform(layerSettings.cbegin(), layerSettings.cend(), in render()
/frameworks/av/media/libstagefright/include/media/stagefright/
DFrameCaptureProcessor.h49 renderengine::LayerSettings *layerSettings) = 0;
/frameworks/native/services/surfaceflinger/tests/unittests/
DCompositionTest.cpp626 const std::vector<const renderengine::LayerSettings*>& layerSettings, in setupREBufferCompositionCommonCallExpectations()
636 if (layerSettings.empty()) { in setupREBufferCompositionCommonCallExpectations()
642 const renderengine::LayerSettings* layer = layerSettings.back(); in setupREBufferCompositionCommonCallExpectations()
675 const std::vector<const renderengine::LayerSettings*>& layerSettings, in setupREColorCompositionCallExpectations()
685 if (layerSettings.empty()) { in setupREColorCompositionCallExpectations()
691 const renderengine::LayerSettings* layer = layerSettings.back(); in setupREColorCompositionCallExpectations()
752 const std::vector<const renderengine::LayerSettings*>& layerSettings, in setupInsecureREBufferCompositionCommonCallExpectations()
762 if (layerSettings.empty()) { in setupInsecureREBufferCompositionCommonCallExpectations()
768 const renderengine::LayerSettings* layer = layerSettings.back(); in setupInsecureREBufferCompositionCommonCallExpectations()
/frameworks/native/libs/renderengine/skia/
DSkiaGLRenderEngine.cpp890 std::stringstream layerSettings; in drawLayers() local
891 PrintTo(*layer, &layerSettings); in drawLayers()
894 SkData::MakeWithCString(layerSettings.str().c_str())); in drawLayers()