/external/chromium_org/cc/resources/ |
D | texture_uploader.cc | 139 const gfx::Rect& source_rect, in Upload() argument 143 CHECK(image_rect.Contains(source_rect)); in Upload() 145 bool is_full_upload = dest_offset.IsZero() && source_rect.size() == size; in Upload() 156 image, image_rect, source_rect, dest_offset, format); in Upload() 183 const gfx::Rect& source_rect, in UploadWithTexSubImage() argument 190 if (source_rect.IsEmpty()) in UploadWithTexSubImage() 195 gfx::Vector2d offset(source_rect.origin() - image_rect.origin()); in UploadWithTexSubImage() 202 RoundUp(bytes_per_pixel * source_rect.width(), 4u); in UploadWithTexSubImage() 208 size_t needed_size = upload_image_stride * source_rect.height(); in UploadWithTexSubImage() 215 for (int row = 0; row < source_rect.height(); ++row) in UploadWithTexSubImage() [all …]
|
D | bitmap_skpicture_content_layer_updater.cc | 23 const gfx::Rect& source_rect, in Update() argument 29 source_rect.width(), source_rect.height(), kN32_SkColorType, at)); in Update() 31 updater_->PaintContentsRect(&canvas, source_rect); in Update() 34 texture(), &bitmap_, source_rect, source_rect, dest_offset); in Update() 71 const gfx::Rect& source_rect) { in PaintContentsRect() argument 75 canvas->translate(paint_rect().x() - source_rect.x(), in PaintContentsRect() 76 paint_rect().y() - source_rect.y()); in PaintContentsRect() 84 source_rect.width() * source_rect.height()); in PaintContentsRect()
|
D | resource_update.cc | 14 const gfx::Rect& source_rect, in Create() argument 16 CHECK(content_rect.Contains(source_rect)); in Create() 21 update.source_rect = source_rect; in Create()
|
D | image_layer_updater.cc | 18 const gfx::Rect& source_rect, in Update() argument 22 queue, texture(), source_rect, dest_offset, partial_update); in Update() 38 const gfx::Rect& source_rect, in UpdateTexture() argument 43 gfx::Rect clipped_source_rect = source_rect; in UpdateTexture() 49 gfx::Vector2d(clipped_source_rect.origin() - source_rect.origin()); in UpdateTexture()
|
D | bitmap_content_layer_updater.cc | 26 const gfx::Rect& source_rect, in Update() argument 30 queue, texture(), source_rect, dest_offset, partial_update); in Update() 89 const gfx::Rect& source_rect, in UpdateTexture() argument 94 texture, &bitmap_backing_, paint_rect(), source_rect, dest_offset); in UpdateTexture()
|
D | resource_update.h | 22 const gfx::Rect& source_rect, 31 gfx::Rect source_rect; member
|
D | texture_uploader.h | 47 const gfx::Rect& source_rect, 92 const gfx::Rect& source_rect, 97 const gfx::Rect& source_rect,
|
D | bitmap_skpicture_content_layer_updater.h | 24 const gfx::Rect& source_rect, 43 const gfx::Rect& source_rect);
|
D | image_layer_updater.h | 25 const gfx::Rect& source_rect, 42 const gfx::Rect& source_rect,
|
D | bitmap_content_layer_updater.h | 33 const gfx::Rect& source_rect, 57 const gfx::Rect& source_rect,
|
D | prioritized_resource.cc | 81 const gfx::Rect& source_rect, in SetPixels() argument 88 resource_id(), image, image_rect, source_rect, dest_offset); in SetPixels()
|
/external/chromium_org/ui/snapshot/ |
D | snapshot_aura.cc | 35 const gfx::Rect& source_rect, in MakeAsyncCopyRequest() argument 39 request->set_area(source_rect); in MakeAsyncCopyRequest() 45 const gfx::Rect& source_rect, in GrabWindowSnapshotAndScaleAsync() argument 50 source_rect, in GrabWindowSnapshotAndScaleAsync() 59 const gfx::Rect& source_rect, in GrabWindowSnapshotAsync() argument 63 source_rect, in GrabWindowSnapshotAsync() 71 const gfx::Rect& source_rect, in GrabViewSnapshotAsync() argument 74 GrabWindowSnapshotAsync(view, source_rect, background_task_runner, callback); in GrabViewSnapshotAsync()
|
D | snapshot_android.cc | 37 const gfx::Rect& source_rect, in MakeAsyncCopyRequest() argument 46 gfx::ToEnclosingRect(gfx::ScaleRect(source_rect, device_scale_factor)); in MakeAsyncCopyRequest() 61 const gfx::Rect& source_rect, in GrabWindowSnapshotAndScaleAsync() argument 66 source_rect, in GrabWindowSnapshotAndScaleAsync() 75 const gfx::Rect& source_rect, in GrabWindowSnapshotAsync() argument 79 source_rect, in GrabWindowSnapshotAsync() 87 const gfx::Rect& source_rect, in GrabViewSnapshotAsync() argument 91 view->GetWindowAndroid(), source_rect, background_task_runner, callback); in GrabViewSnapshotAsync()
|
D | snapshot.h | 52 const gfx::Rect& source_rect, 61 const gfx::Rect& source_rect, 66 const gfx::Rect& source_rect,
|
D | snapshot_ios.mm | 38 const gfx::Rect& source_rect, 46 const gfx::Rect& source_rect,
|
D | snapshot_mac.mm | 89 const gfx::Rect& source_rect, 97 const gfx::Rect& source_rect, 100 return GrabViewSnapshotAsync([[window contentView] superview], source_rect,
|
D | snapshot_win.cc | 134 const gfx::Rect& source_rect, in GrabViewSnapshotAsync() argument 143 const gfx::Rect& source_rect, in GrabWindowSnapshotAsync() argument
|
D | snapshot_aura_unittest.cc | 128 gfx::Rect source_rect(test_window_->bounds().size()); in GrabSnapshotForTestWindow() local 130 test_window(), root_window(), &source_rect); in GrabSnapshotForTestWindow() 137 source_rect, in GrabSnapshotForTestWindow()
|
/external/chromium_org/remoting/codec/ |
D | video_decoder_vpx.cc | 226 webrtc::DesktopRect source_rect = in RenderFrame() local 228 source_rect = webrtc::DesktopRect::MakeLTRB( in RenderFrame() 229 RoundToTwosMultiple(source_rect.left()), in RenderFrame() 230 RoundToTwosMultiple(source_rect.top()), in RenderFrame() 231 source_rect.right(), in RenderFrame() 232 source_rect.bottom()); in RenderFrame() 236 webrtc::DesktopRegion intersection(source_rect); in RenderFrame() 242 int y_offset = CalculateYOffset(source_rect.left(), source_rect.top(), in RenderFrame() 244 int uv_offset = CalculateUVOffset(source_rect.left(), source_rect.top(), in RenderFrame() 250 source_rect.width(), in RenderFrame() [all …]
|
/external/chromium_org/printing/ |
D | pdf_metafile_cg_mac.cc | 184 CGRect source_rect = CGPDFPageGetBoxRect(pdf_page, kCGPDFCropBox); in RenderPage() local 187 (source_rect.size.width > source_rect.size.height); in RenderPage() 192 rotate ? source_rect.size.height : source_rect.size.width; in RenderPage() 194 rotate ? source_rect.size.width : source_rect.size.height; in RenderPage() 209 const float x_origin_offset = -1 * source_rect.origin.x; in RenderPage() 210 const float y_origin_offset = -1 * source_rect.origin.y; in RenderPage()
|
/external/chromium_org/ppapi/shared_impl/ |
D | compositor_layer_data.h | 73 source_rect(PP_MakeFloatRectFromXYWH(0.0f, 0.0f, 0.0f, 0.0f)) {} in ImageLayer() 76 PP_FloatRect source_rect; member 83 source_rect(PP_MakeFloatRectFromXYWH(0.0f, 0.0f, 1.0f, 1.0f)), in TextureLayer() 89 PP_FloatRect source_rect; member
|
/external/chromium_org/ppapi/proxy/ |
D | compositor_layer_resource.cc | 177 data_.texture->source_rect.point = PP_MakeFloatPoint(0.0f, 0.0f); in SetTexture() 178 data_.texture->source_rect.size = source_size_; in SetTexture() 230 data_.image->source_rect.point = PP_MakeFloatPoint(0.0f, 0.0f); in SetImage() 231 data_.image->source_rect.size = source_size_; in SetImage() 313 data_.texture->source_rect = *rect; in SetSourceRect() 317 data_.image->source_rect = *rect; in SetSourceRect()
|
/external/chromium_org/cc/layers/ |
D | tiled_layer.cc | 498 gfx::Rect source_rect = tiler_->TileRect(tile); in UpdateTileTextures() local 499 source_rect.Intersect(dirty_rect); in UpdateTileTextures() 502 source_rect.Intersect(paint_rect); in UpdateTileTextures() 504 tile->update_rect = source_rect; in UpdateTileTextures() 506 if (source_rect.IsEmpty()) in UpdateTileTextures() 512 gfx::Vector2d dest_offset = source_rect.origin() - anchor; in UpdateTileTextures() 517 gfx::Vector2d paint_offset = source_rect.origin() - paint_rect.origin(); in UpdateTileTextures() 520 CHECK_LE(paint_offset.x() + source_rect.width(), paint_rect.width()); in UpdateTileTextures() 521 CHECK_LE(paint_offset.y() + source_rect.height(), paint_rect.height()); in UpdateTileTextures() 524 queue, source_rect, dest_offset, tile->partial_update); in UpdateTileTextures()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
D | output.c | 186 VdpRect const *source_rect, in vlVdpOutputSurfaceGetBitsNative() argument 209 box = RectToPipeBox(source_rect, res); in vlVdpOutputSurfaceGetBitsNative() 626 VdpRect const *source_rect, in vlVdpOutputSurfaceRenderOutputSurface() argument 666 RectToPipe(source_rect, &src_rect), NULL, in vlVdpOutputSurfaceRenderOutputSurface() 685 VdpRect const *source_rect, in vlVdpOutputSurfaceRenderBitmapSurface() argument 725 RectToPipe(source_rect, &src_rect), NULL, in vlVdpOutputSurfaceRenderBitmapSurface()
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
D | output.c | 186 VdpRect const *source_rect, in vlVdpOutputSurfaceGetBitsNative() argument 209 box = RectToPipeBox(source_rect, res); in vlVdpOutputSurfaceGetBitsNative() 626 VdpRect const *source_rect, in vlVdpOutputSurfaceRenderOutputSurface() argument 666 RectToPipe(source_rect, &src_rect), NULL, in vlVdpOutputSurfaceRenderOutputSurface() 685 VdpRect const *source_rect, in vlVdpOutputSurfaceRenderBitmapSurface() argument 725 RectToPipe(source_rect, &src_rect), NULL, in vlVdpOutputSurfaceRenderBitmapSurface()
|