Lines Matching refs:gl_buffer
76 struct gl_framebuffer *gl_buffer; /*< The framebuffer, containing user's rb */ member
857 osmesa->gl_buffer = _mesa_create_framebuffer(osmesa->gl_visual); in OSMesaCreateContextAttribs()
858 if (!osmesa->gl_buffer) { in OSMesaCreateContextAttribs()
868 _swrast_add_soft_renderbuffers(osmesa->gl_buffer, in OSMesaCreateContextAttribs()
959 _mesa_reference_framebuffer( &osmesa->gl_buffer, NULL ); in OSMesaDestroyContext()
1035 _mesa_remove_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT); in OSMesaMakeCurrent()
1036 _mesa_attach_and_reference_rb(osmesa->gl_buffer, BUFFER_FRONT_LEFT, in OSMesaMakeCurrent()
1052 _mesa_resize_framebuffer(&osmesa->mesa, osmesa->gl_buffer, width, height); in OSMesaMakeCurrent()
1054 _mesa_make_current( &osmesa->mesa, osmesa->gl_buffer, osmesa->gl_buffer ); in OSMesaMakeCurrent()
1059 _mesa_remove_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT); in OSMesaMakeCurrent()
1060 _mesa_attach_and_reference_rb(osmesa->gl_buffer, BUFFER_FRONT_LEFT, in OSMesaMakeCurrent()
1065 _mesa_update_framebuffer_visual(&osmesa->mesa, osmesa->gl_buffer); in OSMesaMakeCurrent()
1068 _mesa_resize_framebuffer(&osmesa->mesa, osmesa->gl_buffer, width, height); in OSMesaMakeCurrent()
1120 if (osmesa->gl_buffer) in OSMesaGetIntegerv()
1121 *value = osmesa->gl_buffer->Width; in OSMesaGetIntegerv()
1126 if (osmesa->gl_buffer) in OSMesaGetIntegerv()
1127 *value = osmesa->gl_buffer->Height; in OSMesaGetIntegerv()
1171 if (c->gl_buffer) in OSMesaGetDepthBuffer()
1172 srb = swrast_renderbuffer(c->gl_buffer-> in OSMesaGetDepthBuffer()