Lines Matching refs:gl_visual
74 struct gl_config *gl_visual; /*< Describes the buffers */ member
814 osmesa->gl_visual = _mesa_create_visual( GL_FALSE, /* double buffer */ in OSMesaCreateContextAttribs()
828 if (!osmesa->gl_visual) { in OSMesaCreateContextAttribs()
841 osmesa->gl_visual, in OSMesaCreateContextAttribs()
845 _mesa_destroy_visual( osmesa->gl_visual ); in OSMesaCreateContextAttribs()
852 osmesa->gl_buffer = _mesa_create_framebuffer(osmesa->gl_visual); in OSMesaCreateContextAttribs()
854 _mesa_destroy_visual( osmesa->gl_visual ); in OSMesaCreateContextAttribs()
865 osmesa->gl_visual->haveDepthBuffer, in OSMesaCreateContextAttribs()
866 osmesa->gl_visual->haveStencilBuffer, in OSMesaCreateContextAttribs()
867 osmesa->gl_visual->haveAccumBuffer, in OSMesaCreateContextAttribs()
891 _mesa_destroy_visual(osmesa->gl_visual); in OSMesaCreateContextAttribs()
919 _mesa_destroy_visual(osmesa->gl_visual); in OSMesaCreateContextAttribs()
953 _mesa_destroy_visual( osmesa->gl_visual ); in OSMesaDestroyContext()
1186 if (c->gl_visual->depthBits <= 16) in OSMesaGetDepthBuffer()