@@ -1879,9 +1879,6 @@ TEST_F(LayerSnapshotTest, hideLayerWithNanMatrix) {
18791879}
18801880
18811881TEST_F (LayerSnapshotTest, edgeExtensionPropagatesInHierarchy) {
1882- if (!com::android::graphics::libgui::flags::edge_extension_shader ()) {
1883- GTEST_SKIP () << " Skipping test because edge_extension_shader is off" ;
1884- }
18851882 setCrop (1 , Rect (0 , 0 , 20 , 20 ));
18861883 setBuffer (1221 ,
18871884 std::make_shared<renderengine::mock::FakeExternalTexture>(20 /* width */ ,
@@ -1920,9 +1917,6 @@ TEST_F(LayerSnapshotTest, edgeExtensionPropagatesInHierarchy) {
19201917
19211918TEST_F (LayerSnapshotTest, leftEdgeExtensionIncreaseBoundSizeWithinCrop) {
19221919 // The left bound is extended when shifting to the right
1923- if (!com::android::graphics::libgui::flags::edge_extension_shader ()) {
1924- GTEST_SKIP () << " Skipping test because edge_extension_shader is off" ;
1925- }
19261920 setCrop (1 , Rect (0 , 0 , 20 , 20 ));
19271921 const int texSize = 10 ;
19281922 setBuffer (1221 ,
@@ -1942,9 +1936,6 @@ TEST_F(LayerSnapshotTest, leftEdgeExtensionIncreaseBoundSizeWithinCrop) {
19421936
19431937TEST_F (LayerSnapshotTest, rightEdgeExtensionIncreaseBoundSizeWithinCrop) {
19441938 // The right bound is extended when shifting to the left
1945- if (!com::android::graphics::libgui::flags::edge_extension_shader ()) {
1946- GTEST_SKIP () << " Skipping test because edge_extension_shader is off" ;
1947- }
19481939 const int crop = 20 ;
19491940 setCrop (1 , Rect (0 , 0 , crop, crop));
19501941 const int texSize = 10 ;
@@ -1965,9 +1956,6 @@ TEST_F(LayerSnapshotTest, rightEdgeExtensionIncreaseBoundSizeWithinCrop) {
19651956
19661957TEST_F (LayerSnapshotTest, topEdgeExtensionIncreaseBoundSizeWithinCrop) {
19671958 // The top bound is extended when shifting to the bottom
1968- if (!com::android::graphics::libgui::flags::edge_extension_shader ()) {
1969- GTEST_SKIP () << " Skipping test because edge_extension_shader is off" ;
1970- }
19711959 setCrop (1 , Rect (0 , 0 , 20 , 20 ));
19721960 const int texSize = 10 ;
19731961 setBuffer (1221 ,
@@ -1987,9 +1975,6 @@ TEST_F(LayerSnapshotTest, topEdgeExtensionIncreaseBoundSizeWithinCrop) {
19871975
19881976TEST_F (LayerSnapshotTest, bottomEdgeExtensionIncreaseBoundSizeWithinCrop) {
19891977 // The bottom bound is extended when shifting to the top
1990- if (!com::android::graphics::libgui::flags::edge_extension_shader ()) {
1991- GTEST_SKIP () << " Skipping test because edge_extension_shader is off" ;
1992- }
19931978 const int crop = 20 ;
19941979 setCrop (1 , Rect (0 , 0 , crop, crop));
19951980 const int texSize = 10 ;
@@ -2010,9 +1995,6 @@ TEST_F(LayerSnapshotTest, bottomEdgeExtensionIncreaseBoundSizeWithinCrop) {
20101995
20111996TEST_F (LayerSnapshotTest, multipleEdgeExtensionIncreaseBoundSizeWithinCrop) {
20121997 // The left bound is extended when shifting to the right
2013- if (!com::android::graphics::libgui::flags::edge_extension_shader ()) {
2014- GTEST_SKIP () << " Skipping test because edge_extension_shader is off" ;
2015- }
20161998 const int crop = 20 ;
20171999 setCrop (1 , Rect (0 , 0 , crop, crop));
20182000 const int texSize = 10 ;
0 commit comments