• Home
  • Raw
  • Download

Lines Matching refs:mesaCtx

766     struct gl_context *mesaCtx = NULL;  in dri_create_context()  local
800 mesaCtx = &ctx->Base; in dri_create_context()
803 if (!_mesa_initialize_context(mesaCtx, api, visual, sharedCtx, &functions)) { in dri_create_context()
808 driContextSetFlags(mesaCtx, ctx_config->flags); in dri_create_context()
811 _swrast_CreateContext( mesaCtx ); in dri_create_context()
812 _vbo_CreateContext( mesaCtx, false ); in dri_create_context()
813 _tnl_CreateContext( mesaCtx ); in dri_create_context()
814 _swsetup_CreateContext( mesaCtx ); in dri_create_context()
815 _swsetup_Wakeup( mesaCtx ); in dri_create_context()
819 TNLcontext *tnl = TNL_CONTEXT(mesaCtx); in dri_create_context()
823 _mesa_meta_init(mesaCtx); in dri_create_context()
824 _mesa_enable_sw_extensions(mesaCtx); in dri_create_context()
826 _mesa_override_extensions(mesaCtx); in dri_create_context()
827 _mesa_compute_version(mesaCtx); in dri_create_context()
829 _mesa_initialize_dispatch_tables(mesaCtx); in dri_create_context()
830 _mesa_initialize_vbo_vtxfmt(mesaCtx); in dri_create_context()
849 struct gl_context *mesaCtx; in dri_destroy_context() local
851 mesaCtx = &ctx->Base; in dri_destroy_context()
853 _mesa_meta_free(mesaCtx); in dri_destroy_context()
854 _swsetup_DestroyContext( mesaCtx ); in dri_destroy_context()
855 _swrast_DestroyContext( mesaCtx ); in dri_destroy_context()
856 _tnl_DestroyContext( mesaCtx ); in dri_destroy_context()
857 _vbo_DestroyContext( mesaCtx ); in dri_destroy_context()
858 _mesa_destroy_context( mesaCtx ); in dri_destroy_context()
867 struct gl_context *mesaCtx; in dri_make_current() local
873 mesaCtx = &dri_context(cPriv)->Base; in dri_make_current()
889 if (mesaCtx == _mesa_get_current_context() in dri_make_current()
890 && mesaCtx->DrawBuffer == mesaDraw in dri_make_current()
891 && mesaCtx->ReadBuffer == mesaRead) { in dri_make_current()
895 swrast_check_and_update_window_size(mesaCtx, mesaDraw); in dri_make_current()
897 swrast_check_and_update_window_size(mesaCtx, mesaRead); in dri_make_current()
899 _mesa_make_current( mesaCtx, in dri_make_current()