Home
last modified time | relevance | path

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

12

/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,
Dfbobject.h204 _mesa_BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
Dfbobject.c2879 _mesa_BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in _mesa_BlitFramebufferEXT() argument
2896 srcX0, srcY0, srcX1, srcY1, in _mesa_BlitFramebufferEXT()
3028 if (abs(srcX1 - srcX0) != abs(dstX1 - dstX0) || in _mesa_BlitFramebufferEXT()
3067 srcX0, srcY0, srcX1, srcY1, in _mesa_BlitFramebufferEXT()
3107 srcX0, srcY0, srcX1, srcY1, in _mesa_BlitFramebufferEXT()
/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 …]
Dswrast.h156 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
/external/mesa3d/src/gallium/auxiliary/util/
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 …]
Du_blit.h62 int srcX0, int srcY0,
74 int srcX0, int srcY0,
/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/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 …]
Dbrw_context.h1179 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
/external/mesa3d/src/mesa/drivers/common/
Dmeta.h78 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
Dmeta.c1430 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in blitframebuffer_texture() argument
1510 s0 = srcX0 / (float) texImage->Width; in blitframebuffer_texture()
1517 s0 = srcX0; in blitframebuffer_texture()
1575 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, in _mesa_meta_BlitFramebuffer() argument
1582 const GLint srcX = MIN2(srcX0, srcX1); in _mesa_meta_BlitFramebuffer()
1584 const GLint srcW = abs(srcX1 - srcX0); in _mesa_meta_BlitFramebuffer()
1586 const GLboolean srcFlipX = srcX1 < srcX0; in _mesa_meta_BlitFramebuffer()
1601 _swrast_BlitFramebuffer(ctx, srcX0, srcY0, srcX1, srcY1, in _mesa_meta_BlitFramebuffer()
1646 mask = blitframebuffer_texture(ctx, srcX0, srcY0, srcX1, srcY1, in _mesa_meta_BlitFramebuffer()
1730 _swrast_BlitFramebuffer(ctx, srcX0, srcY0, srcX1, srcY1, in _mesa_meta_BlitFramebuffer()
/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
607 << srcX0 << ", " << srcY0 << ", " << srcX1 << ", " << srcY1 << ", " in blitFramebuffer()
613 …m_context.getFunctions().blitFramebuffer(readOffset.x()+srcX0, readOffset.y()+srcY0, readOffset.x(… in blitFramebuffer()
DsglrGLContext.hpp149 …virtual void blitFramebuffer (int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int ds…
DsglrContext.hpp137 …virtual void blitFramebuffer (int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0,…
/external/mesa3d/src/gallium/state_trackers/vega/
Drenderer.c1415 int srcX0, int srcY0, in renderer_copy_surface() argument
1429 const int srcW = abs(srcX1 - srcX0); in renderer_copy_surface()
1431 const int srcLeft = MIN2(srcX0, srcX1); in renderer_copy_surface()
1437 if (srcLeft != srcX0) { in renderer_copy_surface()
/external/skia/src/gpu/gl/
DGrGLNoOpInterface.h330 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlitFramebuffer(GrGLint srcX0,
DGrGLNoOpInterface.cpp445 GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlitFramebuffer(GrGLint srcX0, in noOpGLBlitFramebuffer() argument
/external/mesa3d/include/GL/
Dwglext.h855 extern VOID WINAPI wglBlitContextFramebufferAMD (HGLRC dstCtx, GLint srcX0, GLint srcY0, GLint srcX…
865 typedef VOID (WINAPI * PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC) (HGLRC dstCtx, GLint srcX0, GLint srcY0…
/external/mesa3d/include/GLES2/
Dgl2ext.h940 GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint sr…
942 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, G…

12