Home | History | Annotate | Download | only in surface

Lines Matching defs:dst_size

68 // Calculate the number necessary to transform |src_subrect| into |dst_size|
72 const gfx::Size& dst_size) {
78 while (width > dst_size.width()) {
84 while (height > dst_size.height()) {
255 const gfx::Size& dst_size) {
256 return CopyWithTextureScale(src_texture, dst_surface, dst_size, 1.0f, -1.0f);
262 const gfx::Size& dst_size) {
263 return CopyWithTextureScale(src_texture, dst_surface, dst_size, 1.0f, 1.0f);
269 const gfx::Size& dst_size,
287 dst_size.width(), dst_size.height(),
292 if (d3d_utils::GetSize(src_texture) == dst_size) {
302 DrawScreenAlignedQuad(dst_size);
358 gfx::Size dst_size = dst_rect.size();
360 if (src_size.IsEmpty() || dst_size.IsEmpty())
365 const int resample_count = GetResampleCount(src_subrect, dst_size);
367 GetHalfSizeNoLessThan(src_subrect.size(), dst_size);
375 const gfx::Size quarter_size = GetHalfSizeNoLessThan(half_size, dst_size);
383 // |dst_size|. We keep the factor of each downsampling no more than two
412 write_size = GetHalfSizeNoLessThan(write_size, dst_size);
421 const gfx::Size& dst_size,
427 if (!AllocYUVBuffers(dst_size, &packed_y_size, &packed_uv_size,
434 dst_size,
442 dst_size,
546 const gfx::Size& dst_size,
554 *y_size = gfx::Size((dst_size.width() + 3) / 4, dst_size.height());
581 const gfx::Size& dst_size,
604 // Clamping is required if (dst_size.width() % 8 != 0) or if
605 // (dst_size.height != 0), so we set it always. Both passes rely on this.
615 if (d3d_utils::GetSize(src_surface) != dst_size) {
626 DrawScreenAlignedQuad(dst_size);
649 const gfx::Size& dst_size,
664 if (d3d_utils::GetSize(src_surface) == dst_size) {
669 device(), dst_size, &uv_scratch_texture_, dst_level0.Receive())) {
672 if (!Copy(src_surface, dst_level0, dst_size)) {
681 // Clamping is required if (dst_size.width() % 8 != 0) or if
682 // (dst_size.height != 0), so we set it always. All passes rely on this.
695 DrawScreenAlignedQuad(dst_size);
705 DrawScreenAlignedQuad(dst_size);
711 DrawScreenAlignedQuad(dst_size);