Home | History | Annotate | Download | only in common

Lines Matching refs:Blit

337    struct blit_state Blit;    /**< For _mesa_meta_BlitFramebuffer() */
347 static void meta_glsl_blit_cleanup(struct gl_context *ctx, struct blit_state *blit);
442 meta_glsl_blit_cleanup(ctx, &ctx->Meta->Blit);
1399 struct blit_state *blit = &ctx->Meta->Blit;
1403 assert(blit->DepthFP == 0);
1413 _mesa_GenPrograms(1, &blit->DepthFP);
1414 _mesa_BindProgram(GL_FRAGMENT_PROGRAM_ARB, blit->DepthFP);
1425 * \return new buffer mask indicating the buffers left to blit using the
1470 printf("Blit from texture!\n");
1579 struct blit_state *blit = &ctx->Meta->Blit;
1594 /* In addition to falling back if the blit size is larger than the maximum
1618 /* only scissor effects blit so save/clear all other relevant state */
1621 if (blit->ArrayObj == 0) {
1625 _mesa_GenVertexArrays(1, &blit->ArrayObj);
1626 _mesa_BindVertexArray(blit->ArrayObj);
1629 _mesa_GenBuffersARB(1, &blit->VBO);
1630 _mesa_BindBufferARB(GL_ARRAY_BUFFER_ARB, blit->VBO);
1641 _mesa_BindVertexArray(blit->ArrayObj);
1642 _mesa_BindBufferARB(GL_ARRAY_BUFFER_ARB, blit->VBO);
1695 if (!blit->DepthFP)
1707 _mesa_BindProgram(GL_FRAGMENT_PROGRAM_ARB, blit->DepthFP);
1736 meta_glsl_blit_cleanup(struct gl_context *ctx, struct blit_state *blit)
1738 if (blit->ArrayObj) {
1739 _mesa_DeleteVertexArraysAPPLE(1, &blit->ArrayObj);
1740 blit->ArrayObj = 0;
1741 _mesa_DeleteBuffersARB(1, &blit->VBO);
1742 blit->VBO = 0;
1744 if (blit->DepthFP) {
1745 _mesa_DeletePrograms(1, &blit->DepthFP);
1746 blit->DepthFP = 0;
3818 /* We can only use the decompress-with-blit method here if the texels are