border_texels_ 27 cc/base/tiling_data.cc : border_texels_(0) { border_texels_ 62 cc/base/tiling_data.cc border_texels_ = has_border_texels ? 1 : 0; border_texels_ 67 cc/base/tiling_data.cc border_texels_ = border_texels; border_texels_ 75 cc/base/tiling_data.cc DCHECK_GT(max_texture_size_.width() - 2 * border_texels_, 0); border_texels_ 76 cc/base/tiling_data.cc int x = (src_position - border_texels_) / border_texels_ 77 cc/base/tiling_data.cc (max_texture_size_.width() - 2 * border_texels_); border_texels_ 85 cc/base/tiling_data.cc DCHECK_GT(max_texture_size_.height() - 2 * border_texels_, 0); border_texels_ 86 cc/base/tiling_data.cc int y = (src_position - border_texels_) / border_texels_ 87 cc/base/tiling_data.cc (max_texture_size_.height() - 2 * border_texels_); border_texels_ 95 cc/base/tiling_data.cc DCHECK_GT(max_texture_size_.width() - 2 * border_texels_, 0); border_texels_ 96 cc/base/tiling_data.cc int inner_tile_size = max_texture_size_.width() - 2 * border_texels_; border_texels_ 97 cc/base/tiling_data.cc int x = (src_position - 2 * border_texels_) / inner_tile_size; border_texels_ 105 cc/base/tiling_data.cc DCHECK_GT(max_texture_size_.height() - 2 * border_texels_, 0); border_texels_ 106 cc/base/tiling_data.cc int inner_tile_size = max_texture_size_.height() - 2 * border_texels_; border_texels_ 107 cc/base/tiling_data.cc int y = (src_position - 2 * border_texels_) / inner_tile_size; border_texels_ 115 cc/base/tiling_data.cc DCHECK_GT(max_texture_size_.width() - 2 * border_texels_, 0); border_texels_ 116 cc/base/tiling_data.cc int inner_tile_size = max_texture_size_.width() - 2 * border_texels_; border_texels_ 125 cc/base/tiling_data.cc DCHECK_GT(max_texture_size_.height() - 2 * border_texels_, 0); border_texels_ 126 cc/base/tiling_data.cc int inner_tile_size = max_texture_size_.height() - 2 * border_texels_; border_texels_ 133 cc/base/tiling_data.cc int max_texture_size_x = max_texture_size_.width() - 2 * border_texels_; border_texels_ 134 cc/base/tiling_data.cc int max_texture_size_y = max_texture_size_.height() - 2 * border_texels_; border_texels_ 140 cc/base/tiling_data.cc lo_x += border_texels_; border_texels_ 144 cc/base/tiling_data.cc lo_y += border_texels_; border_texels_ 146 cc/base/tiling_data.cc int hi_x = max_texture_size_x * (i + 1) + border_texels_; border_texels_ 148 cc/base/tiling_data.cc hi_x += border_texels_; border_texels_ 150 cc/base/tiling_data.cc int hi_y = max_texture_size_y * (j + 1) + border_texels_; border_texels_ 152 cc/base/tiling_data.cc hi_y += border_texels_; border_texels_ 172 cc/base/tiling_data.cc int max_texture_size_x = max_texture_size_.width() - 2 * border_texels_; border_texels_ 173 cc/base/tiling_data.cc int max_texture_size_y = max_texture_size_.height() - 2 * border_texels_; border_texels_ 180 cc/base/tiling_data.cc int hi_x = lo_x + max_texture_size_x + 2 * border_texels_; border_texels_ 181 cc/base/tiling_data.cc int hi_y = lo_y + max_texture_size_y + 2 * border_texels_; border_texels_ 203 cc/base/tiling_data.cc int pos = (max_texture_size_.width() - 2 * border_texels_) * x_index; border_texels_ 205 cc/base/tiling_data.cc pos += border_texels_; border_texels_ 214 cc/base/tiling_data.cc int pos = (max_texture_size_.height() - 2 * border_texels_) * y_index; border_texels_ 216 cc/base/tiling_data.cc pos += border_texels_; border_texels_ 228 cc/base/tiling_data.cc return max_texture_size_.width() - border_texels_; border_texels_ 230 cc/base/tiling_data.cc return max_texture_size_.width() - 2 * border_texels_; border_texels_ 245 cc/base/tiling_data.cc return max_texture_size_.height() - border_texels_; border_texels_ 247 cc/base/tiling_data.cc return max_texture_size_.height() - 2 * border_texels_; border_texels_ 256 cc/base/tiling_data.cc int left = (!x_index || num_tiles_x_ == 1) ? 0 : border_texels_; border_texels_ 257 cc/base/tiling_data.cc int top = (!y_index || num_tiles_y_ == 1) ? 0 : border_texels_; border_texels_ 264 cc/base/tiling_data.cc max_texture_size_.width(), total_size_.width(), border_texels_); border_texels_ 266 cc/base/tiling_data.cc max_texture_size_.height(), total_size_.height(), border_texels_); border_texels_ 40 cc/base/tiling_data.h int border_texels() const { return border_texels_; } border_texels_ 197 cc/base/tiling_data.h int border_texels_;