Home
last modified time | relevance | path

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

12345

/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dimage.c780 GLint *dstX0, GLint *dstX1, in clip_right_or_top() argument
785 if (*dstX1 > maxValue) { in clip_right_or_top()
788 t = (GLfloat) (maxValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_right_or_top()
791 *dstX1 = maxValue; in clip_right_or_top()
797 ASSERT(*dstX1 < maxValue); /* X1 should be inside right edge */ in clip_right_or_top()
798 t = (GLfloat) (maxValue - *dstX1) / (GLfloat) (*dstX0 - *dstX1); in clip_right_or_top()
813 GLint *dstX0, GLint *dstX1, in clip_left_or_bottom() argument
820 ASSERT(*dstX1 > minValue); /* X1 should be inside left edge */ in clip_left_or_bottom()
821 t = (GLfloat) (minValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_left_or_bottom()
828 else if (*dstX1 < minValue) { in clip_left_or_bottom()
[all …]
Dimage.h131 GLint *dstX0, GLint *dstY0, GLint *dstX1, GLint *dstY1);
/external/mesa3d/src/mesa/main/
Dimage.c780 GLint *dstX0, GLint *dstX1, in clip_right_or_top() argument
785 if (*dstX1 > maxValue) { in clip_right_or_top()
788 t = (GLfloat) (maxValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_right_or_top()
791 *dstX1 = maxValue; in clip_right_or_top()
797 ASSERT(*dstX1 < maxValue); /* X1 should be inside right edge */ in clip_right_or_top()
798 t = (GLfloat) (maxValue - *dstX1) / (GLfloat) (*dstX0 - *dstX1); in clip_right_or_top()
813 GLint *dstX0, GLint *dstX1, in clip_left_or_bottom() argument
820 ASSERT(*dstX1 > minValue); /* X1 should be inside left edge */ in clip_left_or_bottom()
821 t = (GLfloat) (minValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_left_or_bottom()
828 else if (*dstX1 < minValue) { in clip_left_or_bottom()
[all …]
Dimage.h131 GLint *dstX0, GLint *dstY0, GLint *dstX1, GLint *dstY1);
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_cb_blit.c145 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in st_BlitFramebuffer() argument
160 &dstX0, &dstY0, &dstX1, &dstY1)) { in st_BlitFramebuffer()
185 if (dstX0 < dstX1) { in st_BlitFramebuffer()
187 info.dst.x1 = dstX1; in st_BlitFramebuffer()
191 info.dst.x0 = dstX1; in st_BlitFramebuffer()
244 dstSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
259 dstSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
303 dstDepthSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
322 dstDepthSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
332 dstStencilSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_blit.c145 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in st_BlitFramebuffer() argument
160 &dstX0, &dstY0, &dstX1, &dstY1)) { in st_BlitFramebuffer()
185 if (dstX0 < dstX1) { in st_BlitFramebuffer()
187 info.dst.x1 = dstX1; in st_BlitFramebuffer()
191 info.dst.x0 = dstX1; in st_BlitFramebuffer()
244 dstSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
259 dstSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
303 dstDepthSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
322 dstDepthSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
332 dstStencilSurf, dstX0, dstY0, dstX1, dstY1, in st_BlitFramebuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_blit.c110 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in blit_nearest() argument
116 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_nearest()
122 const GLint dstXpos = MIN2(dstX0, dstX1); in blit_nearest()
125 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_nearest()
490 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1) in blit_linear() argument
496 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_linear()
503 const GLint dstXpos = MIN2(dstX0, dstX1); in blit_linear()
506 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_linear()
714 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in _swrast_BlitFramebuffer() argument
730 &dstX0, &dstY0, &dstX1, &dstY1)) { in _swrast_BlitFramebuffer()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c110 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in blit_nearest() argument
116 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_nearest()
122 const GLint dstXpos = MIN2(dstX0, dstX1); in blit_nearest()
125 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_nearest()
490 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1) in blit_linear() argument
496 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_linear()
503 const GLint dstXpos = MIN2(dstX0, dstX1); in blit_linear()
506 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_linear()
714 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in _swrast_BlitFramebuffer() argument
730 &dstX0, &dstY0, &dstX1, &dstY1)) { in _swrast_BlitFramebuffer()
[all …]
Dswrast.h157 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_blit.h67 int dstX1, int dstY1,
78 int dstX1, int dstY1,
Du_blit.c377 int dstX1, int dstY1) 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()
433 int dstX1, int dstY1, in util_blit_pixels() argument
464 dstX0, dstY0, dstX1, dstY1); in util_blit_pixels()
489 dstX0 < dstX1 && in util_blit_pixels()
492 (dstX1 - dstX0) == (srcX1 - srcX0) && in util_blit_pixels()
553 dstX0 = dstX1; in util_blit_pixels()
554 dstX1 = tmp; in util_blit_pixels()
772 (float) dstX1 / dst_surface->width * 2.0f - 1.0f, in util_blit_pixels()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_blit.h67 int dstX1, int dstY1,
78 int dstX1, int dstY1,
Du_blit.c377 int dstX1, int dstY1) 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()
433 int dstX1, int dstY1, in util_blit_pixels() argument
464 dstX0, dstY0, dstX1, dstY1); in util_blit_pixels()
489 dstX0 < dstX1 && in util_blit_pixels()
492 (dstX1 - dstX0) == (srcX1 - srcX0) && in util_blit_pixels()
553 dstX0 = dstX1; in util_blit_pixels()
554 dstX1 = tmp; in util_blit_pixels()
772 (float) dstX1 / dst_surface->width * 2.0f - 1.0f, in util_blit_pixels()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp_blit.cpp149 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in do_blorp_blit() argument
166 srcX0, srcY0, dstX0, dstY0, dstX1, dstY1, in do_blorp_blit()
194 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in try_blorp_blit() argument
210 fixup_mirroring(mirror_x, dstX0, dstX1); 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()
267 dstX0, dstY0, dstX1, dstY1, mirror_x, mirror_y); in try_blorp_blit()
278 dstX0, dstY0, dstX1, dstY1, mirror_x, mirror_y); in try_blorp_blit()
288 dstX0, dstY0, dstX1, dstY1, mirror_x, mirror_y); in try_blorp_blit()
[all …]
Dintel_fbo.c809 GLint dstX1, GLint dstY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
832 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
859 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in intel_blit_framebuffer() argument
865 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
873 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
881 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_blorp_blit.cpp149 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in do_blorp_blit() argument
166 srcX0, srcY0, dstX0, dstY0, dstX1, dstY1, in do_blorp_blit()
194 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in try_blorp_blit() argument
210 fixup_mirroring(mirror_x, dstX0, dstX1); 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()
267 dstX0, dstY0, dstX1, dstY1, mirror_x, mirror_y); in try_blorp_blit()
278 dstX0, dstY0, dstX1, dstY1, mirror_x, mirror_y); in try_blorp_blit()
288 dstX0, dstY0, dstX1, dstY1, mirror_x, mirror_y); in try_blorp_blit()
[all …]
Dintel_fbo.c809 GLint dstX1, GLint dstY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
832 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
859 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in intel_blit_framebuffer() argument
865 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
873 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
881 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_fbo.c809 GLint dstX1, GLint dstY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
832 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
859 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in intel_blit_framebuffer() argument
865 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
873 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
881 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_fbo.c809 GLint dstX1, GLint dstY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
832 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
859 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in intel_blit_framebuffer() argument
865 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
873 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
881 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c809 GLint dstX1, GLint dstY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
832 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
859 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in intel_blit_framebuffer() argument
865 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
873 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
881 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
Dintel_fbo.c809 GLint dstX1, GLint dstY1, in intel_blit_framebuffer_copy_tex_sub_image() argument
826 srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_copy_tex_sub_image()
832 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_copy_tex_sub_image()
859 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in intel_blit_framebuffer() argument
865 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
873 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
881 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
/external/chromium_org/gpu/GLES2/
Dgl2extchromium.h262 …0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbi…
265 …0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbi…
478 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
482 GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
/external/chromium_org/third_party/angle/src/libGLESv2/
DvalidationES.cpp423 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1) in IsPartialBlit() argument
426 dstX1 != writeBuffer->getWidth() || dstY1 != writeBuffer->getHeight() || in IsPartialBlit()
446 … GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, 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()
606 dstX0, dstY0, dstX1, dstY1)) 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.h79 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/
Dmeta.h79 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,

12345