Home
last modified time | relevance | path

Searched refs:visible_content_rect (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/cc/layers/
Dsolid_color_layer_impl_unittest.cc26 gfx::Rect visible_content_rect = gfx::Rect(layer_size); in TEST() local
32 layer->draw_properties().visible_content_rect = visible_content_rect; in TEST()
42 visible_content_rect); in TEST()
50 gfx::Rect visible_content_rect = gfx::Rect(layer_size); in TEST() local
56 layer->draw_properties().visible_content_rect = visible_content_rect; in TEST()
76 gfx::Rect visible_content_rect = gfx::Rect(layer_size); in TEST() local
82 layer->draw_properties().visible_content_rect = visible_content_rect; in TEST()
100 gfx::Rect visible_content_rect = gfx::Rect(layer_size); in TEST() local
138 EXPECT_EQ(visible_content_rect.ToString(), in TEST()
Dtiled_layer_impl_unittest.cc36 layer->draw_properties().visible_content_rect = in CreateLayerNoTiles()
75 gfx::Rect visible_content_rect) { in GetQuads() argument
78 layer->draw_properties().visible_content_rect = visible_content_rect; in GetQuads()
115 layer->draw_properties().visible_content_rect = gfx::Rect(); in TEST_F()
127 layer->draw_properties().visible_content_rect = outside_bounds; in TEST_F()
218 gfx::Rect visible_content_rect = gfx::BoundingRect(top_left, bottom_right); in CoverageVisibleRectIntersectsTiles() local
228 visible_content_rect); in CoverageVisibleRectIntersectsTiles()
229 LayerTestCommon::VerifyQuadsExactlyCoverRect(quads, visible_content_rect); in CoverageVisibleRectIntersectsTiles()
235 gfx::Rect visible_content_rect(layer_size); in CoverageVisibleRectIntersectsBounds() local
243 visible_content_rect); in CoverageVisibleRectIntersectsBounds()
[all …]
Dnine_patch_layer_impl_unittest.cc40 gfx::Rect visible_content_rect(layer_size); in NinePatchLayerLayoutTest() local
50 layer->draw_properties().visible_content_rect = visible_content_rect; in NinePatchLayerLayoutTest()
75 Region remaining(visible_content_rect); in NinePatchLayerLayoutTest()
80 EXPECT_TRUE(visible_content_rect.Contains(quad_rect)) << i; in NinePatchLayerLayoutTest()
Dtiled_layer_unittest.cc228 layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); in TEST_F()
320 layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); in TEST_F()
341 layer->draw_properties().visible_content_rect = gfx::Rect(200, 200, 100, 100); in TEST_F()
409 layer->draw_properties().visible_content_rect = previous_visible_rect; in TEST_F()
415 layer->draw_properties().visible_content_rect = visible_rect; in TEST_F()
428 layer->draw_properties().visible_content_rect = next_visible_rect; in TEST_F()
478 layer1->draw_properties().visible_content_rect = layer1_rect; in TEST_F()
479 layer2->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); in TEST_F()
525 layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 100); in TEST_F()
550 layer->draw_properties().visible_content_rect = gfx::Rect(0, 0, 100, 200); in TEST_F()
[all …]
Dtiled_layer.cc379 tiler_->tile_bounds(i, j), visible_content_rect()); in MarkOcclusionsAndRequestTextures()
666 return visible_content_rect(); in VisibleContentOpaqueRegion()
667 return tiler_->OpaqueRegionInContentRect(visible_content_rect()); in VisibleContentOpaqueRegion()
705 gfx::Vector2d delta = visible_content_rect().CenterPoint() - in UpdateScrollPrediction()
708 predicted_visible_rect_ = visible_content_rect(); in UpdateScrollPrediction()
710 previous_visible_rect_.size() == visible_content_rect().size()) { in UpdateScrollPrediction()
718 ExpandRectByDelta(visible_content_rect(), major_scroll_delta); in UpdateScrollPrediction()
722 gfx::Rect bound = visible_content_rect(); in UpdateScrollPrediction()
729 previous_visible_rect_ = visible_content_rect(); in UpdateScrollPrediction()
875 if (failed_update_ || visible_content_rect().IsEmpty() || in NeedsIdlePaint()
[all …]
Dtiled_layer_impl.cc142 visible_content_rect().IsEmpty() || in WillDraw()
152 DCHECK(!visible_content_rect().IsEmpty()); in AppendQuads()
154 gfx::Rect content_rect = visible_content_rect(); in AppendQuads()
289 return visible_content_rect(); in VisibleContentOpaqueRegion()
290 return tiler_->OpaqueRegionInContentRect(visible_content_rect()); in VisibleContentOpaqueRegion()
Dpicture_layer.cc88 if (last_updated_visible_content_rect_ == visible_content_rect() && in Update()
107 visible_content_rect(), 1.f / contents_scale_x()); in Update()
120 last_updated_visible_content_rect_ = visible_content_rect(); in Update()
Dui_resource_layer_impl_unittest.cc28 gfx::Rect visible_content_rect(layer_size); in GenerateUIResourceLayer() local
31 layer->draw_properties().visible_content_rect = visible_content_rect; in GenerateUIResourceLayer()
Ddraw_properties.h75 gfx::Rect visible_content_rect; member
Dtexture_layer_impl.cc204 return visible_content_rect(); in VisibleContentOpaqueRegion()
207 return visible_content_rect(); in VisibleContentOpaqueRegion()
Dtexture_layer.cc278 return visible_content_rect(); in VisibleContentOpaqueRegion()
281 return visible_content_rect(); in VisibleContentOpaqueRegion()
Dpicture_image_layer_impl_unittest.cc149 active_layer->draw_properties().visible_content_rect = in TEST_F()
Drender_surface_unittest.cc126 gfx::Rect(shared_quad_state->visible_content_rect)); in TEST()
Dlayer.h249 gfx::Rect visible_content_rect() const { in visible_content_rect() function
250 return draw_properties_.visible_content_rect; in visible_content_rect()
Dlayer_impl.h330 gfx::Rect visible_content_rect() const { in visible_content_rect() function
331 return draw_properties_.visible_content_rect; in visible_content_rect()
/external/chromium_org/cc/debug/
Drasterize_and_record_benchmark.cc114 gfx::Rect visible_content_rect = gfx::ScaleToEnclosingRect( in RunOnLayer() local
115 layer->visible_content_rect(), 1.f / layer->contents_scale_x()); in RunOnLayer()
116 if (visible_content_rect.IsEmpty()) in RunOnLayer()
119 scoped_refptr<Picture> picture = Picture::Create(visible_content_rect); in RunOnLayer()
133 visible_content_rect.width() * visible_content_rect.height(); in RunOnLayer()
Drasterize_and_record_benchmark_impl.cc69 if (layer->visible_content_rect().IsEmpty()) in RunOnLayer()
77 tiling, layer->contents_scale_x(), layer->visible_content_rect()); in RunOnLayer()
/external/chromium_org/cc/quads/
Dshared_quad_state.cc32 gfx::Rect visible_content_rect, in SetAll() argument
39 this->visible_content_rect = visible_content_rect; in SetAll()
53 MathUtil::AsValue(visible_content_rect).release()); in AsValue()
Dshared_quad_state.h29 gfx::Rect visible_content_rect,
41 gfx::Rect visible_content_rect; variable
Ddraw_quad.h57 return shared_quad_state->visible_content_rect; in visibleContentRect()
Ddraw_quad_unittest.cc35 gfx::Rect visible_content_rect(10, 12, 14, 16); in TEST() local
44 visible_content_rect, in TEST()
52 EXPECT_RECT_EQ(visible_content_rect, copy->visible_content_rect); in TEST()
62 gfx::Rect visible_content_rect(10, 12, 14, 16); in CreateSharedQuadState() local
71 visible_content_rect, in CreateSharedQuadState()
/external/chromium_org/cc/trees/
Dlayer_tree_host_common_unittest.cc2846 EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); in TEST_F()
2849 EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), child1->visible_content_rect()); in TEST_F()
2850 EXPECT_RECT_EQ(gfx::Rect(0, 0, 25, 25), child2->visible_content_rect()); in TEST_F()
2851 EXPECT_TRUE(child3->visible_content_rect().IsEmpty()); in TEST_F()
2924 EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); in TEST_F()
2925 EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), child->visible_content_rect()); in TEST_F()
2928 EXPECT_RECT_EQ(gfx::Rect(0, 0, 50, 50), grand_child1->visible_content_rect()); in TEST_F()
2929 EXPECT_RECT_EQ(gfx::Rect(0, 0, 25, 25), grand_child2->visible_content_rect()); in TEST_F()
2930 EXPECT_TRUE(grand_child3->visible_content_rect().IsEmpty()); in TEST_F()
3005 EXPECT_RECT_EQ(gfx::Rect(0, 0, 0, 0), root->visible_content_rect()); in TEST_F()
[all …]
/external/chromium_org/cc/resources/
Dpicture_layer_tiling_set.h61 gfx::Rect visible_content_rect,
Dpicture_layer_tiling_set.cc308 gfx::Rect visible_content_rect, in UpdateTilePriorities() argument
321 visible_content_rect, in UpdateTilePriorities()
Dpicture_layer_tiling.cc374 gfx::Rect visible_content_rect = in UpdateTilePriorities() local
381 gfx::Rect starting_rect = visible_content_rect.IsEmpty() in UpdateTilePriorities()
383 : visible_content_rect; in UpdateTilePriorities()

12