Lines Matching refs:FRAMEBUFFER
201 GL_APICALL void GL_APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer){
205 GLuint globalFrameBufferName = framebuffer;
206 if(framebuffer && ctx->shareGroup().Ptr()){
207 globalFrameBufferName = ctx->shareGroup()->getGlobalName(FRAMEBUFFER,framebuffer);
208 //if framebuffer wasn't generated before,generate one
210 ctx->shareGroup()->genName(FRAMEBUFFER,framebuffer);
211 ctx->shareGroup()->setObjectData(FRAMEBUFFER, framebuffer,
212 ObjectDataPtr(new FramebufferData(framebuffer)));
213 globalFrameBufferName = ctx->shareGroup()->getGlobalName(FRAMEBUFFER,framebuffer);
218 // update framebuffer binding state
219 ctx->setFramebufferBinding(framebuffer);
448 const GLuint globalFrameBufferName = ctx->shareGroup()->getGlobalName(FRAMEBUFFER,framebuffers[i]);
449 ctx->shareGroup()->deleteName(FRAMEBUFFER,framebuffers[i]);
668 // Update the the current framebuffer object attachment state
670 ObjectDataPtr fbObj = ctx->shareGroup()->getObjectData(FRAMEBUFFER,fbName);
714 // Update the the current framebuffer object attachment state
716 ObjectDataPtr fbObj = ctx->shareGroup()->getObjectData(FRAMEBUFFER,fbName);
753 framebuffers[i] = ctx->shareGroup()->genName(FRAMEBUFFER, 0 ,true);
754 ctx->shareGroup()->setObjectData(FRAMEBUFFER, framebuffers[i],
964 *params = ctx->shareGroup()->getLocalName(FRAMEBUFFER,i);
1047 ObjectDataPtr fbObj = ctx->shareGroup()->getObjectData(FRAMEBUFFER,fbName);
1510 GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer(GLuint framebuffer){
1512 if(framebuffer && ctx->shareGroup().Ptr()){
1513 return ctx->shareGroup()->isObject(FRAMEBUFFER,framebuffer) ? GL_TRUE :GL_FALSE;
2068 // if the renderbuffer is attached to a framebuffer
2069 // change the framebuffer attachment in the undelying OpenGL
2073 // update the framebuffer attachment point to the