/external/chromium_org/cc/resources/ |
D | picture_layer_tiling_unittest.cc | 133 PictureLayerTiling* tiling, in VerifyTiles() argument 138 for (PictureLayerTiling::CoverageIterator iter(tiling, rect_scale, rect); in VerifyTiles() 740 scoped_ptr<TestablePictureLayerTiling> tiling; in TEST() local 757 tiling = TestablePictureLayerTiling::Create(1.0f, // contents_scale in TEST() 761 tiling->UpdateTilePriorities( in TEST() 775 ASSERT_TRUE(tiling->TileAt(0, 0)); in TEST() 776 ASSERT_TRUE(tiling->TileAt(0, 1)); in TEST() 777 ASSERT_TRUE(tiling->TileAt(1, 0)); in TEST() 778 ASSERT_TRUE(tiling->TileAt(1, 1)); in TEST() 780 TilePriority priority = tiling->TileAt(0, 0)->priority(ACTIVE_TREE); in TEST() [all …]
|
D | picture_pile_unittest.cc | 46 gfx::Size base_picture_size = pile->tiling().max_texture_size(); in TEST() 72 EXPECT_EQ(1, pile->tiling().num_tiles_x()); in TEST() 73 EXPECT_EQ(1, pile->tiling().num_tiles_y()); in TEST() 95 gfx::Size base_picture_size = pile->tiling().max_texture_size(); in TEST() 121 EXPECT_EQ(1, pile->tiling().num_tiles_x()); in TEST() 122 EXPECT_EQ(1, pile->tiling().num_tiles_y()); in TEST() 144 gfx::Size base_picture_size = pile->tiling().max_texture_size(); in TEST() 153 EXPECT_EQ(3, pile->tiling().num_tiles_x()); in TEST() 154 EXPECT_EQ(3, pile->tiling().num_tiles_y()); in TEST() 158 EXPECT_EQ(7, pile->tiling().border_texels()); in TEST() [all …]
|
D | picture_layer_tiling_set_unittest.cc | 78 PictureLayerTiling* tiling = set.AddTiling(scale); in runTest() local 79 tiling->CreateAllTilesForTesting(); in runTest() 80 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in runTest() 218 void ValidateTiling(const PictureLayerTiling* tiling, in ValidateTiling() argument 220 if (tiling->ContentRect().IsEmpty()) in ValidateTiling() 221 EXPECT_TRUE(tiling->live_tiles_rect().IsEmpty()); in ValidateTiling() 222 else if (!tiling->live_tiles_rect().IsEmpty()) in ValidateTiling() 223 EXPECT_TRUE(tiling->ContentRect().Contains(tiling->live_tiles_rect())); in ValidateTiling() 225 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in ValidateTiling() 230 EXPECT_TRUE(tile->content_rect().Intersects(tiling->live_tiles_rect())) in ValidateTiling() [all …]
|
/external/chromium_org/cc/test/ |
D | fake_picture_layer_impl.cc | 50 PictureLayerTiling* tiling = tilings_->tiling_at(i); in HighResTiling() local 51 if (tiling->resolution() == HIGH_RESOLUTION) { in HighResTiling() 54 result = tiling; in HighResTiling() 63 PictureLayerTiling* tiling = tilings_->tiling_at(i); in LowResTiling() local 64 if (tiling->resolution() == LOW_RESOLUTION) { in LowResTiling() 67 result = tiling; in LowResTiling() 79 PictureLayerTiling* tiling = tilings_->tiling_at(tiling_idx); in SetAllTilesVisible() local 80 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in SetAllTilesVisible() 95 PictureLayerTiling* tiling = tilings_->tiling_at(tiling_idx); in SetAllTilesReady() local 96 SetAllTilesReadyInTiling(tiling); in SetAllTilesReady() [all …]
|
D | fake_picture_pile_impl.cc | 23 pile->tiling().SetTotalSize(layer_bounds); in CreateFilledPile() 24 pile->tiling().SetMaxTextureSize(tile_size); in CreateFilledPile() 28 for (int x = 0; x < pile->tiling().num_tiles_x(); ++x) { in CreateFilledPile() 29 for (int y = 0; y < pile->tiling().num_tiles_y(); ++y) in CreateFilledPile() 39 pile->tiling().SetTotalSize(layer_bounds); in CreateEmptyPile() 40 pile->tiling().SetMaxTextureSize(tile_size); in CreateEmptyPile() 52 pile->tiling().SetTotalSize(layer_bounds); in CreateEmptyPileThatThinksItHasRecordings() 53 pile->tiling().SetMaxTextureSize(tile_size); in CreateEmptyPileThatThinksItHasRecordings() 67 pile->tiling().SetTotalSize(size); in CreateInfiniteFilledPile() 68 pile->tiling().SetMaxTextureSize(size); in CreateInfiniteFilledPile() [all …]
|
D | fake_picture_layer_tiling_client.h | 25 PictureLayerTiling* tiling, gfx::Rect rect) OVERRIDE; 37 const PictureLayerTiling* tiling) const OVERRIDE; 39 void set_twin_tiling(PictureLayerTiling* tiling) { twin_tiling_ = tiling; } in set_twin_tiling() argument
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_regions.c | 136 if (region->tiling != I915_TILING_NONE) in intel_region_map() 156 if (region->tiling != I915_TILING_NONE) in intel_region_unmap() 171 uint32_t tiling, drm_intel_bo *buffer) in intel_region_alloc_internal() argument 185 region->tiling = tiling; in intel_region_alloc_internal() 194 uint32_t tiling, in intel_region_alloc() argument 208 &tiling, &aligned_pitch, flags); in intel_region_alloc() 213 aligned_pitch / cpp, tiling, buffer); in intel_region_alloc() 247 uint32_t bit_6_swizzle, tiling; in intel_region_alloc_for_handle() local 266 ret = drm_intel_bo_get_tiling(buffer, &tiling, &bit_6_swizzle); in intel_region_alloc_for_handle() 275 width, height, pitch, tiling, buffer); in intel_region_alloc_for_handle() [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
D | intel_regions.c | 136 if (region->tiling != I915_TILING_NONE) in intel_region_map() 156 if (region->tiling != I915_TILING_NONE) in intel_region_unmap() 171 uint32_t tiling, drm_intel_bo *buffer) in intel_region_alloc_internal() argument 185 region->tiling = tiling; in intel_region_alloc_internal() 194 uint32_t tiling, in intel_region_alloc() argument 208 &tiling, &aligned_pitch, flags); in intel_region_alloc() 213 aligned_pitch / cpp, tiling, buffer); in intel_region_alloc() 247 uint32_t bit_6_swizzle, tiling; in intel_region_alloc_for_handle() local 266 ret = drm_intel_bo_get_tiling(buffer, &tiling, &bit_6_swizzle); in intel_region_alloc_for_handle() 275 width, height, pitch, tiling, buffer); in intel_region_alloc_for_handle() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_regions.c | 136 if (region->tiling != I915_TILING_NONE) in intel_region_map() 156 if (region->tiling != I915_TILING_NONE) in intel_region_unmap() 171 uint32_t tiling, drm_intel_bo *buffer) in intel_region_alloc_internal() argument 185 region->tiling = tiling; in intel_region_alloc_internal() 194 uint32_t tiling, in intel_region_alloc() argument 208 &tiling, &aligned_pitch, flags); in intel_region_alloc() 213 aligned_pitch / cpp, tiling, buffer); in intel_region_alloc() 247 uint32_t bit_6_swizzle, tiling; in intel_region_alloc_for_handle() local 266 ret = drm_intel_bo_get_tiling(buffer, &tiling, &bit_6_swizzle); in intel_region_alloc_for_handle() 275 width, height, pitch, tiling, buffer); in intel_region_alloc_for_handle() [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
D | intel_regions.c | 136 if (region->tiling != I915_TILING_NONE) in intel_region_map() 156 if (region->tiling != I915_TILING_NONE) in intel_region_unmap() 171 uint32_t tiling, drm_intel_bo *buffer) in intel_region_alloc_internal() argument 185 region->tiling = tiling; in intel_region_alloc_internal() 194 uint32_t tiling, in intel_region_alloc() argument 208 &tiling, &aligned_pitch, flags); in intel_region_alloc() 213 aligned_pitch / cpp, tiling, buffer); in intel_region_alloc() 247 uint32_t bit_6_swizzle, tiling; in intel_region_alloc_for_handle() local 266 ret = drm_intel_bo_get_tiling(buffer, &tiling, &bit_6_swizzle); in intel_region_alloc_for_handle() 275 width, height, pitch, tiling, buffer); in intel_region_alloc_for_handle() [all …]
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
D | intel_regions.c | 136 if (region->tiling != I915_TILING_NONE) in intel_region_map() 156 if (region->tiling != I915_TILING_NONE) in intel_region_unmap() 171 uint32_t tiling, drm_intel_bo *buffer) in intel_region_alloc_internal() argument 185 region->tiling = tiling; in intel_region_alloc_internal() 194 uint32_t tiling, in intel_region_alloc() argument 208 &tiling, &aligned_pitch, flags); in intel_region_alloc() 213 aligned_pitch / cpp, tiling, buffer); in intel_region_alloc() 247 uint32_t bit_6_swizzle, tiling; in intel_region_alloc_for_handle() local 266 ret = drm_intel_bo_get_tiling(buffer, &tiling, &bit_6_swizzle); in intel_region_alloc_for_handle() 275 width, height, pitch, tiling, buffer); in intel_region_alloc_for_handle() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_regions.c | 136 if (region->tiling != I915_TILING_NONE) in intel_region_map() 156 if (region->tiling != I915_TILING_NONE) in intel_region_unmap() 171 uint32_t tiling, drm_intel_bo *buffer) in intel_region_alloc_internal() argument 185 region->tiling = tiling; in intel_region_alloc_internal() 194 uint32_t tiling, in intel_region_alloc() argument 208 &tiling, &aligned_pitch, flags); in intel_region_alloc() 213 aligned_pitch / cpp, tiling, buffer); in intel_region_alloc() 247 uint32_t bit_6_swizzle, tiling; in intel_region_alloc_for_handle() local 266 ret = drm_intel_bo_get_tiling(buffer, &tiling, &bit_6_swizzle); in intel_region_alloc_for_handle() 275 width, height, pitch, tiling, buffer); in intel_region_alloc_for_handle() [all …]
|
/external/chromium/chrome/browser/ |
D | ntp_background_util.cc | 18 gfx::Canvas* canvas, SkBitmap* ntp_background, int tiling, int alignment, in PaintThemeBackground() argument 36 if (tiling != ThemeService::REPEAT && in PaintThemeBackground() 37 tiling != ThemeService::REPEAT_X) { in PaintThemeBackground() 43 if (tiling != ThemeService::REPEAT && in PaintThemeBackground() 44 tiling != ThemeService::REPEAT_Y) { in PaintThemeBackground() 67 int tiling = ThemeService::NO_REPEAT; in PaintBackgroundDetachedMode() local 69 &tiling); in PaintBackgroundDetachedMode() 76 canvas, ntp_background, tiling, alignment, area, tab_contents_height); in PaintBackgroundDetachedMode()
|
/external/chromium_org/chrome/browser/ui/ |
D | ntp_background_util.cc | 21 gfx::Canvas* canvas, gfx::ImageSkia* ntp_background, int tiling, in PaintThemeBackground() argument 46 if (tiling != ThemeProperties::REPEAT && in PaintThemeBackground() 47 tiling != ThemeProperties::REPEAT_X) { in PaintThemeBackground() 53 if (tiling != ThemeProperties::REPEAT && in PaintThemeBackground() 54 tiling != ThemeProperties::REPEAT_Y) { in PaintThemeBackground() 77 int tiling = tp->GetDisplayProperty(ThemeProperties::NTP_BACKGROUND_TILING); in PaintBackgroundDetachedMode() local 84 canvas, ntp_background, tiling, alignment, area, tab_contents_height); in PaintBackgroundDetachedMode()
|
/external/chromium_org/cc/layers/ |
D | picture_layer_impl.cc | 445 const PictureLayerTiling* tiling = tilings_->tiling_at(i); in CalculateContentsScale() local 446 max_contents_scale = std::max(max_contents_scale, tiling->contents_scale()); in CalculateContentsScale() 466 scoped_refptr<Tile> PictureLayerImpl::CreateTile(PictureLayerTiling* tiling, in CreateTile() argument 468 if (!pile_->CanRaster(tiling->contents_scale(), content_rect)) in CreateTile() 481 tiling->contents_scale(), in CreateTile() 496 const PictureLayerTiling* tiling) const { in GetTwinTiling() 502 tiling->contents_scale()) in GetTwinTiling() 616 const PictureLayerTiling* tiling) { in SyncTiling() argument 617 if (!CanHaveTilingWithScale(tiling->contents_scale())) in SyncTiling() 619 tilings_->AddTiling(tiling->contents_scale()); in SyncTiling() [all …]
|
D | picture_layer_impl_unittest.cc | 131 const PictureLayerTiling* tiling, in VerifyAllTilesExistAndHavePile() argument 134 iter(tiling, tiling->contents_scale(), tiling->ContentRect()); in VerifyAllTilesExistAndHavePile() 171 void AssertAllTilesRequired(PictureLayerTiling* tiling) { in AssertAllTilesRequired() argument 172 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in AssertAllTilesRequired() 178 void AssertNoTilesRequired(PictureLayerTiling* tiling) { in AssertNoTilesRequired() argument 179 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in AssertNoTilesRequired() 359 const PictureLayerTiling* tiling = tilings->tiling_at(i); in TEST_F() local 362 tiling->contents_scale()); in TEST_F() 364 iter(tiling, in TEST_F() 365 tiling->contents_scale(), in TEST_F() [all …]
|
D | picture_layer_impl.h | 56 virtual scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling, 63 const PictureLayerTiling* tiling) const OVERRIDE; 66 void SyncTiling(const PictureLayerTiling* tiling); 95 PictureLayerTiling* tiling,
|
/external/chromium_org/chrome/browser/themes/ |
D | theme_properties.cc | 156 int ThemeProperties::StringToTiling(const std::string& tiling) { in StringToTiling() argument 157 const char* component = tiling.c_str(); in StringToTiling() 189 std::string ThemeProperties::TilingToString(int tiling) { in TilingToString() argument 191 if (tiling == REPEAT_X) in TilingToString() 193 if (tiling == REPEAT_Y) in TilingToString() 195 if (tiling == REPEAT) in TilingToString()
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/drm/ |
D | i915_drm_buffer.c | 58 enum i915_winsys_buffer_tile *tiling, in i915_drm_buffer_create_tiled() argument 64 uint32_t tiling_mode = *tiling; in i915_drm_buffer_create_tiled() 82 *tiling = tiling_mode; in i915_drm_buffer_create_tiled() 94 enum i915_winsys_buffer_tile *tiling, in i915_drm_buffer_from_handle() argument 115 *tiling = tile; in i915_drm_buffer_from_handle()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_static.c | 79 buf_3d_tiling_bits(enum i915_winsys_buffer_tile tiling) in buf_3d_tiling_bits() argument 83 switch (tiling) { in buf_3d_tiling_bits() 110 buf_3d_tiling_bits(tex->tiling); in update_framebuffer() 135 buf_3d_tiling_bits(tex->tiling); in update_framebuffer() 219 if (is->is_i945 && tex->tiling != I915_TILE_NONE in update_dst_buf_vars()
|
/external/mesa3d/src/gallium/winsys/i915/drm/ |
D | i915_drm_buffer.c | 58 enum i915_winsys_buffer_tile *tiling, in i915_drm_buffer_create_tiled() argument 64 uint32_t tiling_mode = *tiling; in i915_drm_buffer_create_tiled() 82 *tiling = tiling_mode; in i915_drm_buffer_create_tiled() 94 enum i915_winsys_buffer_tile *tiling, in i915_drm_buffer_from_handle() argument 115 *tiling = tile; in i915_drm_buffer_from_handle()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
D | i915_state_static.c | 79 buf_3d_tiling_bits(enum i915_winsys_buffer_tile tiling) in buf_3d_tiling_bits() argument 83 switch (tiling) { in buf_3d_tiling_bits() 110 buf_3d_tiling_bits(tex->tiling); in update_framebuffer() 135 buf_3d_tiling_bits(tex->tiling); in update_framebuffer() 219 if (is->is_i945 && tex->tiling != I915_TILE_NONE in update_dst_buf_vars()
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/sw/ |
D | i915_sw_buffer.c | 33 enum i915_winsys_buffer_tile *tiling, in i915_sw_buffer_create_tiled() argument 44 buf->tiling = *tiling; in i915_sw_buffer_create_tiled()
|
/external/mesa3d/src/gallium/winsys/i915/sw/ |
D | i915_sw_buffer.c | 33 enum i915_winsys_buffer_tile *tiling, in i915_sw_buffer_create_tiled() argument 44 buf->tiling = *tiling; in i915_sw_buffer_create_tiled()
|
/external/chromium_org/cc/debug/ |
D | rasterize_and_record_benchmark_impl.cc | 74 PictureLayerTiling* tiling = tiling_set.AddTiling(layer->contents_scale_x()); in RunOnLayer() local 75 tiling->CreateAllTilesForTesting(); in RunOnLayer() 77 tiling, layer->contents_scale_x(), layer->visible_content_rect()); in RunOnLayer()
|