/external/mesa3d/src/mesa/main/ |
D | blit.c | 182 struct gl_framebuffer *drawFb, GLenum filter, in validate_color_buffer() argument 185 const GLuint numColorDrawBuffers = drawFb->_NumColorDrawBuffers; in validate_color_buffer() 191 colorDrawRb = drawFb->_ColorDrawBuffers[i]; in validate_color_buffer() 219 if (readFb->Visual.samples > 0 || drawFb->Visual.samples > 0) { in validate_color_buffer() 257 struct gl_framebuffer *drawFb, const char *func) in validate_stencil_buffer() argument 262 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer; in validate_stencil_buffer() 303 struct gl_framebuffer *drawFb, const char *func) in validate_depth_buffer() argument 308 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer; in validate_depth_buffer() 345 struct gl_framebuffer *readFb, struct gl_framebuffer *drawFb, in blit_framebuffer() argument 352 if (!readFb || !drawFb) { in blit_framebuffer() [all …]
|
D | blend.h | 132 const struct gl_framebuffer *drawFb); 136 const struct gl_framebuffer *drawFb); 144 const struct gl_framebuffer *drawFb); 148 const struct gl_framebuffer *drawFb);
|
D | blend.c | 1099 const struct gl_framebuffer *drawFb) in _mesa_get_clamp_fragment_color() argument 1101 return get_clamp_color(drawFb, ctx->Color.ClampFragmentColor); in _mesa_get_clamp_fragment_color() 1106 const struct gl_framebuffer *drawFb) in _mesa_get_clamp_vertex_color() argument 1108 return get_clamp_color(drawFb, ctx->Light.ClampVertexColor); in _mesa_get_clamp_vertex_color() 1123 const struct gl_framebuffer *drawFb) in _mesa_update_clamp_fragment_color() argument 1132 if (!drawFb || !drawFb->_HasSNormOrFloatColorBuffer || in _mesa_update_clamp_fragment_color() 1133 drawFb->_IntegerBuffers) in _mesa_update_clamp_fragment_color() 1136 clamp = _mesa_get_clamp_fragment_color(ctx, drawFb); in _mesa_update_clamp_fragment_color() 1151 const struct gl_framebuffer *drawFb) in _mesa_update_clamp_vertex_color() argument 1154 _mesa_get_clamp_vertex_color(ctx, drawFb); in _mesa_update_clamp_vertex_color()
|
D | framebuffer.h | 109 struct gl_framebuffer *drawFb); 118 struct gl_framebuffer *drawFb);
|
D | framebuffer.c | 662 struct gl_framebuffer *drawFb) in _mesa_update_framebuffer() argument 666 update_framebuffer(ctx, drawFb); in _mesa_update_framebuffer() 667 if (readFb != drawFb) in _mesa_update_framebuffer() 670 _mesa_update_clamp_vertex_color(ctx, drawFb); in _mesa_update_framebuffer() 671 _mesa_update_clamp_fragment_color(ctx, drawFb); in _mesa_update_framebuffer()
|
D | image.c | 883 const struct gl_framebuffer *drawFb, in _mesa_clip_blit() argument 893 const GLint dstXmin = drawFb->_Xmin; in _mesa_clip_blit() 894 const GLint dstXmax = drawFb->_Xmax; in _mesa_clip_blit() 895 const GLint dstYmin = drawFb->_Ymin; in _mesa_clip_blit() 896 const GLint dstYmax = drawFb->_Ymax; in _mesa_clip_blit()
|
D | image.h | 133 const struct gl_framebuffer *drawFb,
|
D | dd.h | 781 struct gl_framebuffer *drawFb, 797 struct gl_framebuffer *drawFb,
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blit.c | 111 struct gl_framebuffer *drawFb, in blit_nearest() argument 157 numDrawBuffers = drawFb->_NumColorDrawBuffers; in blit_nearest() 161 drawAtt = &drawFb->Attachment[BUFFER_DEPTH]; in blit_nearest() 180 drawAtt = &drawFb->Attachment[BUFFER_STENCIL]; in blit_nearest() 201 gl_buffer_index idx = drawFb->_ColorDrawBufferIndexes[i]; in blit_nearest() 204 drawAtt = &drawFb->Attachment[idx]; in blit_nearest() 292 drawFb->FlipY); in blit_nearest() 514 struct gl_framebuffer *drawFb, in blit_linear() argument 573 for (i = 0; i < drawFb->_NumColorDrawBuffers; i++) { in blit_linear() 574 gl_buffer_index idx = drawFb->_ColorDrawBufferIndexes[i]; in blit_linear() [all …]
|
D | swrast.h | 159 struct gl_framebuffer *drawFb,
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta_blit.c | 63 const struct gl_framebuffer *drawFb, in setup_glsl_blit_framebuffer() argument 91 const struct gl_framebuffer *drawFb, in blitframebuffer_texture() argument 184 setup_glsl_blit_framebuffer(ctx, blit, drawFb, rb, target, do_depth); in blitframebuffer_texture() 417 const struct gl_framebuffer *drawFb, in _mesa_meta_BlitFramebuffer() argument 445 if (!_mesa_clip_blit(ctx, readFb, drawFb, in _mesa_meta_BlitFramebuffer() 476 if (blitframebuffer_texture(ctx, readFb, drawFb, in _mesa_meta_BlitFramebuffer() 486 if (blitframebuffer_texture(ctx, readFb, drawFb, in _mesa_meta_BlitFramebuffer() 525 struct gl_framebuffer *drawFb, in _mesa_meta_and_swrast_BlitFramebuffer() argument 532 mask = _mesa_meta_BlitFramebuffer(ctx, readFb, drawFb, in _mesa_meta_and_swrast_BlitFramebuffer() 539 _swrast_BlitFramebuffer(ctx, readFb, drawFb, in _mesa_meta_and_swrast_BlitFramebuffer()
|
D | meta.h | 408 const struct gl_framebuffer *drawFb, 416 struct gl_framebuffer *drawFb,
|
D | meta.c | 2781 struct gl_framebuffer *drawFb; in copytexsubimage_using_blit_framebuffer() local 2789 drawFb = ctx->Driver.NewFramebuffer(ctx, 0xDEADBEEF); in copytexsubimage_using_blit_framebuffer() 2790 if (drawFb == NULL) in copytexsubimage_using_blit_framebuffer() 2794 _mesa_bind_framebuffers(ctx, drawFb, ctx->ReadBuffer); in copytexsubimage_using_blit_framebuffer() 2845 _mesa_reference_framebuffer(&drawFb, NULL); in copytexsubimage_using_blit_framebuffer() 3532 struct gl_framebuffer *drawFb; in cleartexsubimage_for_zoffset() local 3535 drawFb = ctx->Driver.NewFramebuffer(ctx, 0xDEADBEEF); in cleartexsubimage_for_zoffset() 3536 if (drawFb == NULL) in cleartexsubimage_for_zoffset() 3539 _mesa_bind_framebuffers(ctx, drawFb, ctx->ReadBuffer); in cleartexsubimage_for_zoffset() 3552 _mesa_reference_framebuffer(&drawFb, NULL); in cleartexsubimage_for_zoffset()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_fbo.c | 644 const struct gl_framebuffer *drawFb, in intel_blit_framebuffer_with_blitter() argument 679 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_with_blitter() 680 dstY0 >= 0 && dstY1 <= drawFb->Height && in intel_blit_framebuffer_with_blitter() 695 for (i = 0; i < drawFb->_NumColorDrawBuffers; i++) { in intel_blit_framebuffer_with_blitter() 696 struct gl_renderbuffer *dst_rb = drawFb->_ColorDrawBuffers[i]; in intel_blit_framebuffer_with_blitter() 738 struct gl_framebuffer *drawFb, in intel_blit_framebuffer() argument 744 mask = intel_blit_framebuffer_with_blitter(ctx, readFb, drawFb, in intel_blit_framebuffer() 752 _mesa_meta_and_swrast_BlitFramebuffer(ctx, readFb, drawFb, in intel_blit_framebuffer()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_fbo.c | 801 const struct gl_framebuffer *drawFb, in intel_blit_framebuffer_with_blitter() argument 836 dstX0 >= 0 && dstX1 <= drawFb->Width && in intel_blit_framebuffer_with_blitter() 837 dstY0 >= 0 && dstY1 <= drawFb->Height && in intel_blit_framebuffer_with_blitter() 852 for (i = 0; i < drawFb->_NumColorDrawBuffers; i++) { in intel_blit_framebuffer_with_blitter() 853 struct gl_renderbuffer *dst_rb = drawFb->_ColorDrawBuffers[i]; in intel_blit_framebuffer_with_blitter() 876 dstX0, dstY0, drawFb->FlipY, in intel_blit_framebuffer_with_blitter() 894 struct gl_framebuffer *drawFb, in intel_blit_framebuffer() argument 917 mask = intel_blit_framebuffer_with_blitter(ctx, readFb, drawFb, in intel_blit_framebuffer() 925 mask = brw_blorp_framebuffer(brw, readFb, drawFb, in intel_blit_framebuffer() 935 mask = _mesa_meta_BlitFramebuffer(ctx, readFb, drawFb, in intel_blit_framebuffer() [all …]
|
D | brw_blorp.c | 809 struct gl_framebuffer *drawFb, in brw_blorp_framebuffer() argument 822 try_blorp_blit(brw, readFb, drawFb, in brw_blorp_framebuffer()
|
D | brw_context.h | 1505 struct gl_framebuffer *drawFb,
|