Home
last modified time | relevance | path

Searched refs:mesaCtx (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c761 struct gl_context *mesaCtx = NULL; in dri_create_context() local
794 mesaCtx = &ctx->Base; in dri_create_context()
797 if (!_mesa_initialize_context(mesaCtx, api, visual, sharedCtx, &functions)) { in dri_create_context()
802 driContextSetFlags(mesaCtx, ctx_config->flags); in dri_create_context()
805 _swrast_CreateContext( mesaCtx ); in dri_create_context()
806 _vbo_CreateContext( mesaCtx ); in dri_create_context()
807 _tnl_CreateContext( mesaCtx ); in dri_create_context()
808 _swsetup_CreateContext( mesaCtx ); in dri_create_context()
809 _swsetup_Wakeup( mesaCtx ); in dri_create_context()
813 TNLcontext *tnl = TNL_CONTEXT(mesaCtx); in dri_create_context()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c891 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()
[all …]