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.c713 struct gl_context *mesaCtx = NULL; in dri_create_context() local
756 mesaCtx = &ctx->Base; in dri_create_context()
759 if (!_mesa_initialize_context(mesaCtx, api, visual, sharedCtx, &functions, (void *) cPriv)) { in dri_create_context()
765 mesaCtx->Const.CheckArrayBounds = GL_TRUE; in dri_create_context()
768 _swrast_CreateContext( mesaCtx ); in dri_create_context()
769 _vbo_CreateContext( mesaCtx ); in dri_create_context()
770 _tnl_CreateContext( mesaCtx ); in dri_create_context()
771 _swsetup_CreateContext( mesaCtx ); in dri_create_context()
772 _swsetup_Wakeup( mesaCtx ); in dri_create_context()
776 TNLcontext *tnl = TNL_CONTEXT(mesaCtx); in dri_create_context()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c887 struct gl_context *mesaCtx; in XMesaCreateContext() local
901 mesaCtx = &(c->mesa); in XMesaCreateContext()
906 if (!_mesa_initialize_context(mesaCtx, API_OPENGL, &v->mesa_visual, in XMesaCreateContext()
917 mesaCtx->VertexProgram._MaintainTnlProgram = GL_TRUE; in XMesaCreateContext()
918 mesaCtx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; in XMesaCreateContext()
921 _mesa_enable_sw_extensions(mesaCtx); in XMesaCreateContext()
922 _mesa_enable_1_3_extensions(mesaCtx); in XMesaCreateContext()
923 _mesa_enable_1_4_extensions(mesaCtx); in XMesaCreateContext()
924 _mesa_enable_1_5_extensions(mesaCtx); in XMesaCreateContext()
925 _mesa_enable_2_0_extensions(mesaCtx); in XMesaCreateContext()
[all …]