Searched defs:src_subrect (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/content/browser/renderer_host/
H A Dcompositing_iosurface_transformer_mac.cc128 GLuint src_texture, const gfx::Rect& src_subrect, const gfx::Size& dst_size,
130 if (src_subrect.IsEmpty() || dst_size.IsEmpty())
147 texture_target_, src_subrect.size() == dst_size ? GL_NEAREST : GL_LINEAR,
153 DrawQuad(src_subrect.x(), src_subrect.y(),
154 src_subrect.width(), src_subrect.height(),
168 const gfx::Rect& src_subrect,
177 if (src_subrect.IsEmpty() || dst_size.IsEmpty())
215 texture_target_, src_subrect
127 ResizeBilinear( GLuint src_texture, const gfx::Rect& src_subrect, const gfx::Size& dst_size, GLuint* texture) argument
166 TransformRGBToYV12( GLuint src_texture, const gfx::Rect& src_subrect, const gfx::Size& dst_size, GLuint* texture_y, GLuint* texture_u, GLuint* texture_v, gfx::Size* packed_y_size, gfx::Size* packed_uv_size) argument
[all...]
H A Drender_widget_host_view_android.cc583 const gfx::Rect& src_subrect,
600 ConvertRectToPixel(device_scale_factor, src_subrect);
624 const gfx::Rect& src_subrect,
582 CopyFromCompositingSurface( const gfx::Rect& src_subrect, const gfx::Size& dst_size, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
623 CopyFromCompositingSurfaceToVideoFrame( const gfx::Rect& src_subrect, const scoped_refptr<media::VideoFrame>& target, const base::Callback<void(bool)>& callback) argument
H A Drender_widget_host_view_gtk.cc1044 // NOTE: |output| is initialized with the size of |src_subrect|, and |dst_size|
1047 const gfx::Rect& src_subrect,
1052 GetRenderWidgetHost()->GetSnapshotFromRenderer(src_subrect, callback);
1056 const gfx::Rect& src_subrect,
1046 CopyFromCompositingSurface( const gfx::Rect& src_subrect, const gfx::Size& , const base::Callback<void(bool, const SkBitmap&)>& callback) argument
1055 CopyFromCompositingSurfaceToVideoFrame( const gfx::Rect& src_subrect, const scoped_refptr<media::VideoFrame>& target, const base::Callback<void(bool)>& callback) argument
H A Drender_widget_host_view_guest.cc380 const gfx::Rect& src_subrect,
384 guest_->CopyFromCompositingSurface(src_subrect, dst_size, callback);
388 const gfx::Rect& src_subrect,
379 CopyFromCompositingSurface( const gfx::Rect& src_subrect, const gfx::Size& dst_size, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
387 CopyFromCompositingSurfaceToVideoFrame( const gfx::Rect& src_subrect, const scoped_refptr<media::VideoFrame>& target, const base::Callback<void(bool)>& callback) argument
H A Drender_widget_host_impl.cc705 const gfx::Rect& src_subrect,
711 gfx::Rect accelerated_copy_rect = src_subrect.IsEmpty() ?
712 gfx::Rect(view_->GetViewBounds().size()) : src_subrect;
727 gfx::Rect copy_rect = src_subrect.IsEmpty() ?
728 gfx::Rect(backing_store->size()) : src_subrect;
1186 const gfx::Rect& src_subrect,
1196 gfx::Rect copy_rect = src_subrect.IsEmpty() ?
1197 gfx::Rect(view_->GetViewBounds().size()) : src_subrect;
704 CopyFromBackingStore( const gfx::Rect& src_subrect, const gfx::Size& accelerated_dst_size, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
1185 GetSnapshotFromRenderer( const gfx::Rect& src_subrect, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
H A Drender_widget_host_view_aura.cc1077 const gfx::Rect& src_subrect,
1092 ConvertRectToPixel(current_device_scale_factor_, src_subrect);
1098 const gfx::Rect& src_subrect,
1127 ConvertRectToPixel(current_device_scale_factor_, src_subrect);
1076 CopyFromCompositingSurface( const gfx::Rect& src_subrect, const gfx::Size& dst_size, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
1097 CopyFromCompositingSurfaceToVideoFrame( const gfx::Rect& src_subrect, const scoped_refptr<media::VideoFrame>& target, const base::Callback<void(bool)>& callback) argument
H A Drender_widget_host_view_win.cc877 const gfx::Rect& src_subrect,
885 if (dst_size.IsEmpty() || src_subrect.IsEmpty())
889 accelerated_surface_->AsyncCopyTo(src_subrect, dst_size, callback);
893 const gfx::Rect& src_subrect,
904 if (src_subrect.IsEmpty())
908 accelerated_surface_->AsyncCopyToVideoFrame(src_subrect, target, callback);
876 CopyFromCompositingSurface( const gfx::Rect& src_subrect, const gfx::Size& dst_size, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
892 CopyFromCompositingSurfaceToVideoFrame( const gfx::Rect& src_subrect, const scoped_refptr<media::VideoFrame>& target, const base::Callback<void(bool)>& callback) argument
/external/chromium_org/content/common/gpu/client/
H A Dgl_helper_scaling.h58 gfx::Rect src_subrect,
65 const gfx::Rect& src_subrect,
72 const gfx::Rect& src_subrect,
149 gfx::Rect src_subrect; member in struct:content::GLHelperScaling::ScalerStage
160 const gfx::Rect& src_subrect,
172 gfx::Rect src_subrect,
H A Dgl_helper_scaling.cc61 const gfx::Rect& src_subrect,
110 // |src_subrect| is the portion of the src to copy to the output texture.
206 spec_.src_subrect,
244 return spec_.src_subrect;
271 src_subrect(src_subrect_),
292 gfx::Rect src_subrect,
300 gfx::Size intermediate_size = src_subrect.size();
399 src_subrect,
405 src_subrect = gfx::Rect(intermediate_size);
414 const gfx::Rect& src_subrect,
289 ConvertScalerOpsToScalerStages( GLHelper::ScalerQuality quality, gfx::Size src_size, gfx::Rect src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle, std::deque<GLHelperScaling::ScaleOp>* x_ops, std::deque<GLHelperScaling::ScaleOp>* y_ops, std::vector<ScalerStage> *scaler_stages) argument
411 ComputeScalerStages( GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle, std::vector<ScalerStage> *scaler_stages) argument
456 CreateScaler(GLHelper::ScalerQuality quality, gfx::Size src_size, gfx::Rect src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle) argument
479 CreatePlanarScaler( const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, const float color_weights[4]) argument
496 CreateYuvMrtShader( const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, ShaderType shader) argument
912 UseProgram( const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool scale_x, bool flip_y, GLfloat color_weights[4]) argument
[all...]
H A Dgl_helper.cc139 const gfx::Rect& src_subrect,
174 const gfx::Rect& src_subrect,
229 const gfx::Rect& src_subrect,
267 const gfx::Rect& src_subrect,
299 // Copies the block of pixels specified with |src_subrect| from |src_texture|,
304 const gfx::Rect& src_subrect,
334 const gfx::Rect& src_subrect,
341 src_subrect,
350 const gfx::Rect& src_subrect,
358 src_subrect,
331 CreateScaler( ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle) argument
347 ScaleTexture( WebGLId src_texture, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle, GLHelper::ScalerQuality quality) argument
413 CropScaleReadbackAndCleanTexture( WebGLId src_texture, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, unsigned char* out, const base::Callback<void(bool)>& callback, GLHelper::ScalerQuality quality) argument
562 CropScaleReadbackAndCleanTexture( WebGLId src_texture, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, unsigned char* out, const base::Callback<void(bool)>& callback) argument
580 CropScaleReadbackAndCleanMailbox( const gpu::Mailbox& src_mailbox, uint32 sync_point, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, unsigned char* out, const base::Callback<void(bool)>& callback) argument
791 ReadbackYUVImpl( WebGraphicsContext3D* context, CopyTextureToImpl* copy_impl, GLHelperScaling* scaler_impl, GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically) argument
906 ReadbackYUV_MRT( WebGraphicsContext3D* context, CopyTextureToImpl* copy_impl, GLHelperScaling* scaler_impl, GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically) argument
1040 CreateReadbackPipelineYUV( GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically, bool use_mrt) argument
1074 CreateReadbackPipelineYUV( ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically, bool use_mrt) argument
[all...]
/external/chromium_org/ui/surface/
H A Daccelerated_surface_transformer_win.cc68 // Calculate the number necessary to transform |src_subrect| into |dst_size|
69 // by repeating downsampling of the image of |src_subrect| by a factor no more
71 int GetResampleCount(const gfx::Rect& src_subrect, argument
77 int width = src_subrect.width();
83 int height = src_subrect.height();
352 const gfx::Rect& src_subrect,
357 gfx::Size src_size = src_subrect.size();
365 const int resample_count = GetResampleCount(src_subrect, dst_size);
367 GetHalfSizeNoLessThan(src_subrect.size(), dst_size);
385 RECT read_rect = src_subrect
350 ResizeBilinear( IDirect3DSurface9* src_surface, const gfx::Rect& src_subrect, IDirect3DSurface9* dst_surface, const gfx::Rect& dst_rect) argument
[all...]
H A Daccelerated_surface_win.cc445 const gfx::Rect& src_subrect,
450 bool result = DoCopyToARGB(src_subrect, dst_size, &target);
457 const gfx::Rect& src_subrect,
462 bool result = DoCopyToYUV(src_subrect, target);
504 gfx::Rect src_subrect = requested_src_subrect;
505 src_subrect.Intersect(gfx::Rect(back_buffer_size));
519 if (!gpu_ops->ResizeBilinear(back_buffer, src_subrect,
574 gfx::Rect src_subrect = requested_src_subrect;
575 src_subrect.Intersect(gfx::Rect(back_buffer_size));
576 if (src_subrect
444 DoCopyToAndAcknowledge( const gfx::Rect& src_subrect, const gfx::Size& dst_size, scoped_refptr<base::SingleThreadTaskRunner> callback_runner, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
456 DoCopyToVideoFrameAndAcknowledge( const gfx::Rect& src_subrect, const scoped_refptr<media::VideoFrame>& target, const scoped_refptr<base::SingleThreadTaskRunner>& callback_runner, const base::Callback<void(bool)>& callback) argument
1084 AsyncCopyTo( const gfx::Rect& src_subrect, const gfx::Size& dst_size, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
1091 AsyncCopyToVideoFrame( const gfx::Rect& src_subrect, const scoped_refptr<media::VideoFrame>& target, const base::Callback<void(bool)>& callback) argument
[all...]
/external/chromium_org/content/test/
H A Dtest_render_view_host.cc115 const gfx::Rect& src_subrect,
122 const gfx::Rect& src_subrect,
114 CopyFromCompositingSurface( const gfx::Rect& src_subrect, const gfx::Size& dst_size, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
121 CopyFromCompositingSurfaceToVideoFrame( const gfx::Rect& src_subrect, const scoped_refptr<media::VideoFrame>& target, const base::Callback<void(bool)>& callback) argument
/external/chromium_org/content/browser/browser_plugin/
H A Dbrowser_plugin_guest.cc700 gfx::Rect src_subrect,
706 copy_request_id_, src_subrect, dst_size));
699 CopyFromCompositingSurface( gfx::Rect src_subrect, gfx::Size dst_size, const base::Callback<void(bool, const SkBitmap&)>& callback) argument
/external/chromium_org/content/renderer/
H A Drender_widget.cc2236 void RenderWidget::OnSnapshot(const gfx::Rect& src_subrect) { argument
2239 if (OnSnapshotHelper(src_subrect, &snapshot)) {
2246 bool RenderWidget::OnSnapshotHelper(const gfx::Rect& src_subrect, argument
2250 if (!webwidget_ || src_subrect.IsEmpty())
2254 src_subrect, gfx::Rect(physical_backing_size_));

Completed in 232 milliseconds