/external/chromium_org/cc/resources/ |
D | picture_pile_impl.cc | 44 float contents_scale, in RasterDirect() argument 49 contents_scale, in RasterDirect() 57 float contents_scale, in RasterForAnalysis() argument 60 canvas, canvas, canvas_rect, contents_scale, stats_instrumentation, true); in RasterForAnalysis() 66 float contents_scale, in RasterToBitmap() argument 83 gfx::ScaleRect(gfx::Rect(tiling_.tiling_size()), contents_scale)); in RasterToBitmap() 128 contents_scale, in RasterToBitmap() 135 float contents_scale, in CoalesceRasters() argument 140 content_rect, 1.f / contents_scale); in CoalesceRasters() 182 gfx::ScaleToEnclosedRect(chunk_rect, contents_scale); in CoalesceRasters() [all …]
|
D | picture_pile_impl.h | 38 float contents_scale, 48 float contents_scale, 56 float contents_scale, 70 float contents_scale, 75 float contents_scale, 82 float contents_scale, 116 float contents_scale, 123 float contents_scale,
|
D | picture_layer_tiling_set.cc | 16 return left->contents_scale() > right->contents_scale(); in operator ()() 58 float scale = tilings_[i]->contents_scale(); in SyncTilings() 71 float contents_scale = other.tilings_[i]->contents_scale(); in SyncTilings() local 72 if (contents_scale < minimum_contents_scale) in SyncTilings() 74 if (PictureLayerTiling* this_tiling = TilingAtScale(contents_scale)) { in SyncTilings() 92 contents_scale, in SyncTilings() 106 PictureLayerTiling* PictureLayerTilingSet::AddTiling(float contents_scale) { in AddTiling() argument 108 DCHECK_NE(tilings_[i]->contents_scale(), contents_scale); in AddTiling() 110 tilings_.push_back(PictureLayerTiling::Create(contents_scale, in AddTiling() 130 if (tilings_[i]->contents_scale() == scale) in TilingAtScale() [all …]
|
D | picture_pile_impl_perftest.cc | 30 void RunAnalyzeTest(const std::string& test_name, float contents_scale) { in RunAnalyzeTest() argument 39 pile->AnalyzeInRect(content_rect, contents_scale, &analysis); in RunAnalyzeTest() 47 void RunRasterTest(const std::string& test_name, float contents_scale) { in RunRasterTest() argument 62 contents_scale, in RunRasterTest()
|
D | picture_layer_tiling_set_unittest.cc | 33 float contents_scale = 2.0; in TEST() local 35 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); in TEST() 41 contents_scale, in TEST() 43 contents_scale); in TEST() 245 float scale = iter.CurrentTiling()->contents_scale(); in runTest() 339 EXPECT_EQ(source_tiling->contents_scale(), in VerifyTargetEqualsSource() 340 target_tiling->contents_scale()); in VerifyTargetEqualsSource() 351 float last_scale = target_->tiling_at(0)->contents_scale(); in ValidateTargetTilingSet() 354 EXPECT_LT(target_tiling->contents_scale(), last_scale); in ValidateTargetTilingSet() 355 last_scale = target_tiling->contents_scale(); in ValidateTargetTilingSet() [all …]
|
D | picture_layer_tiling_set.h | 58 PictureLayerTiling* AddTiling(float contents_scale); 88 float contents_scale,
|
D | picture_pile_impl_unittest.cc | 642 float contents_scale = 1.5f; in TEST_P() local 657 pile->SetMinContentsScale(contents_scale); in TEST_P() 665 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); in TEST_P() 692 contents_scale, in TEST_P() 720 float contents_scale = 0.5f; in TEST() local 726 pile->SetMinContentsScale(contents_scale); in TEST() 731 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); in TEST() 742 &canvas, canvas_rect, contents_scale, &rendering_stats_instrumentation); in TEST() 760 float contents_scale = GetParam(); in TEST_P() local 780 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale))); in TEST_P() [all …]
|
D | tile.cc | 23 float contents_scale, in Tile() argument 31 contents_scale_(contents_scale), in Tile()
|
D | tile.h | 127 float contents_scale() const { return contents_scale_; } in contents_scale() function 169 float contents_scale,
|
D | picture_layer_tiling.h | 140 float contents_scale, 156 float contents_scale() const { return contents_scale_; } in contents_scale() function 296 PictureLayerTiling(float contents_scale,
|
D | picture_pile_base.cc | 145 bool PicturePileBase::CanRaster(float contents_scale, in CanRaster() argument 150 content_rect, 1.f / contents_scale); in CanRaster()
|
D | picture.cc | 335 float contents_scale) const { in Raster() 340 AsTraceableRasterData(contents_scale)); in Raster() 349 canvas->scale(contents_scale, contents_scale); in Raster()
|
D | tile_manager.cc | 41 float contents_scale, in RasterTaskImpl() argument 54 contents_scale_(contents_scale), in RasterTaskImpl() 1040 tile->content_rect(), tile->contents_scale(), tile->picture_pile()); in CreateRasterTask() 1064 tile->contents_scale(), in CreateRasterTask() 1144 float contents_scale, in CreateTile() argument 1152 contents_scale, in CreateTile()
|
D | picture_layer_tiling.cc | 67 float contents_scale, in Create() argument 70 return make_scoped_ptr(new PictureLayerTiling(contents_scale, in Create() 75 PictureLayerTiling::PictureLayerTiling(float contents_scale, in PictureLayerTiling() argument 78 : contents_scale_(contents_scale), in PictureLayerTiling() 91 gfx::ToCeiledSize(gfx::ScaleSize(layer_bounds, contents_scale)); in PictureLayerTiling() 99 gfx::ScaleSize(layer_bounds, contents_scale)).IsEmpty()) << in PictureLayerTiling() 102 " Contents scale: " << contents_scale; in PictureLayerTiling()
|
D | picture_pile_base.h | 46 bool CanRaster(float contents_scale, const gfx::Rect& content_rect);
|
D | picture.h | 82 float contents_scale) const;
|
/external/chromium_org/cc/layers/ |
D | picture_layer_impl_unittest.cc | 176 tiling->contents_scale(), in VerifyAllTilesExistAndHavePile() 185 void SetContentsScaleOnBothLayers(float contents_scale, in SetContentsScaleOnBothLayers() argument 191 contents_scale, in SetContentsScaleOnBothLayers() 198 contents_scale, in SetContentsScaleOnBothLayers() 375 tiling->contents_scale())); in TEST_F() 421 tiling->contents_scale())); in TEST_F() 539 tiling->contents_scale()); in TEST_F() 542 tiling->contents_scale(), in TEST_F() 602 tiling->contents_scale()); in TEST_F() 605 tiling->contents_scale(), in TEST_F() [all …]
|
D | picture_layer_impl.cc | 274 } else if (iter->contents_scale() > max_contents_scale) { in AppendQuads() 340 if (iter->contents_scale() != raster_contents_scale_ && in AppendQuads() 341 iter->contents_scale() != ideal_contents_scale_ && in AppendQuads() 383 iter->contents_scale(), in AppendQuads() 579 gfx::ScaleRect(tile->content_rect(), 1.f / tile->contents_scale()); in NotifyTileStateChanged() 613 if (!pile_->CanRaster(tiling->contents_scale(), content_rect)) in CreateTile() 631 tiling->contents_scale(), in CreateTile() 649 return twin_layer_->tilings_->TilingAtScale(tiling->contents_scale()); in GetTwinTiling() 657 return recycled_twin->tilings_->TilingAtScale(tiling->contents_scale()); in GetRecycledTwinTiling() 777 if (!CanHaveTilingWithScale(tiling->contents_scale())) in SyncTiling() [all …]
|
D | picture_layer_impl.h | 158 PictureLayerTiling* AddTiling(float contents_scale); 159 void RemoveTiling(float contents_scale); 188 bool CanHaveTilingWithScale(float contents_scale) const;
|
D | picture_image_layer_impl_unittest.cc | 127 EXPECT_EQ(1.f, pending_layer->tilings()->tiling_at(0)->contents_scale()); in TEST_F() 141 EXPECT_EQ(1.f, active_layer->tilings()->tiling_at(0)->contents_scale()); in TEST_F()
|
/external/chromium_org/cc/quads/ |
D | picture_draw_quad.cc | 28 float contents_scale, in SetNew() argument 40 this->contents_scale = contents_scale; in SetNew() 54 float contents_scale, in SetAll() argument 67 this->contents_scale = contents_scale; in SetAll() 88 value->SetDouble("contents_scale", contents_scale); in ExtendValue()
|
D | picture_draw_quad.h | 33 float contents_scale, 45 float contents_scale, 49 float contents_scale; variable
|
D | draw_quad_unittest.cc | 659 float contents_scale = 3.141592f; in TEST() local 670 contents_scale, in TEST() 679 EXPECT_EQ(contents_scale, copy_quad->contents_scale); in TEST() 687 contents_scale, in TEST() 694 EXPECT_EQ(contents_scale, copy_quad->contents_scale); in TEST() 909 float contents_scale = 3.141592f; in TEST_F() local 920 contents_scale, in TEST_F()
|
/external/chromium_org/cc/debug/ |
D | rasterize_and_record_benchmark_impl.cc | 30 float contents_scale, in BenchmarkRasterTask() argument 34 contents_scale_(contents_scale), in BenchmarkRasterTask() 226 float contents_scale = (*it)->contents_scale(); in RunOnLayer() local 231 contents_scale, in RunOnLayer()
|
/external/chromium_org/cc/trees/ |
D | layer_tree_host_common.cc | 938 float contents_scale) { in CalculateContentsScale() argument 943 static inline void CalculateContentsScale(Layer* layer, float contents_scale) { in CalculateContentsScale() argument 944 layer->CalculateContentsScale(contents_scale, in CalculateContentsScale() 952 contents_scale, in CalculateContentsScale() 962 contents_scale, in CalculateContentsScale() 1016 float contents_scale = raster_scale * device_scale_factor * page_scale_factor; in UpdateLayerContentsScale() local 1017 CalculateContentsScale(layer, contents_scale); in UpdateLayerContentsScale()
|