Lines Matching refs:image_rect
135 gfx::Rect image_rect,
140 CHECK(image_rect.Contains(source_rect));
149 image, image_rect, source_rect, dest_offset, format);
151 UploadWithTexSubImage(image, image_rect, source_rect, dest_offset, format);
178 gfx::Rect image_rect,
187 int image_rect_x = image_rect.x();
188 int image_rect_y = image_rect.y();
189 int image_rect_width = image_rect.width();
190 int image_rect_height = image_rect.height();
207 gfx::Vector2d offset(source_rect.origin() - image_rect.origin());
216 if (upload_image_stride == image_rect.width() * bytes_per_pixel &&
218 pixel_source = &image[image_rect.width() * bytes_per_pixel * offset.y()];
230 (offset.x() + (offset.y() + row) * image_rect.width())],
248 gfx::Rect image_rect,
257 int image_rect_x = image_rect.x();
258 int image_rect_y = image_rect.y();
259 int image_rect_width = image_rect.width();
260 int image_rect_height = image_rect.height();
278 gfx::Vector2d offset(source_rect.origin() - image_rect.origin());
299 UploadWithTexSubImage(image, image_rect, source_rect, dest_offset, format);
303 if (upload_image_stride == image_rect.width() * bytes_per_pixel &&
306 &image[image_rect.width() * bytes_per_pixel * offset.y()],
307 source_rect.height() * image_rect.width() * bytes_per_pixel);
314 (offset.x() + (offset.y() + row) * image_rect.width())],