Searched defs:srcX0 (Results 1 - 22 of 22) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_blit.c51 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
62 GLint srcX0, srcY0, srcX1, srcY1; member in struct:__anon17274
73 clip.srcX0 = srcX0;
89 &clip.srcX0, &clip.srcY0, &clip.srcX1, &clip.srcY1,
146 blit.src.box.x = srcX0;
148 blit.src.box.width = srcX1 - srcX0;
153 blit.src.box.width = srcX0 - srcX1;
48 st_BlitFramebuffer(struct gl_context *ctx, struct gl_framebuffer *readFB, struct gl_framebuffer *drawFB, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
/external/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_run.c41 int srcX0, int srcY0,
55 blit.src.box.x = srcX0;
58 blit.src.box.width = srcX1 - srcX0;
39 pp_blit(struct pipe_context *pipe, struct pipe_resource *src_tex, int srcX0, int srcY0, int srcX1, int srcY1, int srcZ0, struct pipe_surface *dst, int dstX0, int dstY0, int dstX1, int dstY1) argument
/external/mesa3d/src/mesa/main/
H A Dblit.c66 _mesa_regions_overlap(int srcX0, int srcY0, argument
71 if (MAX2(srcX0, srcX1) <= MIN2(dstX0, dstX1))
74 if (MAX2(dstX0, dstX1) <= MIN2(srcX0, srcX1))
184 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
451 && (srcX0 != dstX0 || srcY0 != dstY0
470 if (abs(srcX1 - srcX0) != abs(dstX1 - dstX0) ||
487 srcX0, srcY0, srcX1, srcY1,
530 (srcX1 - srcX0) == 0 || (srcY1 - srcY0) == 0 ||
537 srcX0, srcY0, srcX1, srcY1,
550 _mesa_BlitFramebuffer(GLint srcX0, GLin argument
181 _mesa_blit_framebuffer(struct gl_context *ctx, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter, const char *func) argument
572 _mesa_BlitNamedFramebuffer(GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
[all...]
H A Dimage.c744 const GLint srcX0 = *srcX, srcY0 = *srcY; local
748 *destX = *destX + *srcX - srcX0;
805 clip_right_or_top(GLint *srcX0, GLint *srcX1, argument
818 bias = (*srcX0 < *srcX1) ? 0.5F : -0.5F;
819 *srcX1 = *srcX0 + (GLint) (t * (*srcX1 - *srcX0) + bias);
828 bias = (*srcX0 < *srcX1) ? -0.5F : 0.5F;
829 *srcX0 = *srcX1 + (GLint) (t * (*srcX0 - *srcX1) + bias);
838 clip_left_or_bottom(GLint *srcX0, GLin argument
881 _mesa_clip_blit(struct gl_context *ctx, const struct gl_framebuffer *readFb, const struct gl_framebuffer *drawFb, GLint *srcX0, GLint *srcY0, GLint *srcX1, GLint *srcY1, GLint *dstX0, GLint *dstY0, GLint *dstX1, GLint *dstY1) argument
[all...]
H A Ddlist.c6114 save_BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, argument
6123 n[1].i = srcX0;
6135 CALL_BlitFramebuffer(ctx->Exec, (srcX0, srcY0, srcX1, srcY1,
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_meta_util.c111 * \param src the source rect coordinate (for example srcX0)
161 GLfloat *srcX0, GLfloat *srcY0,
171 fixup_mirroring(mirror_x, srcX0, srcX1);
188 if (!compute_pixels_clipped(*srcX0, *srcY0, *srcX1, *srcY1,
203 * For example, if srcX0 and dstX0 need both to be clipped we want to avoid
204 * the situation where we clip srcX0 first, then adjust dstX0 accordingly
206 * so we clip dstX0 and adjust srcX0 again. Because we are applying scaling
218 * the dst rect so we should clip dstX0 only and adjust srcX0. This is
223 float scaleX = (float) (*srcX1 - *srcX0) / (*dstX1 - *dstX0);
228 srcX0, dstX
158 brw_meta_mirror_clip_and_scissor(const struct gl_context *ctx, const struct gl_framebuffer *read_fb, const struct gl_framebuffer *draw_fb, GLfloat *srcX0, GLfloat *srcY0, GLfloat *srcX1, GLfloat *srcY1, GLfloat *dstX0, GLfloat *dstY0, GLfloat *dstX1, GLfloat *dstY1, bool *mirror_x, bool *mirror_y) argument
[all...]
H A Dintel_fbo.c784 GLint srcX0, GLint srcY0,
812 if (!(srcX0 - srcX1 == dstX0 - dstX1 &&
814 srcX1 >= srcX0 &&
816 srcX0 >= 0 && srcX1 <= readFb->Width &&
855 srcX0, srcY0, src_rb->Name == 0,
876 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
890 srcX0, srcY0, srcX1, srcY1,
897 srcX0, srcY0, srcX1, srcY1,
909 srcX0, srcY0, srcX1, srcY1,
916 srcX0, srcY
781 intel_blit_framebuffer_with_blitter(struct gl_context *ctx, const struct gl_framebuffer *readFb, const struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask) argument
873 intel_blit_framebuffer(struct gl_context *ctx, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
932 gen4_blit_framebuffer(struct gl_context *ctx, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
[all...]
H A Dbrw_blorp.c492 GLfloat srcX0, GLfloat srcY0, GLfloat srcX1, GLfloat srcY1,
510 srcX0, srcY0, srcX1, srcY1,
522 GLfloat srcX0, GLfloat srcY0, GLfloat srcX1, GLfloat srcY1,
535 &srcX0, &srcY0, &srcX1, &srcY1,
554 srcX0, srcY0, srcX1, srcY1,
576 dst_irb, MESA_FORMAT_NONE, srcX0, srcY0,
586 dst_irb, MESA_FORMAT_NONE, srcX0, srcY0,
602 int srcX0, int srcY0,
658 int srcX1 = srcX0 + width;
682 srcX0, srcY
489 do_blorp_blit(struct brw_context *brw, GLbitfield buffer_bit, struct intel_renderbuffer *src_irb, mesa_format src_format, struct intel_renderbuffer *dst_irb, mesa_format dst_format, GLfloat srcX0, GLfloat srcY0, GLfloat srcX1, GLfloat srcY1, GLfloat dstX0, GLfloat dstY0, GLfloat dstX1, GLfloat dstY1, GLenum filter, bool mirror_x, bool mirror_y) argument
519 try_blorp_blit(struct brw_context *brw, const struct gl_framebuffer *read_fb, const struct gl_framebuffer *draw_fb, GLfloat srcX0, GLfloat srcY0, GLfloat srcX1, GLfloat srcY1, GLfloat dstX0, GLfloat dstY0, GLfloat dstX1, GLfloat dstY1, GLenum filter, GLbitfield buffer_bit) argument
598 brw_blorp_copytexsubimage(struct brw_context *brw, struct gl_renderbuffer *src_rb, struct gl_texture_image *dst_image, int slice, int srcX0, int srcY0, int dstX0, int dstY0, int width, int height) argument
721 brw_blorp_framebuffer(struct brw_context *brw, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_blit.c314 regions_overlap(int srcX0, int srcY0, argument
319 if (MAX2(srcX0, srcX1) <= MIN2(dstX0, dstX1))
322 if (MAX2(dstX0, dstX1) <= MIN2(srcX0, srcX1))
368 int srcX0, int srcY0,
379 const int srcW = abs(srcX1 - srcX0);
396 regions_overlap(srcX0, srcY0, srcX1, srcY1,
434 srcX0 < srcX1 &&
438 (dstX1 - dstX0) == (srcX1 - srcX0) &&
442 src_box.x = srcX0;
470 info.src.box.x = srcX0;
365 util_blit_pixels(struct blit_state *ctx, struct pipe_resource *src_tex, unsigned src_level, int srcX0, int srcY0, int srcX1, int srcY1, int srcZ0, struct pipe_surface *dst, int dstX0, int dstY0, int dstX1, int dstY1, float z, uint filter, uint writemask) argument
500 util_blit_pixels_tex(struct blit_state *ctx, struct pipe_sampler_view *src_sampler_view, int srcX0, int srcY0, int srcX1, int srcY1, unsigned src_face, struct pipe_surface *dst, int dstX0, int dstY0, int dstX1, int dstY1, float z, uint filter) argument
[all...]
/external/mesa3d/src/mesa/drivers/common/
H A Dmeta_blit.c604 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
618 const int srcW = abs(srcX1 - srcX0);
683 srcX0, srcY0,
689 srcX0 = 0;
762 s0 = srcX0 / (float) texImage->Width;
771 s0 = (float) srcX0;
953 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
963 GLint srcX0, srcY0, srcX1, srcY1; member in struct:__anon17040
966 srcX0, srcY0, srcX1, srcY1,
983 &clip.srcX0,
601 blitframebuffer_texture(struct gl_context *ctx, const struct gl_framebuffer *readFb, const struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLenum filter, GLint flipX, GLint flipY, GLboolean glsl_version, GLboolean do_depth) argument
950 _mesa_meta_BlitFramebuffer(struct gl_context *ctx, const struct gl_framebuffer *readFb, const struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
1058 _mesa_meta_and_swrast_BlitFramebuffer(struct gl_context *ctx, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_fbo.c640 GLint srcX0, GLint srcY0,
668 if (!(srcX0 - srcX1 == dstX0 - dstX1 &&
670 srcX1 >= srcX0 &&
672 srcX0 >= 0 && srcX1 <= readFb->Width &&
713 srcX0, srcY0, src_rb->Name == 0,
734 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
740 srcX0, srcY0, srcX1, srcY1,
748 srcX0, srcY0, srcX1, srcY1,
637 intel_blit_framebuffer_with_blitter(struct gl_context *ctx, const struct gl_framebuffer *readFb, const struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
731 intel_blit_framebuffer(struct gl_context *ctx, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
/external/mesa3d/src/mesa/swrast/
H A Ds_blit.c112 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
121 const GLint srcWidth = ABS(srcX1 - srcX0);
126 const GLint srcXpos = MIN2(srcX0, srcX1);
131 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0);
513 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
520 const GLint srcWidth = ABS(srcX1 - srcX0);
525 const GLint srcXpos = MIN2(srcX0, srcX1);
530 const GLboolean invertX = (srcX1 < srcX0) ^ (dstX1 < dstX0);
738 GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
761 if (!_mesa_clip_blit(ctx, readFb, drawFb, &srcX0,
109 blit_nearest(struct gl_context *ctx, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield buffer) argument
510 blit_linear(struct gl_context *ctx, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1) argument
735 _swrast_BlitFramebuffer(struct gl_context *ctx, struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
[all...]
/external/deqp/framework/opengl/simplereference/
H A DsglrContextWrapper.cpp359 void ContextWrapper::glBlitFramebuffer (int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, deUint32 mask, deUint32 filter) argument
361 m_curCtx->blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
H A DsglrGLContext.cpp600 void GLContext::blitFramebuffer (int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, deUint32 mask, deUint32 filter) argument
607 << srcX0 << ", " << srcY0 << ", " << srcX1 << ", " << srcY1 << ", "
613 m_context.getFunctions().blitFramebuffer(readOffset.x()+srcX0, readOffset.y()+srcY0, readOffset.x()+srcX1, readOffset.y()+srcY1,
/external/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv3.cpp1171 GL_APICALL void GL_APIENTRY glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
1173 TRACE("(GLint srcX0 = %d, GLint srcY0 = %d, GLint srcX1 = %d, GLint srcY1 = %d, "
1176 srcX0, srcY0, srcX1, srcX1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1207 context->blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter == GL_LINEAR, true);
H A Dentry_points.cpp196 GL_APICALL void BlitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
197 GL_APICALL void BlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
1148 GL_APICALL void GL_APIENTRY glBlitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
1150 return es2::BlitFramebufferNV(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1153 GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, argument
1156 return es2::BlitFramebufferANGLE(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
H A DlibGLESv2.cpp6176 static void BlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter, bool allowPartialDepthStencilBlit) argument
6178 TRACE("(GLint srcX0 = %d, GLint srcY0 = %d, GLint srcX1 = %d, GLint srcY1 = %d, "
6181 srcX0, srcY0, srcX1, srcX1, dstX0, dstY0, dstX1, dstY1, mask, filter);
6206 context->blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, false, allowPartialDepthStencilBlit);
6210 void BlitFramebufferNV(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) argument
6212 BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter, true);
6215 void BlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, argument
6218 if(srcX1 - srcX0 != dstX1 - dstX0 || srcY1 - srcY0 != dstY1 - dstY0)
6224 BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter, false);
H A DContext.cpp3985 void Context::blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, argument
4008 bool flipX = (srcX0 < srcX1) ^ (dstX0 < dstX1);
4011 if(srcX0 < srcX1)
4013 sourceRect.x0 = srcX0;
4019 sourceRect.x1 = srcX0;
4087 bool sameBounds = (srcX0 == dstX0 && srcY0 == dstY0 && srcX1 == dstX1 && srcY1 == dstY1);
/external/swiftshader/src/OpenGL/libGL/
H A DContext.cpp2765 void Context::blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, argument
2789 if(srcX0 < srcX1)
2791 sourceRect.x0 = srcX0;
2800 sourceRect.x1 = srcX0;
H A DlibGL.cpp5405 void APIENTRY glBlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, argument
5408 TRACE("(GLint srcX0 = %d, GLint srcY0 = %d, GLint srcX1 = %d, GLint srcY1 = %d, "
5411 srcX0, srcY0, srcX1, srcX1, dstX0, dstY0, dstX1, dstY1, mask, filter);
5426 if(srcX1 - srcX0 != dstX1 - dstX0 || srcY1 - srcY0 != dstY1 - dstY0)
5447 context->blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask);
7782 void APIENTRY glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) {UNIMPLEMENTED();} argument
/external/skia/src/gpu/gl/
H A DGrGLTestInterface.h35 virtual GrGLvoid blitFramebuffer(GrGLint srcX0, GrGLint srcY0, GrGLint srcX1, GrGLint srcY1, GrGLint dstX0, GrGLint dstY0, GrGLint dstX1, GrGLint dstY1, GrGLbitfield mask, GrGLenum filter) {} argument
/external/skqp/src/gpu/gl/
H A DGrGLTestInterface.h35 virtual GrGLvoid blitFramebuffer(GrGLint srcX0, GrGLint srcY0, GrGLint srcX1, GrGLint srcY1, GrGLint dstX0, GrGLint dstY0, GrGLint dstX1, GrGLint dstY1, GrGLbitfield mask, GrGLenum filter) {} argument

Completed in 539 milliseconds