Home
last modified time | relevance | path

Searched refs:dstX0 (Results 1 – 25 of 104) sorted by relevance

12345

/external/mesa3d/src/mesa/main/
Dblit.c68 int dstX0, int dstY0, in _mesa_regions_overlap() argument
71 if (MAX2(srcX0, srcX1) <= MIN2(dstX0, dstX1)) in _mesa_regions_overlap()
74 if (MAX2(dstX0, dstX1) <= MIN2(srcX0, srcX1)) in _mesa_regions_overlap()
347 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in blit_framebuffer() argument
431 && (srcX0 != dstX0 || srcY0 != dstY0 in blit_framebuffer()
450 if (abs(srcX1 - srcX0) != abs(dstX1 - dstX0) || in blit_framebuffer()
528 dstX0, dstY0, dstX1, dstY1, in blit_framebuffer()
571 (dstX1 - dstX0) == 0 || (dstY1 - dstY0) == 0) { in blit_framebuffer()
578 dstX0, dstY0, dstX1, dstY1, in blit_framebuffer()
588 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in blit_framebuffer_err() argument
[all …]
Dblit.h34 int dstX0, int dstY0,
39 GLint srcY1, GLint dstX0, GLint dstY0,
45 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
53 GLint dstX0, GLint dstY0,
60 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
Dimage.c806 GLint *dstX0, GLint *dstX1, in clip_right_or_top() argument
813 assert(*dstX0 < maxValue); /* X0 should be inside right edge */ in clip_right_or_top()
814 t = (GLfloat) (maxValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_right_or_top()
821 else if (*dstX0 > maxValue) { in clip_right_or_top()
824 t = (GLfloat) (maxValue - *dstX1) / (GLfloat) (*dstX0 - *dstX1); in clip_right_or_top()
827 *dstX0 = maxValue; in clip_right_or_top()
839 GLint *dstX0, GLint *dstX1, in clip_left_or_bottom() argument
844 if (*dstX0 < minValue) { in clip_left_or_bottom()
847 t = (GLfloat) (minValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_left_or_bottom()
850 *dstX0 = minValue; in clip_left_or_bottom()
[all …]
Dimage.h135 GLint *dstX0, GLint *dstY0, GLint *dstX1, GLint *dstY1);
/external/mesa3d/src/mesa/drivers/common/
Dmeta_blit.c93 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in blitframebuffer_texture() argument
102 const GLint dstX = MIN2(dstX0, dstX1); in blitframebuffer_texture()
104 const GLint dstW = abs(dstX1 - dstX0); in blitframebuffer_texture()
419 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in _mesa_meta_BlitFramebuffer() argument
422 const GLint dstW = abs(dstX1 - dstX0); in _mesa_meta_BlitFramebuffer()
424 const GLint dstFlipX = (dstX1 - dstX0) / dstW; in _mesa_meta_BlitFramebuffer()
429 GLint dstX0, dstY0, dstX1, dstY1; in _mesa_meta_BlitFramebuffer() member
432 dstX0, dstY0, dstX1, dstY1 in _mesa_meta_BlitFramebuffer()
447 &clip.dstX0, &clip.dstY0, &clip.dstX1, &clip.dstY1)) { in _mesa_meta_BlitFramebuffer()
465 if (clip.dstX0 != dstX0 || clip.dstY0 != dstY0 || in _mesa_meta_BlitFramebuffer()
[all …]
Dmeta.h410 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
419 GLint dstX0, GLint dstY0,
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_blit.c54 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in st_BlitFramebuffer() argument
65 GLint dstX0, dstY0, dstX1, dstY1; in st_BlitFramebuffer() member
79 clip.dstX0 = dstX0; in st_BlitFramebuffer()
92 &clip.dstX0, &clip.dstY0, &clip.dstX1, &clip.dstY1)) { in st_BlitFramebuffer()
97 (dstX0 != clip.dstX0) || in st_BlitFramebuffer()
111 blit.scissor.minx = MIN2(clip.dstX0, clip.dstX1); in st_BlitFramebuffer()
113 blit.scissor.maxx = MAX2(clip.dstX0, clip.dstX1); in st_BlitFramebuffer()
146 if (dstX0 < dstX1) { in st_BlitFramebuffer()
147 blit.dst.box.x = dstX0; in st_BlitFramebuffer()
149 blit.dst.box.width = dstX1 - dstX0; in st_BlitFramebuffer()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_meta_util.c163 GLfloat *dstX0, GLfloat *dstY0, in brw_meta_mirror_clip_and_scissor() argument
172 fixup_mirroring(mirror_x, dstX0, dstX1); in brw_meta_mirror_clip_and_scissor()
193 if (!compute_pixels_clipped(*dstX0, *dstY0, *dstX1, *dstY1, in brw_meta_mirror_clip_and_scissor()
224 || *dstX0 == *dstX1 || *dstY0 == *dstY1) in brw_meta_mirror_clip_and_scissor()
227 float scaleX = (float) (*srcX1 - *srcX0) / (*dstX1 - *dstX0); in brw_meta_mirror_clip_and_scissor()
232 srcX0, dstX0, dstX1, in brw_meta_mirror_clip_and_scissor()
238 srcX1, dstX1, dstX0, in brw_meta_mirror_clip_and_scissor()
274 || *dstX0 == *dstX1 || *dstY0 == *dstY1; in brw_meta_mirror_clip_and_scissor()
Dintel_fbo.c804 GLint dstX0, GLint dstY0, in intel_blit_framebuffer_with_blitter() argument
830 if (!(srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_with_blitter()
836 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_with_blitter()
876 dstX0, dstY0, drawFb->FlipY, in intel_blit_framebuffer_with_blitter()
877 dstX1 - dstX0, dstY1 - dstY0, in intel_blit_framebuffer_with_blitter()
896 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in intel_blit_framebuffer() argument
919 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
927 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
937 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
948 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
Dbrw_blorp.c584 GLfloat dstX0, GLfloat dstY0, GLfloat dstX1, GLfloat dstY1, in do_blorp_blit() argument
602 dstX0, dstY0, dstX1, dstY1, in do_blorp_blit()
614 GLfloat dstX0, GLfloat dstY0, GLfloat dstX1, GLfloat dstY1, in try_blorp_blit() argument
628 &dstX0, &dstY0, &dstX1, &dstY1, in try_blorp_blit()
647 dstX0, dstY0, dstX1, dstY1, in try_blorp_blit()
668 srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, in try_blorp_blit()
684 srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, in try_blorp_blit()
708 int dstX0, int dstY0, in brw_blorp_copytexsubimage() argument
749 int dstX1 = dstX0 + width; in brw_blorp_copytexsubimage()
769 dstX0, dstY0, dstX1, dstY1, in brw_blorp_copytexsubimage()
[all …]
Dbrw_meta_util.h41 GLfloat *dstX0, GLfloat *dstY0,
Dbrw_context.h1507 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
1516 int dstX0, int dstY0,
/external/mesa3d/src/mesa/swrast/
Ds_blit.c113 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in blit_nearest() argument
122 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_nearest()
128 const GLint dstXpos = MIN2(dstX0, dstX1); in blit_nearest()
131 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_nearest()
516 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1) in blit_linear() argument
523 const GLint dstWidth = ABS(dstX1 - dstX0); in blit_linear()
529 const GLint dstXpos = MIN2(dstX0, dstX1); in blit_linear()
532 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0); in blit_linear()
744 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in _swrast_BlitFramebuffer() argument
767 &dstX0, &dstY0, &dstX1, &dstY1)) { in _swrast_BlitFramebuffer()
[all …]
Dswrast.h161 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c647 GLint dstX0, GLint dstY0, in intel_blit_framebuffer_with_blitter() argument
673 if (!(srcX0 - srcX1 == dstX0 - dstX1 && in intel_blit_framebuffer_with_blitter()
679 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_with_blitter()
721 dstX0, dstY0, dst_rb->Name == 0, in intel_blit_framebuffer_with_blitter()
722 dstX1 - dstX0, dstY1 - dstY0, COLOR_LOGICOP_COPY)) { in intel_blit_framebuffer_with_blitter()
740 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, in intel_blit_framebuffer() argument
746 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
754 dstX0, dstY0, dstX1, dstY1, in intel_blit_framebuffer()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_run.c45 int dstX0, int dstY0, in pp_blit() argument
65 blit.dst.box.x = dstX0; in pp_blit()
68 blit.dst.box.width = dstX1 - dstX0; in pp_blit()
Dpp_private.h105 int dstX0, int dstY0,
/external/deqp/framework/opengl/simplereference/
DsglrContextWrapper.cpp359 void ContextWrapper::glBlitFramebuffer (int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int … in glBlitFramebuffer() argument
361 m_curCtx->blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); in glBlitFramebuffer()
DsglrGLContext.cpp600 void GLContext::blitFramebuffer (int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, … in blitFramebuffer() argument
608 << dstX0 << ", " << dstY0 << ", " << dstX1 << ", " << dstY1 << ", " in blitFramebuffer()
614 drawOffset.x()+dstX0, drawOffset.y()+dstY0, drawOffset.x()+dstX1, drawOffset.y()+dstY1, in blitFramebuffer()
/external/angle/src/tests/perf_tests/
DTracePerfTest.cpp411 GLint dstX0, in BlitFramebufferMinimizedProc() argument
418 glBlitFramebuffer(srcX0, srcY0, srcX0 + 1, srcY0 + 1, dstX0, dstY0, dstX0 + 1, dstY0 + 1, mask, in BlitFramebufferMinimizedProc()
/external/angle/extensions/
DANGLE_framebuffer_blit.txt58 int dstX0, int dstY0, int dstX1, int dstY1,
125 int dstX0, int dstY0, int dstX1, int dstY1,
134 the locations (dstX0, dstY0) and (dstX1, dstY1). The lower bounds
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c1737 unsigned dstX0, dstX1, dstY0, dstY1, dstZ0, dstZ1; in handle_blit_image() local
1746 dstX0 = blitcmd->regions[i].dstOffsets[0].x; in handle_blit_image()
1753 if (dstX0 < dstX1) { in handle_blit_image()
1754 info.dst.box.x = dstX0; in handle_blit_image()
1756 info.dst.box.width = dstX1 - dstX0; in handle_blit_image()
1761 info.dst.box.width = dstX0 - dstX1; in handle_blit_image()
2255 unsigned dstX0, dstY0; in handle_resolve_image() local
2260 dstX0 = resolvecmd->regions[i].dstOffset.x; in handle_resolve_image()
2263 info.dst.box.x = dstX0; in handle_resolve_image()
/external/swiftshader/src/OpenGL/libGLESv2/
Dentry_points.cpp943 …itFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLin… in glBlitFramebufferNV() argument
945 return gl::BlitFramebufferNV(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); in glBlitFramebufferNV()
948 …ramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLin… in glBlitFramebufferANGLE() argument
951 …return gl::BlitFramebufferANGLE(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filt… in glBlitFramebufferANGLE()
1115 …BlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLin… in glBlitFramebuffer() argument
1117 return gl::BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); in glBlitFramebuffer()
Dentry_points.h197 …void GL_APIENTRY BlitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0
198 …ramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLin…
248 …void GL_APIENTRY BlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, …
/external/angle/src/libANGLE/
DvalidationES2.cpp46 GLint dstX0, in IsPartialBlit() argument
54 if (srcX0 != 0 || srcY0 != 0 || dstX0 != 0 || dstY0 != 0 || dstX1 != writeSize.width || in IsPartialBlit()
2609 GLint dstX0, in ValidateBlitFramebufferANGLE() argument
2622 if (srcX1 - srcX0 != dstX1 - dstX0 || srcY1 - srcY0 != dstY1 - dstY0) in ValidateBlitFramebufferANGLE()
2692 srcX1, srcY1, dstX0, dstY0, dstX1, dstY1)) in ValidateBlitFramebufferANGLE()
2715 dstX0, dstY0, dstX1, dstY1)) in ValidateBlitFramebufferANGLE()
2733 return ValidateBlitFramebufferParameters(context, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, in ValidateBlitFramebufferANGLE()
2742 GLint dstX0, in ValidateBlitFramebufferNV() argument
2755 return ValidateBlitFramebufferParameters(context, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, in ValidateBlitFramebufferNV()

12345