Home
last modified time | relevance | path

Searched refs:border_texels (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/cc/resources/
Dlayer_tiling_data.cc41 bool border_texels = border_texel_option == HAS_BORDER_TEXELS; in SetBorderTexelOption() local
42 if (has_border_texels() == border_texels) in SetBorderTexelOption()
46 tiling_data_.SetHasBorderTexels(border_texels); in SetBorderTexelOption()
Dpicture_pile_base.h92 int buffer_pixels() const { return tiling_.border_texels(); } in buffer_pixels()
Dlayer_tiling_data.h48 bool has_border_texels() const { return !!tiling_data_.border_texels(); } in has_border_texels()
Dpicture_pile_unittest.cc143 EXPECT_EQ(7, pile_->tiling().border_texels()); in TEST_F()
/external/chromium_org/cc/base/
Dtiling_data.h30 int border_texels);
38 int border_texels() const { return border_texels_; } in border_texels() function
40 void SetBorderTexels(int border_texels);
Dtiling_data.cc16 int border_texels) { in ComputeNumTiles() argument
17 if (max_texture_size - 2 * border_texels <= 0) in ComputeNumTiles()
21 1 + (total_size - 1 - 2 * border_texels) / in ComputeNumTiles()
22 (max_texture_size - 2 * border_texels)); in ComputeNumTiles()
42 int border_texels) in TilingData() argument
45 border_texels_(border_texels) { in TilingData()
64 void TilingData::SetBorderTexels(int border_texels) { in SetBorderTexels() argument
65 border_texels_ = border_texels; in SetBorderTexels()
Dtiling_data_unittest.cc2210 inner_rect_src.Inset(data2.border_texels(), data.border_texels()); in TEST_P()
2261 inner_rect_src.Inset(data2.border_texels(), data.border_texels()); in TEST_P()
2274 EXPECT_EQ(source.border_texels(), dest.border_texels()); in TEST_P()
2287 EXPECT_EQ(source.border_texels(), dest.border_texels()); in TEST_P()
2319 EXPECT_EQ(30, data.border_texels()); in TEST_P()
/external/chromium_org/cc/layers/
Dtiled_layer_impl_unittest.cc28 LayerTilingData::BorderTexelOption border_texels) { in CreateLayerNoTiles() argument
32 LayerTilingData::Create(tile_size, border_texels); in CreateLayerNoTiles()
51 LayerTilingData::BorderTexelOption border_texels) { in CreateLayer() argument
53 CreateLayerNoTiles(tile_size, layer_size, border_texels); in CreateLayer()