Lines Matching refs:DrawBuffer
183 if (ctx->DrawBuffer->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) { in _mesa_Clear()
189 if (ctx->DrawBuffer->Width == 0 || ctx->DrawBuffer->Height == 0 || in _mesa_Clear()
190 ctx->DrawBuffer->_Xmin >= ctx->DrawBuffer->_Xmax || in _mesa_Clear()
191 ctx->DrawBuffer->_Ymin >= ctx->DrawBuffer->_Ymax) in _mesa_Clear()
212 for (i = 0; i < ctx->DrawBuffer->_NumColorDrawBuffers; i++) { in _mesa_Clear()
213 bufferMask |= (1 << ctx->DrawBuffer->_ColorDrawBufferIndexes[i]); in _mesa_Clear()
218 && ctx->DrawBuffer->Visual.haveDepthBuffer) { in _mesa_Clear()
223 && ctx->DrawBuffer->Visual.haveStencilBuffer) { in _mesa_Clear()
228 && ctx->DrawBuffer->Visual.haveAccumBuffer) { in _mesa_Clear()
250 const struct gl_renderbuffer_attachment *att = ctx->DrawBuffer->Attachment; in make_color_buffer_mask()
332 else if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer && !ctx->RasterDiscard) { in _mesa_ClearBufferiv()
495 else if (ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer && !ctx->RasterDiscard) { in _mesa_ClearBufferfv()
598 if (ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer) in _mesa_ClearBufferfi()
600 if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer) in _mesa_ClearBufferfi()