Searched refs:border_texels (Results 1 – 8 of 8) sorted by relevance
41 bool border_texels = border_texel_option == HAS_BORDER_TEXELS; in SetBorderTexelOption() local42 if (has_border_texels() == border_texels) in SetBorderTexelOption()46 tiling_data_.SetHasBorderTexels(border_texels); in SetBorderTexelOption()
92 int buffer_pixels() const { return tiling_.border_texels(); } in buffer_pixels()
48 bool has_border_texels() const { return !!tiling_data_.border_texels(); } in has_border_texels()
143 EXPECT_EQ(7, pile_->tiling().border_texels()); in TEST_F()
30 int border_texels);38 int border_texels() const { return border_texels_; } in border_texels() function40 void SetBorderTexels(int border_texels);
16 int border_texels) { in ComputeNumTiles() argument17 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() argument45 border_texels_(border_texels) { in TilingData()64 void TilingData::SetBorderTexels(int border_texels) { in SetBorderTexels() argument65 border_texels_ = border_texels; in SetBorderTexels()
2210 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()
28 LayerTilingData::BorderTexelOption border_texels) { in CreateLayerNoTiles() argument32 LayerTilingData::Create(tile_size, border_texels); in CreateLayerNoTiles()51 LayerTilingData::BorderTexelOption border_texels) { in CreateLayer() argument53 CreateLayerNoTiles(tile_size, layer_size, border_texels); in CreateLayer()