Searched refs:x_index (Results 1 – 5 of 5) sorted by relevance
234 int TilingData::TilePositionX(int x_index) const { in TilePositionX()235 DCHECK_GE(x_index, 0); in TilePositionX()236 DCHECK_LT(x_index, num_tiles_x_); in TilePositionX()238 int pos = (max_texture_size_.width() - 2 * border_texels_) * x_index; in TilePositionX()239 if (x_index != 0) in TilePositionX()260 int TilingData::TileSizeX(int x_index) const { in TileSizeX()261 DCHECK_GE(x_index, 0); in TileSizeX()262 DCHECK_LT(x_index, num_tiles_x_); in TileSizeX()264 if (!x_index && num_tiles_x_ == 1) in TileSizeX()266 if (!x_index && num_tiles_x_ > 1) in TileSizeX()[all …]
60 int TilePositionX(int x_index) const;62 int TileSizeX(int x_index) const;66 gfx::Vector2d TextureOffset(int x_index, int y_index) const;
81 int x_index) { in PosX() argument83 return tiling.TilePositionX(x_index); in PosX()97 int x_index) { in SizeX() argument99 return tiling.TileSizeX(x_index); in SizeX()
39 gfx::Vector2d texture_offset(int x_index, int y_index) const { in texture_offset() argument40 return tiling_data_.TextureOffset(x_index, y_index); in texture_offset()
2785 x_index = remote_products.index(x_remote)2790 return cmp(x_index, y_index)