Home | History | Annotate | Download | only in main

Lines Matching refs:FrameBuffers

157       _mesa_HashLookup(ctx->Shared->FrameBuffers, id);
1849 * non-bound framebuffers. Detaching the image from any
1850 * non-bound framebuffers is the responsibility of the
2369 /* Invalidate the framebuffers the renderbuffer is attached in. */
2371 _mesa_HashWalk(ctx->Shared->FrameBuffers, invalidate_rb, rb);
2774 return; /* can't render to texture with winsys framebuffers */
2857 _mesa_HashInsert(ctx->Shared->FrameBuffers, framebuffer, newDrawFb);
2888 * OK, now bind the new Draw/Read framebuffers, if they're changing.
2950 _mesa_DeleteFramebuffers(GLsizei n, const GLuint *framebuffers)
2963 if (framebuffers[i] > 0) {
2965 fb = _mesa_lookup_framebuffer(ctx, framebuffers[i]);
2967 assert(fb == &DummyFramebuffer || fb->Name == framebuffers[i]);
2982 _mesa_HashRemove(ctx->Shared->FrameBuffers, framebuffers[i]);
3002 create_framebuffers(GLsizei n, GLuint *framebuffers, bool dsa)
3016 if (!framebuffers)
3019 _mesa_HashLockMutex(ctx->Shared->FrameBuffers);
3021 first = _mesa_HashFindFreeKeyBlock(ctx->Shared->FrameBuffers, n);
3025 framebuffers[i] = name;
3028 fb = ctx->Driver.NewFramebuffer(ctx, framebuffers[i]);
3030 _mesa_HashUnlockMutex(ctx->Shared->FrameBuffers);
3038 _mesa_HashInsertLocked(ctx->Shared->FrameBuffers, name, fb);
3041 _mesa_HashUnlockMutex(ctx->Shared->FrameBuffers);
3046 _mesa_GenFramebuffers(GLsizei n, GLuint *framebuffers)
3048 create_framebuffers(n, framebuffers, false);
3053 _mesa_CreateFramebuffers(GLsizei n, GLuint *framebuffers)
3055 create_framebuffers(n, framebuffers, true);