Home
last modified time | relevance | path

Searched refs:contents_opaque (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/cc/layers/
Dlayer_perftest.cc70 bool contents_opaque = true; in TEST_F() local
80 test_layer->SetContentsOpaque(contents_opaque); in TEST_F()
90 contents_opaque = !contents_opaque; in TEST_F()
Dsolid_color_layer_impl_unittest.cc128 EXPECT_FALSE(layer->contents_opaque()); in TEST()
130 EXPECT_TRUE(layer->contents_opaque()); in TEST()
138 EXPECT_TRUE(layer_impl->contents_opaque()); in TEST()
155 EXPECT_TRUE(layer->contents_opaque()); in TEST()
157 EXPECT_FALSE(layer->contents_opaque()); in TEST()
165 EXPECT_FALSE(layer_impl->contents_opaque()); in TEST()
Dlayer_impl_unittest.cc365 for (int contents_opaque = 0; contents_opaque < 2; ++contents_opaque) { in TEST() local
368 layer->SetContentsOpaque(!!contents_opaque); in TEST()
375 if (contents_opaque) { in TEST()
377 << "Flags: " << contents_opaque << ", " << layer_opaque << ", " in TEST()
381 << "Flags: " << contents_opaque << ", " << layer_opaque << ", " in TEST()
Dtexture_layer_impl.cc157 bool opaque = contents_opaque() || (SkColorGetA(bg_color) == 0xFF); in AppendQuads()
186 if (contents_opaque()) in VisibleContentOpaqueRegion()
Dcontent_layer.h48 virtual void SetContentsOpaque(bool contents_opaque) OVERRIDE;
Dio_surface_layer_impl.cc79 gfx::Rect opaque_rect(contents_opaque() ? quad_rect : gfx::Rect()); in AppendQuads()
Dlayer_unittest.cc1187 for (int contents_opaque = 0; contents_opaque < 2; ++contents_opaque) { in TEST_F() local
1190 layer->SetContentsOpaque(!!contents_opaque); in TEST_F()
1197 if (contents_opaque) { in TEST_F()
1199 << "Flags: " << contents_opaque << ", " << layer_opaque << ", " in TEST_F()
1203 << "Flags: " << contents_opaque << ", " << layer_opaque << ", " in TEST_F()
Dcontent_layer.cc115 updater_->SetOpaque(contents_opaque()); in CreateUpdaterIfNeeded()
Dui_resource_layer_impl.cc120 contents_opaque(); in AppendQuads()
Dpainted_scrollbar_layer_impl.cc122 gfx::Rect opaque_rect(contents_opaque() ? track_quad_rect : gfx::Rect()); in AppendQuads()
Dpicture_layer.cc128 contents_opaque(), in Update()
Dlayer.cc388 if (SkColorGetA(color) == 255 && !contents_opaque()) { in SafeOpaqueBackgroundColor()
390 } else if (SkColorGetA(color) != 255 && contents_opaque()) { in SafeOpaqueBackgroundColor()
1184 if (contents_opaque()) in VisibleContentOpaqueRegion()
Dlayer_impl.cc891 if (SkColorGetA(color) == 255 && !contents_opaque()) { in SafeOpaqueBackgroundColor()
893 } else if (SkColorGetA(color) != 255 && contents_opaque()) { in SafeOpaqueBackgroundColor()
1157 if (contents_opaque()) in VisibleContentOpaqueRegion()
1507 state->SetBoolean("contents_opaque", contents_opaque()); in AsValueInto()
Dtexture_layer.cc261 if (contents_opaque()) in VisibleContentOpaqueRegion()
Dvideo_layer_impl.cc175 gfx::Rect opaque_rect(contents_opaque() ? quad_rect : gfx::Rect()); in AppendQuads()
Dtiled_layer_impl.cc243 gfx::Rect tile_opaque_rect = contents_opaque() ? tile_rect : gfx::Rect(); in AppendQuads()
Dlayer.h163 bool contents_opaque() const { return contents_opaque_; } in contents_opaque() function
/external/chromium_org/cc/test/
Dfake_picture_pile_impl.h59 void set_contents_opaque(bool contents_opaque) { in set_contents_opaque() argument
60 contents_opaque_ = contents_opaque; in set_contents_opaque()
Dlayer_tree_json_parser.cc97 bool contents_opaque; in ParseTreeFromValue() local
98 if (dict->GetBoolean("ContentsOpaque", &contents_opaque)) in ParseTreeFromValue()
99 new_layer->SetContentsOpaque(contents_opaque); in ParseTreeFromValue()
Dlayer_tree_json_parser_unittest.cc37 RETURN_IF_EXPECTATION_FAILS(EXPECT_EQ(layer_impl->contents_opaque(), in LayerTreesMatch()
38 layer->contents_opaque())); in LayerTreesMatch()
/external/chromium_org/cc/resources/
Dpicture_pile.h29 bool contents_opaque,
Dpicture_pile.cc164 bool contents_opaque, in UpdateAndExpandInvalidation() argument
172 contents_opaque_ = contents_opaque; in UpdateAndExpandInvalidation()
Dpicture_pile_impl_unittest.cc646 bool contents_opaque = GetParam(); in TEST_P() local
659 pile->set_contents_opaque(contents_opaque); in TEST_P()
/external/chromium_org/cc/debug/
Drasterize_and_record_benchmark_impl.cc253 if (layer->contents_opaque()) in RunOnLayer()
/external/chromium_org/cc/blink/
Dweb_layer_impl.cc162 return layer_->contents_opaque(); in opaque()

12