Lines Matching full:gl_buffer
72 struct gl_framebuffer *gl_buffer; /*< The framebuffer, containing user's rb */
730 osmesa->gl_buffer = _mesa_create_framebuffer(osmesa->gl_visual);
731 if (!osmesa->gl_buffer) {
741 _swrast_add_soft_renderbuffers(osmesa->gl_buffer,
818 _mesa_reference_framebuffer( &osmesa->gl_buffer, NULL );
893 _mesa_remove_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT);
894 _mesa_add_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT,
910 _mesa_resize_framebuffer(&osmesa->mesa, osmesa->gl_buffer, width, height);
911 osmesa->gl_buffer->Initialized = GL_TRUE; /* XXX TEMPORARY? */
913 _mesa_make_current( &osmesa->mesa, osmesa->gl_buffer, osmesa->gl_buffer );
918 _mesa_remove_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT);
919 _mesa_add_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT,
924 _mesa_update_framebuffer_visual(&osmesa->mesa, osmesa->gl_buffer);
927 _mesa_resize_framebuffer(&osmesa->mesa, osmesa->gl_buffer, width, height);
979 if (osmesa->gl_buffer)
980 *value = osmesa->gl_buffer->Width;
985 if (osmesa->gl_buffer)
986 *value = osmesa->gl_buffer->Height;
1030 if (c->gl_buffer)
1031 srb = swrast_renderbuffer(c->gl_buffer->