Lines Matching refs:mesaCtx
891 struct gl_context *mesaCtx; in XMesaCreateContext() local
905 mesaCtx = &(c->mesa); in XMesaCreateContext()
910 if (!_mesa_initialize_context(mesaCtx, API_OPENGL_COMPAT, &v->mesa_visual, in XMesaCreateContext()
921 mesaCtx->VertexProgram._MaintainTnlProgram = GL_TRUE; in XMesaCreateContext()
922 mesaCtx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; in XMesaCreateContext()
925 _mesa_enable_sw_extensions(mesaCtx); in XMesaCreateContext()
928 mesaCtx->Extensions.EXT_timer_query = GL_TRUE; in XMesaCreateContext()
942 if (!_swrast_CreateContext( mesaCtx ) || in XMesaCreateContext()
943 !_vbo_CreateContext( mesaCtx ) || in XMesaCreateContext()
944 !_tnl_CreateContext( mesaCtx ) || in XMesaCreateContext()
945 !_swsetup_CreateContext( mesaCtx )) { in XMesaCreateContext()
952 tnl = TNL_CONTEXT(mesaCtx); in XMesaCreateContext()
955 xmesa_register_swrast_functions( mesaCtx ); in XMesaCreateContext()
956 _swsetup_Wakeup(mesaCtx); in XMesaCreateContext()
958 _mesa_meta_init(mesaCtx); in XMesaCreateContext()
960 _mesa_override_extensions(mesaCtx); in XMesaCreateContext()
961 _mesa_compute_version(mesaCtx); in XMesaCreateContext()
964 _mesa_initialize_dispatch_tables(mesaCtx); in XMesaCreateContext()
965 _mesa_initialize_vbo_vtxfmt(mesaCtx); in XMesaCreateContext()
975 struct gl_context *mesaCtx = &c->mesa; in XMesaDestroyContext() local
977 _mesa_meta_free( mesaCtx ); in XMesaDestroyContext()
979 _swsetup_DestroyContext( mesaCtx ); in XMesaDestroyContext()
980 _swrast_DestroyContext( mesaCtx ); in XMesaDestroyContext()
981 _tnl_DestroyContext( mesaCtx ); in XMesaDestroyContext()
982 _vbo_DestroyContext( mesaCtx ); in XMesaDestroyContext()
983 _mesa_free_context_data( mesaCtx ); in XMesaDestroyContext()