/external/chromium_org/cc/resources/ |
H A D | resource_update.h | 22 const gfx::Rect& source_rect, 31 gfx::Rect source_rect; member in struct:cc::ResourceUpdate
|
H A D | resource_update.cc | 14 const gfx::Rect& source_rect, 16 CHECK(content_rect.Contains(source_rect)); 21 update.source_rect = source_rect; 11 Create(PrioritizedResource* resource, const SkBitmap* bitmap, const gfx::Rect& content_rect, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset) argument
|
H A D | bitmap_skpicture_content_layer_updater.cc | 23 const gfx::Rect& source_rect, 29 source_rect.width(), source_rect.height(), kN32_SkColorType, at)); 31 updater_->PaintContentsRect(&canvas, source_rect); 34 texture(), &bitmap_, source_rect, source_rect, dest_offset); 71 const gfx::Rect& source_rect) { 74 // Translate the origin of content_rect to that of source_rect. 75 canvas->translate(paint_rect().x() - source_rect.x(), 76 paint_rect().y() - source_rect 21 Update( ResourceUpdateQueue* queue, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset, bool partial_update) argument 69 PaintContentsRect( SkCanvas* canvas, const gfx::Rect& source_rect) argument [all...] |
H A D | image_layer_updater.cc | 18 const gfx::Rect& source_rect, 22 queue, texture(), source_rect, dest_offset, partial_update); 38 const gfx::Rect& source_rect, 43 gfx::Rect clipped_source_rect = source_rect; 49 gfx::Vector2d(clipped_source_rect.origin() - source_rect.origin()); 17 Update(ResourceUpdateQueue* queue, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset, bool partial_update) argument 36 UpdateTexture(ResourceUpdateQueue* queue, PrioritizedResource* texture, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset, bool partial_update) argument
|
H A D | bitmap_content_layer_updater.cc | 26 const gfx::Rect& source_rect, 30 queue, texture(), source_rect, dest_offset, partial_update); 89 const gfx::Rect& source_rect, 94 texture, &bitmap_backing_, paint_rect(), source_rect, dest_offset); 24 Update( ResourceUpdateQueue* queue, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset, bool partial_update) argument 87 UpdateTexture(ResourceUpdateQueue* queue, PrioritizedResource* texture, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset, bool partial_update) argument
|
H A D | prioritized_resource.cc | 81 const gfx::Rect& source_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 D | texture_uploader.cc | 139 const gfx::Rect& source_rect, 143 CHECK(image_rect.Contains(source_rect)); 145 bool is_full_upload = dest_offset.IsZero() && source_rect.size() == size; 156 image, image_rect, source_rect, dest_offset, format); 183 const gfx::Rect& source_rect, 190 if (source_rect.IsEmpty()) 195 gfx::Vector2d offset(source_rect.origin() - image_rect.origin()); 202 RoundUp(bytes_per_pixel * source_rect.width(), 4u); 208 size_t needed_size = upload_image_stride * source_rect.height(); 215 for (int row = 0; row < source_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 D | resource_provider.cc | 713 const gfx::Rect& source_rect, 733 source_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()); 746 SkImageInfo::MakeN32Premul(source_rect.width(), source_rect.height()); 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
|
/external/chromium_org/ui/snapshot/ |
H A D | snapshot_aura.cc | 35 const gfx::Rect& source_rect, 39 request->set_area(source_rect); 45 const gfx::Rect& source_rect, 50 source_rect, 59 const gfx::Rect& source_rect, 63 source_rect, 71 const gfx::Rect& source_rect, 74 GrabWindowSnapshotAsync(view, source_rect, background_task_runner, callback); 33 MakeAsyncCopyRequest( gfx::NativeWindow window, const gfx::Rect& source_rect, const cc::CopyOutputRequest::CopyOutputRequestCallback& callback) argument 43 GrabWindowSnapshotAndScaleAsync( gfx::NativeWindow window, const gfx::Rect& source_rect, const gfx::Size& target_size, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncCallback& callback) argument 57 GrabWindowSnapshotAsync( gfx::NativeWindow window, const gfx::Rect& source_rect, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncPNGCallback& callback) argument 69 GrabViewSnapshotAsync( gfx::NativeView view, const gfx::Rect& source_rect, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncPNGCallback& callback) argument
|
H A D | snapshot_android.cc | 37 const gfx::Rect& source_rect, 46 gfx::ToEnclosingRect(gfx::ScaleRect(source_rect, device_scale_factor)); 61 const gfx::Rect& source_rect, 66 source_rect, 75 const gfx::Rect& source_rect, 79 source_rect, 87 const gfx::Rect& source_rect, 91 view->GetWindowAndroid(), source_rect, background_task_runner, callback); 35 MakeAsyncCopyRequest( gfx::NativeWindow window, const gfx::Rect& source_rect, const cc::CopyOutputRequest::CopyOutputRequestCallback& callback) argument 59 GrabWindowSnapshotAndScaleAsync( gfx::NativeWindow window, const gfx::Rect& source_rect, const gfx::Size& target_size, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncCallback& callback) argument 73 GrabWindowSnapshotAsync( gfx::NativeWindow window, const gfx::Rect& source_rect, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncPNGCallback& callback) argument 85 GrabViewSnapshotAsync( gfx::NativeView view, const gfx::Rect& source_rect, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncPNGCallback& callback) argument
|
H A D | snapshot_win.cc | 134 const gfx::Rect& source_rect, 143 const gfx::Rect& source_rect, 132 GrabViewSnapshotAsync( gfx::NativeView view, const gfx::Rect& source_rect, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncPNGCallback& callback) argument 141 GrabWindowSnapshotAsync( gfx::NativeWindow window, const gfx::Rect& source_rect, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncPNGCallback& callback) argument
|
H A D | snapshot_aura_unittest.cc | 128 gfx::Rect source_rect(test_window_->bounds().size()); 130 test_window(), root_window(), &source_rect); local 137 source_rect, local
|
/external/chromium_org/ppapi/shared_impl/ |
H A D | compositor_layer_data.h | 73 source_rect(PP_MakeFloatRectFromXYWH(0.0f, 0.0f, 0.0f, 0.0f)) {} 76 PP_FloatRect source_rect; member in struct:ppapi::CompositorLayerData::ImageLayer 83 source_rect(PP_MakeFloatRectFromXYWH(0.0f, 0.0f, 1.0f, 1.0f)), 89 PP_FloatRect source_rect; member in struct:ppapi::CompositorLayerData::TextureLayer
|
/external/chromium_org/cc/test/ |
H A D | tiled_layer_test_common.cc | 18 const gfx::Rect& source_rect, 17 Update(ResourceUpdateQueue* queue, const gfx::Rect& source_rect, const gfx::Vector2d& dest_offset, bool partial_update) argument
|
/external/chromium_org/content/renderer/ |
H A D | child_frame_compositing_helper.cc | 117 gfx::Rect source_rect, 126 request->set_area(source_rect); 115 CopyFromCompositingSurface( int request_id, gfx::Rect source_rect, gfx::Size dest_size) argument
|
/external/chromium_org/printing/ |
H A D | pdf_metafile_cg_mac.cc | 184 CGRect source_rect = CGPDFPageGetBoxRect(pdf_page, kCGPDFCropBox); local 187 (source_rect.size.width > source_rect.size.height); 192 rotate ? source_rect.size.height : source_rect.size.width; 194 rotate ? source_rect.size.width : source_rect.size.height; 209 const float x_origin_offset = -1 * source_rect.origin.x; 210 const float y_origin_offset = -1 * source_rect.origin.y;
|
/external/chromium_org/remoting/codec/ |
H A D | video_decoder_vpx.cc | 226 webrtc::DesktopRect source_rect = local 228 source_rect = webrtc::DesktopRect::MakeLTRB( 229 RoundToTwosMultiple(source_rect.left()), 230 RoundToTwosMultiple(source_rect.top()), 231 source_rect.right(), 232 source_rect.bottom()); 236 webrtc::DesktopRegion intersection(source_rect); 242 int y_offset = CalculateYOffset(source_rect.left(), source_rect.top(), 244 int uv_offset = CalculateUVOffset(source_rect [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
H A D | output.c | 186 VdpRect const *source_rect, 209 box = RectToPipeBox(source_rect, res); 626 VdpRect const *source_rect, 666 RectToPipe(source_rect, &src_rect), NULL, 685 VdpRect const *source_rect, 725 RectToPipe(source_rect, &src_rect), NULL, 185 vlVdpOutputSurfaceGetBitsNative(VdpOutputSurface surface, VdpRect const *source_rect, void *const *destination_data, uint32_t const *destination_pitches) argument 623 vlVdpOutputSurfaceRenderOutputSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpOutputSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument 682 vlVdpOutputSurfaceRenderBitmapSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpBitmapSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | output.c | 186 VdpRect const *source_rect, 209 box = RectToPipeBox(source_rect, res); 626 VdpRect const *source_rect, 666 RectToPipe(source_rect, &src_rect), NULL, 685 VdpRect const *source_rect, 725 RectToPipe(source_rect, &src_rect), NULL, 185 vlVdpOutputSurfaceGetBitsNative(VdpOutputSurface surface, VdpRect const *source_rect, void *const *destination_data, uint32_t const *destination_pitches) argument 623 vlVdpOutputSurfaceRenderOutputSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpOutputSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument 682 vlVdpOutputSurfaceRenderBitmapSurface(VdpOutputSurface destination_surface, VdpRect const *destination_rect, VdpBitmapSurface source_surface, VdpRect const *source_rect, VdpColor const *colors, VdpOutputSurfaceRenderBlendState const *blend_state, uint32_t flags) argument
|
/external/chromium_org/cc/layers/ |
H A D | tiled_layer.cc | 497 // source_rect starts as a full-sized tile with border texels included. 498 gfx::Rect source_rect = tiler_->TileRect(tile); local 499 source_rect.Intersect(dirty_rect); 501 // make sure that source_rect doesn't extend outside of it. 502 source_rect.Intersect(paint_rect); 504 tile->update_rect = source_rect; 506 if (source_rect.IsEmpty()) 512 gfx::Vector2d dest_offset = source_rect.origin() - anchor; 517 gfx::Vector2d paint_offset = source_rect.origin() - paint_rect.origin(); 520 CHECK_LE(paint_offset.x() + source_rect [all...] |
/external/chromium_org/content/renderer/browser_plugin/ |
H A D | browser_plugin.cc | 195 gfx::Rect source_rect, 206 compositing_helper_->CopyFromCompositingSurface(request_id, source_rect, 193 OnCopyFromCompositingSurface(int browser_plugin_instance_id, int request_id, gfx::Rect source_rect, gfx::Size dest_size) argument
|
/external/chromium_org/ui/compositor/ |
H A D | layer_unittest.cc | 139 void ReadPixels(SkBitmap* bitmap, gfx::Rect source_rect) { argument 144 request->set_area(source_rect);
|