/external/chromium_org/cc/layers/ |
D | solid_color_layer_impl_unittest.cc | 26 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()
|
D | tiled_layer_impl_unittest.cc | 36 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 …]
|
D | nine_patch_layer_impl_unittest.cc | 40 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()
|
D | tiled_layer_unittest.cc | 228 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 …]
|
D | tiled_layer.cc | 379 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 …]
|
D | tiled_layer_impl.cc | 142 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()
|
D | picture_layer.cc | 88 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()
|
D | ui_resource_layer_impl_unittest.cc | 28 gfx::Rect visible_content_rect(layer_size); in GenerateUIResourceLayer() local 31 layer->draw_properties().visible_content_rect = visible_content_rect; in GenerateUIResourceLayer()
|
D | draw_properties.h | 75 gfx::Rect visible_content_rect; member
|
D | texture_layer_impl.cc | 204 return visible_content_rect(); in VisibleContentOpaqueRegion() 207 return visible_content_rect(); in VisibleContentOpaqueRegion()
|
D | texture_layer.cc | 278 return visible_content_rect(); in VisibleContentOpaqueRegion() 281 return visible_content_rect(); in VisibleContentOpaqueRegion()
|
D | picture_image_layer_impl_unittest.cc | 149 active_layer->draw_properties().visible_content_rect = in TEST_F()
|
D | render_surface_unittest.cc | 126 gfx::Rect(shared_quad_state->visible_content_rect)); in TEST()
|
D | layer.h | 249 gfx::Rect visible_content_rect() const { in visible_content_rect() function 250 return draw_properties_.visible_content_rect; in visible_content_rect()
|
D | layer_impl.h | 330 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/ |
D | rasterize_and_record_benchmark.cc | 114 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()
|
D | rasterize_and_record_benchmark_impl.cc | 69 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/ |
D | shared_quad_state.cc | 32 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()
|
D | shared_quad_state.h | 29 gfx::Rect visible_content_rect, 41 gfx::Rect visible_content_rect; variable
|
D | draw_quad.h | 57 return shared_quad_state->visible_content_rect; in visibleContentRect()
|
D | draw_quad_unittest.cc | 35 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/ |
D | layer_tree_host_common_unittest.cc | 2846 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/ |
D | picture_layer_tiling_set.h | 61 gfx::Rect visible_content_rect,
|
D | picture_layer_tiling_set.cc | 308 gfx::Rect visible_content_rect, in UpdateTilePriorities() argument 321 visible_content_rect, in UpdateTilePriorities()
|
D | picture_layer_tiling.cc | 374 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()
|