Searched refs:src_subrect (Results 1 - 25 of 35) sorted by relevance

12

/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 Dcompositing_iosurface_transformer_mac.h53 bool ResizeBilinear(GLuint src_texture, const gfx::Rect& src_subrect,
75 // If |src_subrect|'s size does not match |dst_size|, the source will be
81 GLuint src_texture, const gfx::Rect& src_subrect,
H A Dcompositing_iosurface_mac.h88 const gfx::Rect& src_subrect,
252 const gfx::Rect& src_subrect,
H A Drender_widget_host_view_guest.h110 const gfx::Rect& src_subrect,
114 const gfx::Rect& src_subrect,
H A Drender_widget_host_view_gtk.h105 const gfx::Rect& src_subrect,
109 const gfx::Rect& src_subrect,
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_android.h136 const gfx::Rect& src_subrect,
140 const gfx::Rect& src_subrect,
H A Drender_widget_host_view_mac.h276 const gfx::Rect& src_subrect,
280 const gfx::Rect& src_subrect,
H A Drender_widget_host_view_win.h208 const gfx::Rect& src_subrect,
212 const gfx::Rect& src_subrect,
/external/chromium_org/ui/surface/
H A Daccelerated_surface_win.h79 void AsyncCopyTo(const gfx::Rect& src_subrect,
83 const gfx::Rect& src_subrect,
108 const gfx::Rect& src_subrect,
113 const gfx::Rect& src_subrect,
117 bool DoCopyToYUV(const gfx::Rect& src_subrect,
119 bool DoCopyToARGB(const gfx::Rect& src_subrect,
195 void AsyncCopyTo(const gfx::Rect& src_subrect,
202 const gfx::Rect& src_subrect,
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...]
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_transformer_win.h72 const gfx::Rect& src_subrect,
/external/chromium_org/content/common/gpu/client/
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_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.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...]
H A Dgl_helper.h218 // Copies the block of pixels specified with |src_subrect| from |src_texture|,
229 const gfx::Rect& src_subrect,
234 // Copies the block of pixels specified with |src_subrect| from |src_mailbox|,
247 const gfx::Rect& src_subrect,
345 const gfx::Rect& src_subrect,
361 const gfx::Rect& src_subrect,
H A Dgl_helper_benchmark.cc181 gfx::Rect src_subrect(0, 0,
186 src_subrect,
H A Dgl_helper_unittests.cc275 EXPECT_EQ(scaler_stages[i].src_subrect.x(), 0);
276 EXPECT_EQ(scaler_stages[i].src_subrect.y(), 0);
277 EXPECT_EQ(scaler_stages[i].src_subrect.width(),
279 EXPECT_EQ(scaler_stages[i].src_subrect.height(),
291 static_cast<double>(scaler_stages[i].src_subrect.width()) /
294 static_cast<double>(scaler_stages[i].src_subrect.height()) /
/external/chromium_org/content/public/browser/
H A Drender_widget_host.h310 const gfx::Rect& src_subrect,
/external/chromium_org/content/port/browser/
H A Drender_widget_host_view_port.h171 // The rectangle region specified with |src_subrect| is copied from the
175 // A smaller region than |src_subrect| may be copied if the underlying surface
176 // is smaller than |src_subrect|.
179 const gfx::Rect& src_subrect,
191 const gfx::Rect& src_subrect,
/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
H A Dtest_render_view_host.h127 const gfx::Rect& src_subrect,
131 const gfx::Rect& src_subrect,
/external/chromium_org/content/renderer/
H A Drender_widget.h387 void OnSnapshot(const gfx::Rect& src_subrect);
547 bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap);

Completed in 416 milliseconds

12