Home
last modified time | relevance | path

Searched refs:src_subrect (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/content/browser/renderer_host/
Dcompositing_iosurface_transformer_mac.cc128 GLuint src_texture, const gfx::Rect& src_subrect, const gfx::Size& dst_size, in ResizeBilinear() argument
130 if (src_subrect.IsEmpty() || dst_size.IsEmpty()) in ResizeBilinear()
147 texture_target_, src_subrect.size() == dst_size ? GL_NEAREST : GL_LINEAR, in ResizeBilinear()
153 DrawQuad(src_subrect.x(), src_subrect.y(), in ResizeBilinear()
154 src_subrect.width(), src_subrect.height(), in ResizeBilinear()
168 const gfx::Rect& src_subrect, in TransformRGBToYV12() argument
177 if (src_subrect.IsEmpty() || dst_size.IsEmpty()) in TransformRGBToYV12()
215 texture_target_, src_subrect.size() == dst_size ? GL_NEAREST : GL_LINEAR, in TransformRGBToYV12()
221 static_cast<float>(src_subrect.width()) / dst_size.width()); in TransformRGBToYV12()
224 DrawQuad(src_subrect.x(), src_subrect.y(), in TransformRGBToYV12()
[all …]
Dcompositing_iosurface_transformer_mac.h53 bool ResizeBilinear(GLuint src_texture, const gfx::Rect& src_subrect,
81 GLuint src_texture, const gfx::Rect& src_subrect,
Drender_widget_host_view_android.cc295 gfx::Rect src_subrect, in GetScaledContentBitmap() argument
303 if (src_subrect.IsEmpty()) in GetScaledContentBitmap()
304 src_subrect = gfx::Rect(bounds); in GetScaledContentBitmap()
305 DCHECK_LE(src_subrect.width() + src_subrect.x(), bounds.width()); in GetScaledContentBitmap()
306 DCHECK_LE(src_subrect.height() + src_subrect.y(), bounds.height()); in GetScaledContentBitmap()
314 src_subrect, dst_size, result_callback, bitmap_config); in GetScaledContentBitmap()
665 const gfx::Rect& src_subrect, in CopyFromCompositingSurface() argument
684 ConvertRectToPixel(device_scale_factor, src_subrect); in CopyFromCompositingSurface()
724 const gfx::Rect& src_subrect, in CopyFromCompositingSurfaceToVideoFrame() argument
Dcompositing_iosurface_mac.h86 const gfx::Rect& src_subrect,
232 const gfx::Rect& src_subrect,
Drender_widget_host_view_base.h259 const gfx::Rect& src_subrect,
272 const gfx::Rect& src_subrect,
Drender_widget_host_view_android.h132 const gfx::Rect& src_subrect,
137 const gfx::Rect& src_subrect,
225 gfx::Rect src_subrect,
Drender_widget_host_view_mac.h294 const gfx::Rect& src_subrect,
299 const gfx::Rect& src_subrect,
Drender_widget_host_view_aura.h183 const gfx::Rect& src_subrect,
188 const gfx::Rect& src_subrect,
Drender_widget_host_view_aura.cc927 const gfx::Rect& src_subrect, in CopyFromCompositingSurface() argument
932 src_subrect, dst_size, callback, config); in CopyFromCompositingSurface()
936 const gfx::Rect& src_subrect, in CopyFromCompositingSurfaceToVideoFrame() argument
940 src_subrect, target, callback); in CopyFromCompositingSurfaceToVideoFrame()
/external/chromium_org/content/common/gpu/client/
Dgl_helper_scaling.cc60 const gfx::Rect& src_subrect,
196 spec_.src_subrect, in Execute()
233 return spec_.src_subrect; in SrcSubrect()
257 src_subrect(src_subrect_), in ScalerStage()
277 gfx::Rect src_subrect, in ConvertScalerOpsToScalerStages() argument
285 gfx::Size intermediate_size = src_subrect.size(); in ConvertScalerOpsToScalerStages()
383 src_subrect, in ConvertScalerOpsToScalerStages()
389 src_subrect = gfx::Rect(intermediate_size); in ConvertScalerOpsToScalerStages()
398 const gfx::Rect& src_subrect, in ComputeScalerStages() argument
404 src_subrect.size() == dst_size) { in ComputeScalerStages()
[all …]
Dgl_helper_scaling.h62 gfx::Rect src_subrect,
69 const gfx::Rect& src_subrect,
77 const gfx::Rect& src_subrect,
155 gfx::Rect src_subrect; member
166 const gfx::Rect& src_subrect,
178 gfx::Rect src_subrect,
Dgl_helper.cc141 const gfx::Rect& src_subrect,
186 const gfx::Rect& src_subrect,
240 const gfx::Rect& src_subrect,
278 const gfx::Rect& src_subrect,
315 const gfx::Rect& src_subrect,
345 const gfx::Rect& src_subrect, in CreateScaler() argument
352 src_subrect, in CreateScaler()
361 const gfx::Rect& src_subrect, in ScaleTexture() argument
373 src_subrect, in ScaleTexture()
472 const gfx::Rect& src_subrect, in CropScaleReadbackAndCleanTexture() argument
[all …]
Dgl_helper.h172 const gfx::Rect& src_subrect,
192 const gfx::Rect& src_subrect,
298 const gfx::Rect& src_subrect,
313 const gfx::Rect& src_subrect,
Dgl_helper_benchmark.cc179 gfx::Rect src_subrect(0, 0, in TEST_F() local
184 src_subrect, in TEST_F()
Dgl_helper_unittest.cc270 EXPECT_EQ(scaler_stages[i].src_subrect.x(), 0); in ValidateScalerStages()
271 EXPECT_EQ(scaler_stages[i].src_subrect.y(), 0); in ValidateScalerStages()
272 EXPECT_EQ(scaler_stages[i].src_subrect.width(), in ValidateScalerStages()
274 EXPECT_EQ(scaler_stages[i].src_subrect.height(), in ValidateScalerStages()
286 static_cast<double>(scaler_stages[i].src_subrect.width()) / in ValidateScalerStages()
289 static_cast<double>(scaler_stages[i].src_subrect.height()) / in ValidateScalerStages()
/external/chromium_org/content/browser/frame_host/
Drender_widget_host_view_child_frame.h89 const gfx::Rect& src_subrect,
94 const gfx::Rect& src_subrect,
Drender_widget_host_view_child_frame.cc289 const gfx::Rect& src_subrect, in CopyFromCompositingSurface() argument
297 const gfx::Rect& src_subrect, in CopyFromCompositingSurfaceToVideoFrame() argument
Drender_widget_host_view_guest.cc354 const gfx::Rect& src_subrect, in CopyFromCompositingSurface() argument
359 guest_->CopyFromCompositingSurface(src_subrect, dst_size, callback); in CopyFromCompositingSurface()
Drender_widget_host_view_guest.h91 const gfx::Rect& src_subrect,
/external/chromium_org/content/browser/compositor/
Ddelegated_frame_host.h95 const gfx::Rect& src_subrect,
100 const gfx::Rect& src_subrect,
Ddelegated_frame_host.cc120 const gfx::Rect& src_subrect, in CopyFromCompositingSurface() argument
142 ConvertRectToPixel(client_->CurrentDeviceScaleFactor(), src_subrect); in CopyFromCompositingSurface()
148 const gfx::Rect& src_subrect, in CopyFromCompositingSurfaceToVideoFrame() argument
177 ConvertRectToPixel(client_->CurrentDeviceScaleFactor(), src_subrect); in CopyFromCompositingSurfaceToVideoFrame()
/external/chromium_org/content/test/
Dtest_render_view_host.cc107 const gfx::Rect& src_subrect, in CopyFromCompositingSurface() argument
115 const gfx::Rect& src_subrect, in CopyFromCompositingSurfaceToVideoFrame() argument
Dtest_render_view_host.h118 const gfx::Rect& src_subrect,
123 const gfx::Rect& src_subrect,
/external/chromium_org/content/browser/browser_plugin/
Dbrowser_plugin_guest.h141 gfx::Rect src_subrect,
Dbrowser_plugin_guest.cc290 gfx::Rect src_subrect, in CopyFromCompositingSurface() argument
296 copy_request_id_, src_subrect, dst_size)); in CopyFromCompositingSurface()

12