Searched refs:image_rect (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/cc/resources/
H A Dtexture_uploader.cc138 const gfx::Rect& image_rect,
143 CHECK(image_rect.Contains(source_rect));
156 image, image_rect, source_rect, dest_offset, format);
182 const gfx::Rect& image_rect,
195 gfx::Vector2d offset(source_rect.origin() - image_rect.origin());
204 if (upload_image_stride == image_rect.width() * bytes_per_pixel &&
206 pixel_source = &image[image_rect.width() * bytes_per_pixel * offset.y()];
218 (offset.x() + (offset.y() + row) * image_rect.width())],
236 const gfx::Rect& image_rect,
251 gfx::Vector2d offset(source_rect.origin() - image_rect
137 Upload(const uint8* image, const gfx::Rect& image_rect, const gfx::Rect& source_rect, gfx::Vector2d dest_offset, ResourceFormat format, const gfx::Size& size) argument
181 UploadWithTexSubImage(const uint8* image, const gfx::Rect& image_rect, const gfx::Rect& source_rect, gfx::Vector2d dest_offset, ResourceFormat format) argument
235 UploadWithMapTexSubImage(const uint8* image, const gfx::Rect& image_rect, const gfx::Rect& source_rect, gfx::Vector2d dest_offset, ResourceFormat format) argument
[all...]
H A Dimage_layer_updater.cc44 gfx::Rect image_rect = gfx::Rect(0, 0, bitmap_.width(), bitmap_.height()); local
45 clipped_source_rect.Intersect(image_rect);
52 texture, &bitmap_, image_rect, clipped_source_rect, clipped_dest_offset);
H A Dtexture_uploader.h91 const gfx::Rect& image_rect,
96 const gfx::Rect& image_rect,
H A Dprioritized_resource.cc80 const gfx::Rect& image_rect,
88 resource_id(), image, image_rect, source_rect, dest_offset); local
78 SetPixels(ResourceProvider* resource_provider, const uint8_t* image, const gfx::Rect& image_rect, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset) argument
H A Dprioritized_resource.h82 const gfx::Rect& image_rect,
H A Dvideo_resource_updater.cc276 gfx::Rect image_rect(0,
283 image_rect,
H A Dresource_provider.cc712 const gfx::Rect& image_rect,
732 image_rect,
741 DCHECK(source_rect.x() >= image_rect.x());
742 DCHECK(source_rect.y() >= image_rect.y());
743 DCHECK(source_rect.right() <= image_rect.right());
744 DCHECK(source_rect.bottom() <= image_rect.bottom());
747 size_t image_row_bytes = image_rect.width() * 4;
748 gfx::Vector2d source_offset = source_rect.origin() - image_rect.origin();
710 SetPixels(ResourceId id, const uint8_t* image, const gfx::Rect& image_rect, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset) argument
H A Dresource_provider.h149 const gfx::Rect& image_rect,
H A Dresource_provider_unittest.cc558 gfx::Rect image_rect(size);
560 id, image, image_rect, image_rect, gfx::Vector2d());
570 id, image, image_rect, source_rect, dest_offset);
581 id, image, image_rect, source_rect, dest_offset);
592 id, image, image_rect, source_rect, dest_offset);
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_image.cpp362 FX_RECT image_rect = image_rect_f.GetOutterRect(); local
363 int dest_width = image_rect.Width();
364 int dest_height = image_rect.Height();
437 FX_RECT image_rect = image_rect_f.GetOutterRect(); local
438 FX_RECT image_clip = image_rect;
439 image_rect.Intersect(m_pRenderStatus->m_pDevice->GetClipBox());
440 if (image_rect.Width() && image_rect.Height()) {
441 if ((image_clip.Width() * m_pDIBSource->GetWidth() / image_rect.Width()) *
442 (image_clip.Height() * m_pDIBSource->GetHeight() / image_rect
742 FX_RECT image_rect = image_rect_f.GetOutterRect(); local
821 FX_RECT image_rect = image_rect_f.GetOutterRect(); local
915 FX_RECT image_rect = image_rect_f.GetOutterRect(); local
[all...]
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer_unittest.cc147 DesktopRect image_rect = local
149 image_rect.Translate(pos);
154 if (state == MouseCursorMonitor::INSIDE && image_rect.Contains(p)) {
/external/chromium_org/chrome/browser/thumbnails/
H A Dcontent_analysis_unittest.cc166 gfx::Rect image_rect(0, 0, 800, 600);
167 canvas.FillRect(image_rect, SkColorSetRGB(0, 0, 0));
182 image_rect,
229 gfx::Rect image_rect(0, 0, 800, 600);
230 canvas.FillRect(image_rect, SkColorSetRGB(0, 0, 0));
247 image_rect,
266 image_rect,
/external/pdfium/core/src/fxge/win32/
H A Dfx_win32_device.cpp1043 FX_RECT image_rect; local
1044 image_rect.left = dest_width > 0 ? dest_left : dest_left + dest_width;
1045 image_rect.right = dest_width > 0 ? dest_left + dest_width : dest_left;
1046 image_rect.top = dest_height > 0 ? dest_top : dest_top + dest_height;
1047 image_rect.bottom = dest_height > 0 ? dest_top + dest_height : dest_top;
1048 FX_RECT clip_rect = image_rect;
1050 clip_rect.Offset(-image_rect.left, -image_rect.top);
1058 !GetDIBits(&background, image_rect.left + clip_rect.left, image_rect
[all...]
H A Dfx_win32_gdipext.cpp371 FX_RECT image_rect(dest_left, dest_top, dest_left + dest_width, dest_top + dest_height);
372 image_rect.Normalize();
373 FX_RECT image_clip = image_rect;
378 image_clip.Offset(-image_rect.left, -image_rect.top);
397 CallFunc(GdipDrawImageI)(pGraphics, bitmap, image_rect.left + image_clip.left,
398 image_rect.top + image_clip.top);
/external/pdfium/core/src/fxge/dib/
H A Dfx_dib_main.cpp1584 FX_RECT image_rect = image_rect_f.GetOutterRect(); local
1586 m_ClipBox.Intersect(image_rect);
1605 int dest_width = image_rect.Width();
1606 int dest_height = image_rect.Height();
1608 bitmap_clip.Offset(-image_rect.left, -image_rect.top);
1626 int dest_width = image_rect.Width();
1630 int dest_height = image_rect.Height();
1638 bitmap_clip.Offset(-image_rect.left, -image_rect
[all...]

Completed in 868 milliseconds