Lines Matching refs:mLayers
3426 for (size_t i = 0; i < mLayers.size(); i++) { in GenerateClientCompositionRequestsTest_ThreeLayers()
3427 mLayers[i].mOutputLayerState.clearClientTarget = false; in GenerateClientCompositionRequestsTest_ThreeLayers()
3428 mLayers[i].mOutputLayerState.visibleRegion = Region(kDisplayFrame); in GenerateClientCompositionRequestsTest_ThreeLayers()
3429 mLayers[i].mLayerFEState.isOpaque = true; in GenerateClientCompositionRequestsTest_ThreeLayers()
3430 mLayers[i].mLayerSettings.geometry.boundaries = in GenerateClientCompositionRequestsTest_ThreeLayers()
3432 mLayers[i].mLayerSettings.source.solidColor = {1.0f, 1.0f, 1.0f}; in GenerateClientCompositionRequestsTest_ThreeLayers()
3433 mLayers[i].mLayerSettings.alpha = 1.0f; in GenerateClientCompositionRequestsTest_ThreeLayers()
3434 mLayers[i].mLayerSettings.disableBlending = false; in GenerateClientCompositionRequestsTest_ThreeLayers()
3437 .WillRepeatedly(Return(&mLayers[i].mOutputLayer)); in GenerateClientCompositionRequestsTest_ThreeLayers()
3438 EXPECT_CALL(mLayers[i].mOutputLayer, requiresClientComposition()) in GenerateClientCompositionRequestsTest_ThreeLayers()
3440 EXPECT_CALL(mLayers[i].mOutputLayer, needsFiltering()).WillRepeatedly(Return(false)); in GenerateClientCompositionRequestsTest_ThreeLayers()
3443 EXPECT_CALL(mOutput, getOutputLayerCount()).WillRepeatedly(Return(mLayers.size())); in GenerateClientCompositionRequestsTest_ThreeLayers()
3454 std::array<Layer, 3> mLayers; member
3464 EXPECT_CALL(mLayers[0].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
3465 EXPECT_CALL(mLayers[1].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
3466 EXPECT_CALL(mLayers[2].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
3476 mLayers[0].mOutputLayerState.visibleRegion = Region(Rect(10, 10, 10, 10)); in TEST_F()
3477 mLayers[1].mOutputLayerState.visibleRegion = Region(Rect(4000, 0, 4010, 10)); in TEST_F()
3478 mLayers[2].mOutputLayerState.visibleRegion = Region(Rect(-10, -10, 0, 0)); in TEST_F()
3491 EXPECT_CALL(mLayers[0].mLayerFE, prepareClientCompositionList(_)) in TEST_F()
3493 EXPECT_CALL(mLayers[1].mLayerFE, prepareClientCompositionList(_)) in TEST_F()
3494 .WillOnce(Return(std::vector<LayerFE::LayerSettings>({mLayers[1].mLayerSettings}))); in TEST_F()
3495 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(_)) in TEST_F()
3497 {mShadowSettings, mLayers[2].mLayerSettings}))); in TEST_F()
3503 EXPECT_EQ(mLayers[1].mLayerSettings, requests[0]); in TEST_F()
3505 EXPECT_EQ(mLayers[2].mLayerSettings, requests[2]); in TEST_F()
3510 EXPECT_TRUE(0 == mLayers[0].mOutputLayerState.clientCompositionTimestamp); in TEST_F()
3511 EXPECT_TRUE(0 != mLayers[1].mOutputLayerState.clientCompositionTimestamp); in TEST_F()
3512 EXPECT_TRUE(0 != mLayers[2].mOutputLayerState.clientCompositionTimestamp); in TEST_F()
3517 EXPECT_CALL(mLayers[0].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
3518 EXPECT_CALL(mLayers[1].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
3519 EXPECT_CALL(mLayers[2].mOutputLayer, requiresClientComposition()).WillOnce(Return(true)); in TEST_F()
3521 mLayers[0].mOutputLayerState.clearClientTarget = false; in TEST_F()
3522 mLayers[1].mOutputLayerState.clearClientTarget = false; in TEST_F()
3523 mLayers[2].mOutputLayerState.clearClientTarget = false; in TEST_F()
3525 mLayers[0].mLayerFEState.isOpaque = true; in TEST_F()
3526 mLayers[1].mLayerFEState.isOpaque = true; in TEST_F()
3527 mLayers[2].mLayerFEState.isOpaque = true; in TEST_F()
3529 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(_)) in TEST_F()
3530 .WillOnce(Return(std::vector<LayerFE::LayerSettings>({mLayers[2].mLayerSettings}))); in TEST_F()
3536 EXPECT_EQ(mLayers[2].mLayerSettings, requests[0]); in TEST_F()
3543 EXPECT_CALL(mLayers[0].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
3544 EXPECT_CALL(mLayers[1].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
3545 EXPECT_CALL(mLayers[2].mOutputLayer, requiresClientComposition()).WillOnce(Return(true)); in TEST_F()
3547 mLayers[0].mOutputLayerState.clearClientTarget = true; in TEST_F()
3548 mLayers[1].mOutputLayerState.clearClientTarget = true; in TEST_F()
3549 mLayers[2].mOutputLayerState.clearClientTarget = true; in TEST_F()
3551 mLayers[0].mLayerFEState.isOpaque = false; in TEST_F()
3552 mLayers[1].mLayerFEState.isOpaque = false; in TEST_F()
3553 mLayers[2].mLayerFEState.isOpaque = false; in TEST_F()
3555 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(_)) in TEST_F()
3556 .WillOnce(Return(std::vector<LayerFE::LayerSettings>({mLayers[2].mLayerSettings}))); in TEST_F()
3562 EXPECT_EQ(mLayers[2].mLayerSettings, requests[0]); in TEST_F()
3574 EXPECT_CALL(mLayers[0].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
3575 EXPECT_CALL(mLayers[1].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
3576 EXPECT_CALL(mLayers[2].mOutputLayer, requiresClientComposition()).WillOnce(Return(true)); in TEST_F()
3578 mLayers[0].mOutputLayerState.clearClientTarget = true; in TEST_F()
3579 mLayers[1].mOutputLayerState.clearClientTarget = true; in TEST_F()
3580 mLayers[2].mOutputLayerState.clearClientTarget = true; in TEST_F()
3582 mLayers[0].mLayerFEState.isOpaque = true; in TEST_F()
3583 mLayers[1].mLayerFEState.isOpaque = true; in TEST_F()
3584 mLayers[2].mLayerFEState.isOpaque = true; in TEST_F()
3613 LayerFE::LayerSettings mBlackoutSettings = mLayers[1].mLayerSettings; in TEST_F()
3619 EXPECT_CALL(mLayers[1].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer1TargetSettings)))) in TEST_F()
3621 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer2TargetSettings)))) in TEST_F()
3622 .WillOnce(Return(std::vector<LayerFE::LayerSettings>({mLayers[2].mLayerSettings}))); in TEST_F()
3631 EXPECT_EQ(mLayers[2].mLayerSettings, requests[1]); in TEST_F()
3638 mLayers[0].mOutputLayerState.visibleRegion = Region(Rect(10, 10, 20, 20)); in TEST_F()
3639 mLayers[1].mOutputLayerState.visibleRegion = Region(Rect(-10, -10, 30, 30)); in TEST_F()
3640 mLayers[2].mOutputLayerState.visibleRegion = Region(Rect(-10, 0, 40, 4000)); in TEST_F()
3681 EXPECT_CALL(mLayers[0].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer0TargetSettings)))) in TEST_F()
3683 EXPECT_CALL(mLayers[1].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer1TargetSettings)))) in TEST_F()
3685 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer2TargetSettings)))) in TEST_F()
3696 EXPECT_CALL(mLayers[0].mOutputLayer, needsFiltering()).WillRepeatedly(Return(true)); in TEST_F()
3737 EXPECT_CALL(mLayers[0].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer0TargetSettings)))) in TEST_F()
3739 EXPECT_CALL(mLayers[1].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer1TargetSettings)))) in TEST_F()
3741 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer2TargetSettings)))) in TEST_F()
3752 EXPECT_CALL(mLayers[0].mOutputLayer, needsFiltering()).WillRepeatedly(Return(true)); in TEST_F()
3794 EXPECT_CALL(mLayers[0].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer0TargetSettings)))) in TEST_F()
3796 EXPECT_CALL(mLayers[1].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer1TargetSettings)))) in TEST_F()
3798 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer2TargetSettings)))) in TEST_F()
3849 EXPECT_CALL(mLayers[0].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer0TargetSettings)))) in TEST_F()
3851 EXPECT_CALL(mLayers[1].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer1TargetSettings)))) in TEST_F()
3853 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer2TargetSettings)))) in TEST_F()
3902 EXPECT_CALL(mLayers[0].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer0TargetSettings)))) in TEST_F()
3904 EXPECT_CALL(mLayers[1].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer1TargetSettings)))) in TEST_F()
3906 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer2TargetSettings)))) in TEST_F()
4051 mLayers[2].mOutputLayerState.visibleRegion = kPartialShadowRegion; in TEST_F()
4052 mLayers[2].mOutputLayerState.shadowRegion = kShadowRegion; in TEST_F()
4054 EXPECT_CALL(mLayers[0].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
4055 EXPECT_CALL(mLayers[1].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
4056 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer2Settings)))) in TEST_F()
4077 mLayers[2].mOutputLayerState.visibleRegion = kPartialContentWithPartialShadowRegion; in TEST_F()
4078 mLayers[2].mOutputLayerState.shadowRegion = kShadowRegion; in TEST_F()
4094 EXPECT_CALL(mLayers[0].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
4095 EXPECT_CALL(mLayers[1].mOutputLayer, requiresClientComposition()).WillOnce(Return(false)); in TEST_F()
4096 EXPECT_CALL(mLayers[2].mLayerFE, prepareClientCompositionList(Eq(ByRef(layer2Settings)))) in TEST_F()
4098 {mShadowSettings, mLayers[2].mLayerSettings}))); in TEST_F()
4105 EXPECT_EQ(mLayers[2].mLayerSettings, requests[1]); in TEST_F()