Home
last modified time | relevance | path

Searched refs:srcX1 (Results 1 – 25 of 103) sorted by relevance

12345

/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dimage.c779 clip_right_or_top(GLint *srcX0, GLint *srcX1, in clip_right_or_top() argument
792 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; in clip_right_or_top()
793 *srcX1 = *srcX0 + (GLint) (t * (*srcX1 - *srcX0) + bias); in clip_right_or_top()
802 bias = (*srcX0 < *srcX1) ? -0.5F : 0.5F; in clip_right_or_top()
803 *srcX0 = *srcX1 + (GLint) (t * (*srcX0 - *srcX1) + bias); in clip_right_or_top()
812 clip_left_or_bottom(GLint *srcX0, GLint *srcX1, in clip_left_or_bottom() argument
825 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; /* flipped??? */ in clip_left_or_bottom()
826 *srcX0 = *srcX0 + (GLint) (t * (*srcX1 - *srcX0) + bias); in clip_left_or_bottom()
835 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; in clip_left_or_bottom()
836 *srcX1 = *srcX1 + (GLint) (t * (*srcX0 - *srcX1) + bias); in clip_left_or_bottom()
[all …]
Dimage.h130 GLint *srcX0, GLint *srcY0, GLint *srcX1, GLint *srcY1,
/external/mesa3d/src/mesa/main/
Dimage.c779 clip_right_or_top(GLint *srcX0, GLint *srcX1, in clip_right_or_top() argument
792 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; in clip_right_or_top()
793 *srcX1 = *srcX0 + (GLint) (t * (*srcX1 - *srcX0) + bias); in clip_right_or_top()
802 bias = (*srcX0 < *srcX1) ? -0.5F : 0.5F; in clip_right_or_top()
803 *srcX0 = *srcX1 + (GLint) (t * (*srcX0 - *srcX1) + bias); in clip_right_or_top()
812 clip_left_or_bottom(GLint *srcX0, GLint *srcX1, in clip_left_or_bottom() argument
825 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; /* flipped??? */ in clip_left_or_bottom()
826 *srcX0 = *srcX0 + (GLint) (t * (*srcX1 - *srcX0) + bias); in clip_left_or_bottom()
835 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F; in clip_left_or_bottom()
836 *srcX1 = *srcX1 + (GLint) (t * (*srcX0 - *srcX1) + bias); in clip_left_or_bottom()
[all …]
Dimage.h130 GLint *srcX0, GLint *srcY0, GLint *srcX1, GLint *srcY1,
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_cb_blit.c144 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in st_BlitFramebuffer() argument
159 if (!_mesa_clip_blit(ctx, &srcX0, &srcY0, &srcX1, &srcY1, in st_BlitFramebuffer()
189 info.src.x1 = srcX1; in st_BlitFramebuffer()
193 info.src.x0 = srcX1; in st_BlitFramebuffer()
242 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
257 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
301 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
320 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
330 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_blit.c144 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in st_BlitFramebuffer() argument
159 if (!_mesa_clip_blit(ctx, &srcX0, &srcY0, &srcX1, &srcY1, in st_BlitFramebuffer()
189 info.src.x1 = srcX1; in st_BlitFramebuffer()
193 info.src.x0 = srcX1; in st_BlitFramebuffer()
242 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
257 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
301 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
320 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
330 srcX0, srcY0, srcX1, srcY1, in st_BlitFramebuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_blit.c109 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in blit_nearest() argument
115 const GLint srcWidth = ABS(srcX1 - srcX0); in blit_nearest()
120 const GLint srcXpos = MIN2(srcX0, srcX1); in blit_nearest()
125 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_nearest()
489 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in blit_linear() argument
495 const GLint srcWidth = ABS(srcX1 - srcX0); in blit_linear()
501 const GLint srcXpos = MIN2(srcX0, srcX1); in blit_linear()
506 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_linear()
713 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in _swrast_BlitFramebuffer() argument
729 if (!_mesa_clip_blit(ctx, &srcX0, &srcY0, &srcX1, &srcY1, in _swrast_BlitFramebuffer()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c109 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in blit_nearest() argument
115 const GLint srcWidth = ABS(srcX1 - srcX0); in blit_nearest()
120 const GLint srcXpos = MIN2(srcX0, srcX1); in blit_nearest()
125 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_nearest()
489 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in blit_linear() argument
495 const GLint srcWidth = ABS(srcX1 - srcX0); in blit_linear()
501 const GLint srcXpos = MIN2(srcX0, srcX1); in blit_linear()
506 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_linear()
713 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in _swrast_BlitFramebuffer() argument
729 if (!_mesa_clip_blit(ctx, &srcX0, &srcY0, &srcX1, &srcY1, in _swrast_BlitFramebuffer()
[all …]
Dswrast.h156 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_blit.h63 int srcX1, int srcY1,
75 int srcX1, int srcY1,
Du_blit.c375 int srcX1, int srcY1, in regions_overlap() argument
379 if (MAX2(srcX0, srcX1) < MIN2(dstX0, dstX1)) in regions_overlap()
382 if (MAX2(dstX0, dstX1) < MIN2(srcX0, srcX1)) in regions_overlap()
429 int srcX1, int srcY1, in util_blit_pixels() argument
444 const int srcW = abs(srcX1 - srcX0); in util_blit_pixels()
463 regions_overlap(srcX0, srcY0, srcX1, srcY1, in util_blit_pixels()
488 srcX0 < srcX1 && in util_blit_pixels()
492 (dstX1 - dstX0) == (srcX1 - srcX0) && in util_blit_pixels()
547 const int srcLeft = MIN2(srcX0, srcX1); in util_blit_pixels()
633 s1 = srcX1; in util_blit_pixels()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_blit.h63 int srcX1, int srcY1,
75 int srcX1, int srcY1,
Du_blit.c375 int srcX1, int srcY1, in regions_overlap() argument
379 if (MAX2(srcX0, srcX1) < MIN2(dstX0, dstX1)) in regions_overlap()
382 if (MAX2(dstX0, dstX1) < MIN2(srcX0, srcX1)) in regions_overlap()
429 int srcX1, int srcY1, in util_blit_pixels() argument
444 const int srcW = abs(srcX1 - srcX0); in util_blit_pixels()
463 regions_overlap(srcX0, srcY0, srcX1, srcY1, in util_blit_pixels()
488 srcX0 < srcX1 && in util_blit_pixels()
492 (dstX1 - dstX0) == (srcX1 - srcX0) && in util_blit_pixels()
547 const int srcLeft = MIN2(srcX0, srcX1); in util_blit_pixels()
633 s1 = srcX1; in util_blit_pixels()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c807 GLint srcX1, GLint srcY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
828 srcX1 >= srcX0 && in intel_blit_framebuffer_copy_tex_sub_image()
830 srcX0 >= 0 && srcX1 <= readFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
847 srcX1 - srcX0, /* width */ in intel_blit_framebuffer_copy_tex_sub_image()
858 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in intel_blit_framebuffer() argument
864 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
872 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
880 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
Dbrw_blorp_blit.cpp193 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in try_blorp_blit() argument
209 fixup_mirroring(mirror_x, srcX0, srcX1); in try_blorp_blit()
215 if (srcX1 - srcX0 != dstX1 - dstX0) return false; in try_blorp_blit()
220 if (!(clip_or_scissor(mirror_x, srcX0, srcX1, dstX0, dstX1, in try_blorp_blit()
229 if (!(clip_or_scissor(mirror_x, dstX0, dstX1, srcX0, srcX1, in try_blorp_blit()
299 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in brw_blorp_framebuffer() argument
316 srcX0, srcY0, srcX1, srcY1, in brw_blorp_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_fbo.c807 GLint srcX1, GLint srcY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
828 srcX1 >= srcX0 && in intel_blit_framebuffer_copy_tex_sub_image()
830 srcX0 >= 0 && srcX1 <= readFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
847 srcX1 - srcX0, /* width */ in intel_blit_framebuffer_copy_tex_sub_image()
858 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in intel_blit_framebuffer() argument
864 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
872 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
880 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_fbo.c807 GLint srcX1, GLint srcY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
828 srcX1 >= srcX0 && in intel_blit_framebuffer_copy_tex_sub_image()
830 srcX0 >= 0 && srcX1 <= readFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
847 srcX1 - srcX0, /* width */ in intel_blit_framebuffer_copy_tex_sub_image()
858 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in intel_blit_framebuffer() argument
864 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
872 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
880 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dintel_fbo.c807 GLint srcX1, GLint srcY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
828 srcX1 >= srcX0 && in intel_blit_framebuffer_copy_tex_sub_image()
830 srcX0 >= 0 && srcX1 <= readFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
847 srcX1 - srcX0, /* width */ in intel_blit_framebuffer_copy_tex_sub_image()
858 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in intel_blit_framebuffer() argument
864 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
872 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
880 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
Dbrw_blorp_blit.cpp193 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in try_blorp_blit() argument
209 fixup_mirroring(mirror_x, srcX0, srcX1); in try_blorp_blit()
215 if (srcX1 - srcX0 != dstX1 - dstX0) return false; in try_blorp_blit()
220 if (!(clip_or_scissor(mirror_x, srcX0, srcX1, dstX0, dstX1, in try_blorp_blit()
229 if (!(clip_or_scissor(mirror_x, dstX0, dstX1, srcX0, srcX1, in try_blorp_blit()
299 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in brw_blorp_framebuffer() argument
316 srcX0, srcY0, srcX1, srcY1, in brw_blorp_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c807 GLint srcX1, GLint srcY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
828 srcX1 >= srcX0 && in intel_blit_framebuffer_copy_tex_sub_image()
830 srcX0 >= 0 && srcX1 <= readFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
847 srcX1 - srcX0, /* width */ in intel_blit_framebuffer_copy_tex_sub_image()
858 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in intel_blit_framebuffer() argument
864 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
872 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
880 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
Dintel_fbo.c807 GLint srcX1, GLint srcY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
828 srcX1 >= srcX0 && in intel_blit_framebuffer_copy_tex_sub_image()
830 srcX0 >= 0 && srcX1 <= readFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
847 srcX1 - srcX0, /* width */ in intel_blit_framebuffer_copy_tex_sub_image()
858 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in intel_blit_framebuffer() argument
864 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
872 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
880 srcX0, srcY0, srcX1, srcY1, in intel_blit_framebuffer()
/external/chromium_org/gpu/GLES2/
Dgl2extchromium.h262 GL_APICALL void GL_APIENTRY glBlitFramebufferCHROMIUM (GLint srcX0, GLint srcY0, GLint srcX1, GLint…
265 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERCHROMIUMPROC) (GLint srcX0, GLint srcY0, GLint srcX1
477 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
481 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
/external/chromium_org/third_party/angle/src/libGLESv2/
DvalidationES.cpp422 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in IsPartialBlit() argument
427 srcX1 != readBuffer->getWidth() || srcY1 != readBuffer->getHeight()) in IsPartialBlit()
445 bool ValidateBlitFramebufferParameters(gl::Context *context, GLint srcX0, GLint srcY0, GLint srcX1,… in ValidateBlitFramebufferParameters() argument
478 if (fromAngleExtension && (srcX1 - srcX0 != dstX1 - dstX0 || srcY1 - srcY0 != dstY1 - dstY0)) in ValidateBlitFramebufferParameters()
519 bool sameBounds = srcX0 == dstX0 && srcY0 == dstY0 && srcX1 == dstX1 && srcY1 == dstY1; in ValidateBlitFramebufferParameters()
605 srcX0, srcY0, srcX1, srcY1, in ValidateBlitFramebufferParameters()
637 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1)) in ValidateBlitFramebufferParameters()
675 srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1)) in ValidateBlitFramebufferParameters()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.h78 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
Dmeta.h78 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,

12345