• Home
  • Raw
  • Download

Lines Matching refs:mesaCtx

881    struct gl_context *mesaCtx;  in XMesaCreateContext()  local
895 mesaCtx = &(c->mesa); in XMesaCreateContext()
901 if (!_mesa_initialize_context(mesaCtx, API_OPENGL_COMPAT, &v->mesa_visual, in XMesaCreateContext()
912 mesaCtx->VertexProgram._MaintainTnlProgram = GL_TRUE; in XMesaCreateContext()
913 mesaCtx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; in XMesaCreateContext()
914 _mesa_reset_vertex_processing_mode(mesaCtx); in XMesaCreateContext()
917 _mesa_enable_sw_extensions(mesaCtx); in XMesaCreateContext()
920 mesaCtx->Extensions.EXT_timer_query = GL_TRUE; in XMesaCreateContext()
934 if (!_swrast_CreateContext( mesaCtx ) || in XMesaCreateContext()
935 !_vbo_CreateContext( mesaCtx, false ) || in XMesaCreateContext()
936 !_tnl_CreateContext( mesaCtx ) || in XMesaCreateContext()
937 !_swsetup_CreateContext( mesaCtx )) { in XMesaCreateContext()
944 tnl = TNL_CONTEXT(mesaCtx); in XMesaCreateContext()
947 xmesa_register_swrast_functions( mesaCtx ); in XMesaCreateContext()
948 _swsetup_Wakeup(mesaCtx); in XMesaCreateContext()
950 _mesa_meta_init(mesaCtx); in XMesaCreateContext()
952 _mesa_override_extensions(mesaCtx); in XMesaCreateContext()
953 _mesa_compute_version(mesaCtx); in XMesaCreateContext()
956 _mesa_initialize_dispatch_tables(mesaCtx); in XMesaCreateContext()
957 _mesa_initialize_vbo_vtxfmt(mesaCtx); in XMesaCreateContext()
967 struct gl_context *mesaCtx = &c->mesa; in XMesaDestroyContext() local
969 _mesa_meta_free( mesaCtx ); in XMesaDestroyContext()
971 _swsetup_DestroyContext( mesaCtx ); in XMesaDestroyContext()
972 _swrast_DestroyContext( mesaCtx ); in XMesaDestroyContext()
973 _tnl_DestroyContext( mesaCtx ); in XMesaDestroyContext()
974 _vbo_DestroyContext( mesaCtx ); in XMesaDestroyContext()
975 _mesa_free_context_data(mesaCtx, true); in XMesaDestroyContext()