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.c766 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()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c890 struct gl_context *mesaCtx; in XMesaCreateContext() local
904 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, false ) || in XMesaCreateContext()
944 !_tnl_CreateContext( mesaCtx ) || in XMesaCreateContext()
[all …]