• Home
  • Raw
  • Download

Lines Matching refs:LayerProperties

439 template <typename LayerProperties>
466 result = producer->dequeueBuffer(&slot, &fence, LayerProperties::WIDTH, in enqueueBuffer()
467 LayerProperties::HEIGHT, LayerProperties::FORMAT, in enqueueBuffer()
468 LayerProperties::USAGE, nullptr, nullptr); in enqueueBuffer()
482 LayerProperties::DATASPACE, in enqueueBuffer()
483 Rect(LayerProperties::WIDTH, in enqueueBuffer()
484 LayerProperties::HEIGHT), in enqueueBuffer()
485 LayerProperties::SCALING_MODE, in enqueueBuffer()
486 LayerProperties::TRANSFORM, Fence::NO_FENCE); in enqueueBuffer()
499 layer->setDefaultBufferProperties(LayerProperties::WIDTH, LayerProperties::HEIGHT, in setupLatchedBuffer()
500 LayerProperties::FORMAT); in setupLatchedBuffer()
527 setLayerBlendMode(HWC_DISPLAY, HWC_LAYER, LayerProperties::BLENDMODE)) in setupHwcSetGeometryCallExpectations()
532 IComposerClient::Rect({0, 0, LayerProperties::WIDTH, in setupHwcSetGeometryCallExpectations()
533 LayerProperties::HEIGHT}))) in setupHwcSetGeometryCallExpectations()
536 setLayerPlaneAlpha(HWC_DISPLAY, HWC_LAYER, LayerProperties::COLOR[3])) in setupHwcSetGeometryCallExpectations()
554 IComposerClient::FRect({0.f, 0.f, LayerProperties::WIDTH, in setupHwcSetSourceCropBufferCallExpectations()
555 LayerProperties::HEIGHT}))) in setupHwcSetSourceCropBufferCallExpectations()
570 {0, 0, LayerProperties::WIDTH, in setupHwcSetPerFrameCallExpectations()
571 LayerProperties::HEIGHT})}))) in setupHwcSetPerFrameCallExpectations()
614 EXPECT_EQ(LayerProperties::COLOR[3], layer.alpha); in setupREBufferCompositionCommonCallExpectations()
620 LayerProperties::setupREBufferCompositionCommonCallExpectations(test); in setupREBufferCompositionCallExpectations()
628 LayerProperties::setupREBufferCompositionCommonCallExpectations(test); in setupREBufferScreenshotCompositionCallExpectations()
632 LayerProperties::setupREBufferCompositionCommonCallExpectations(test); in setupInsecureREBufferScreenshotCompositionCallExpectations()
650 EXPECT_EQ(half3(LayerProperties::COLOR[0], LayerProperties::COLOR[1], in setupREColorCompositionCallExpectations()
651 LayerProperties::COLOR[2]), in setupREColorCompositionCallExpectations()
655 EXPECT_EQ(LayerProperties::COLOR[3], layer.alpha); in setupREColorCompositionCallExpectations()
758 template <typename LayerProperties>
774 layerDrawingState.color = half4(LayerProperties::COLOR[0], LayerProperties::COLOR[1], in createLayerWithFactory()
775 LayerProperties::COLOR[2], LayerProperties::COLOR[3]); in createLayerWithFactory()
812 template <typename LayerProperties>
813 struct ColorLayerVariant : public BaseLayerVariant<LayerProperties> {
814 using Base = BaseLayerVariant<LayerProperties>;
820 String8("test-layer"), LayerProperties::WIDTH, in createLayer()
821 LayerProperties::HEIGHT, in createLayer()
822 LayerProperties::LAYER_FLAGS, LayerMetadata())); in createLayer()
826 layerDrawingState.crop_legacy = Rect(0, 0, LayerProperties::HEIGHT, LayerProperties::WIDTH); in createLayer()
831 LayerProperties::setupREColorCompositionCallExpectations(test); in setupRECompositionCallExpectations()
835 LayerProperties::setupREColorScreenshotCompositionCallExpectations(test); in setupREScreenshotCompositionCallExpectations()
839 LayerProperties::setupHwcSetGeometryCallExpectations(test); in setupCallExpectationsForDirtyGeometry()
840 LayerProperties::setupHwcSetSourceCropColorCallExpectations(test); in setupCallExpectationsForDirtyGeometry()
844 LayerProperties::setupHwcSetPerFrameCallExpectations(test); in setupCallExpectationsForDirtyFrame()
845 LayerProperties::setupHwcSetPerFrameColorCallExpectations(test); in setupCallExpectationsForDirtyFrame()
849 template <typename LayerProperties>
850 struct BufferLayerVariant : public BaseLayerVariant<LayerProperties> {
851 using Base = BaseLayerVariant<LayerProperties>;
861 String8("test-layer"), LayerProperties::WIDTH, in createLayer()
862 LayerProperties::HEIGHT, in createLayer()
863 LayerProperties::LAYER_FLAGS, LayerMetadata())); in createLayer()
866 LayerProperties::setupLayerState(test, layer); in createLayer()
877 LayerProperties::setupHwcSetGeometryCallExpectations(test); in setupCallExpectationsForDirtyGeometry()
878 LayerProperties::setupHwcSetSourceCropBufferCallExpectations(test); in setupCallExpectationsForDirtyGeometry()
882 LayerProperties::setupHwcSetPerFrameCallExpectations(test); in setupCallExpectationsForDirtyFrame()
883 LayerProperties::setupHwcSetPerFrameBufferCallExpectations(test); in setupCallExpectationsForDirtyFrame()
887 LayerProperties::setupREBufferCompositionCallExpectations(test); in setupRECompositionCallExpectations()
891 LayerProperties::setupInsecureREBufferCompositionCallExpectations(test); in setupInsecureRECompositionCallExpectations()
895 LayerProperties::setupREBufferScreenshotCompositionCallExpectations(test); in setupREScreenshotCompositionCallExpectations()
899 LayerProperties::setupInsecureREBufferScreenshotCompositionCallExpectations(test); in setupInsecureREScreenshotCompositionCallExpectations()