Home
last modified time | relevance | path

Searched refs:srcX0 (Results 1 – 25 of 90) sorted by relevance

1234

/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dimage.c718 const GLint srcX0 = *srcX, srcY0 = *srcY; in _mesa_clip_copytexsubimage() local
722 *destX = *destX + *srcX - srcX0; in _mesa_clip_copytexsubimage()
779 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()
[all …]
Dimage.h130 GLint *srcX0, GLint *srcY0, GLint *srcX1, GLint *srcY1,
/external/mesa3d/src/mesa/main/
Dimage.c718 const GLint srcX0 = *srcX, srcY0 = *srcY; in _mesa_clip_copytexsubimage() local
722 *destX = *destX + *srcX - srcX0; in _mesa_clip_copytexsubimage()
779 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()
[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()
188 info.src.x0 = srcX0; in st_BlitFramebuffer()
194 info.src.x1 = srcX0; 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()
188 info.src.x0 = srcX0; in st_BlitFramebuffer()
194 info.src.x1 = srcX0; 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/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/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/gallium/auxiliary/util/
Du_blit.h62 int srcX0, int srcY0,
74 int srcX0, int srcY0,
Du_blit.c374 regions_overlap(int srcX0, int srcY0, 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()
428 int srcX0, int srcY0, 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()
496 src_box.x = srcX0; in util_blit_pixels()
547 const int srcLeft = MIN2(srcX0, srcX1); in util_blit_pixels()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_blit.h62 int srcX0, int srcY0,
74 int srcX0, int srcY0,
Du_blit.c374 regions_overlap(int srcX0, int srcY0, 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()
428 int srcX0, int srcY0, 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()
496 src_box.x = srcX0; in util_blit_pixels()
547 const int srcLeft = MIN2(srcX0, srcX1); in util_blit_pixels()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c806 GLint srcX0, GLint srcY0, 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()
846 srcX0, srcY0, 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.c806 GLint srcX0, GLint srcY0, 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()
846 srcX0, srcY0, 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.cpp148 GLint srcX0, GLint srcY0, in do_blorp_blit() argument
166 srcX0, srcY0, dstX0, dstY0, dstX1, dstY1, in do_blorp_blit()
193 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()
266 do_blorp_blit(intel, buffer_bit, src_irb, dst_irb, srcX0, srcY0, in try_blorp_blit()
277 do_blorp_blit(intel, buffer_bit, src_irb, dst_irb, srcX0, srcY0, in try_blorp_blit()
287 do_blorp_blit(intel, buffer_bit, src_irb, dst_irb, srcX0, srcY0, in try_blorp_blit()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
Dintel_fbo.c806 GLint srcX0, GLint srcY0, 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()
846 srcX0, srcY0, 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.c806 GLint srcX0, GLint srcY0, 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()
846 srcX0, srcY0, 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/mesa3d/src/mesa/drivers/dri/intel/
Dintel_fbo.c806 GLint srcX0, GLint srcY0, 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()
846 srcX0, srcY0, 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/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c806 GLint srcX0, GLint srcY0, 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()
846 srcX0, srcY0, 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.cpp148 GLint srcX0, GLint srcY0, in do_blorp_blit() argument
166 srcX0, srcY0, dstX0, dstY0, dstX1, dstY1, in do_blorp_blit()
193 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()
266 do_blorp_blit(intel, buffer_bit, src_irb, dst_irb, srcX0, srcY0, in try_blorp_blit()
277 do_blorp_blit(intel, buffer_bit, src_irb, dst_irb, srcX0, srcY0, in try_blorp_blit()
287 do_blorp_blit(intel, buffer_bit, src_irb, dst_irb, srcX0, srcY0, in try_blorp_blit()
[all …]
/external/chromium_org/gpu/GLES2/
Dgl2extchromium.h246 GL_APICALL void GL_APIENTRY glBlitFramebufferCHROMIUM (GLint srcX0, GLint srcY0, GLint srcX1, GLint…
249 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERCHROMIUMPROC) (GLint srcX0, GLint srcY0, GLint srcX1…
457 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
461 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0,
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DExtensions3D.cpp66 void Extensions3D::blitFramebuffer(long srcX0, long srcY0, long srcX1, long srcY1, long dstX0, long… in blitFramebuffer() argument
68 …m_context->webContext()->blitFramebufferCHROMIUM(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, … in blitFramebuffer()
DExtensions3D.h247 …void blitFramebuffer(long srcX0, long srcY0, long srcX1, long srcY1, long dstX0, long dstY0, long …
/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,

1234