• Home
  • Raw
  • Download

Lines Matching refs:mesaCtx

758     struct gl_context *mesaCtx = NULL;  in dri_create_context()  local
785 mesaCtx = &ctx->Base; in dri_create_context()
788 if (!_mesa_initialize_context(mesaCtx, api, visual, sharedCtx, &functions)) { in dri_create_context()
793 driContextSetFlags(mesaCtx, flags); in dri_create_context()
796 _swrast_CreateContext( mesaCtx ); in dri_create_context()
797 _vbo_CreateContext( mesaCtx ); in dri_create_context()
798 _tnl_CreateContext( mesaCtx ); in dri_create_context()
799 _swsetup_CreateContext( mesaCtx ); in dri_create_context()
800 _swsetup_Wakeup( mesaCtx ); in dri_create_context()
804 TNLcontext *tnl = TNL_CONTEXT(mesaCtx); in dri_create_context()
808 _mesa_meta_init(mesaCtx); in dri_create_context()
809 _mesa_enable_sw_extensions(mesaCtx); in dri_create_context()
811 _mesa_compute_version(mesaCtx); in dri_create_context()
813 _mesa_initialize_dispatch_tables(mesaCtx); in dri_create_context()
814 _mesa_initialize_vbo_vtxfmt(mesaCtx); in dri_create_context()
833 struct gl_context *mesaCtx; in dri_destroy_context() local
835 mesaCtx = &ctx->Base; in dri_destroy_context()
837 _mesa_meta_free(mesaCtx); in dri_destroy_context()
838 _swsetup_DestroyContext( mesaCtx ); in dri_destroy_context()
839 _swrast_DestroyContext( mesaCtx ); in dri_destroy_context()
840 _tnl_DestroyContext( mesaCtx ); in dri_destroy_context()
841 _vbo_DestroyContext( mesaCtx ); in dri_destroy_context()
842 _mesa_destroy_context( mesaCtx ); in dri_destroy_context()
851 struct gl_context *mesaCtx; in dri_make_current() local
866 mesaCtx = &ctx->Base; in dri_make_current()
871 if (mesaCtx == _mesa_get_current_context() in dri_make_current()
872 && mesaCtx->DrawBuffer == mesaDraw in dri_make_current()
873 && mesaCtx->ReadBuffer == mesaRead) { in dri_make_current()
879 swrast_check_and_update_window_size(mesaCtx, mesaDraw); in dri_make_current()
881 swrast_check_and_update_window_size(mesaCtx, mesaRead); in dri_make_current()
883 _mesa_make_current( mesaCtx, in dri_make_current()