Home
last modified time | relevance | path

Searched refs:api_mask (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c168 psp->api_mask = 0; in driCreateNewScreen2()
170 psp->api_mask |= (1 << __DRI_API_OPENGL); in driCreateNewScreen2()
172 psp->api_mask |= (1 << __DRI_API_OPENGL_CORE); in driCreateNewScreen2()
174 psp->api_mask |= (1 << __DRI_API_GLES); in driCreateNewScreen2()
176 psp->api_mask |= (1 << __DRI_API_GLES2); in driCreateNewScreen2()
178 psp->api_mask |= (1 << __DRI_API_GLES3); in driCreateNewScreen2()
310 if (!(screen->api_mask & (1 << api))) { in driCreateContextAttribs()
745 return screen->api_mask; in driGetAPIMask()
Ddri_util.h184 unsigned int api_mask; member
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c615 unsigned int api_mask; in dri2_setup_screen() local
618 api_mask = dri2_dpy->image_driver->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
620 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
623 api_mask = 1 << __DRI_API_OPENGL | in dri2_setup_screen()
630 if ((api_mask & (1 <<__DRI_API_OPENGL)) && _eglIsApiValid(EGL_OPENGL_API)) in dri2_setup_screen()
632 if ((api_mask & (1 << __DRI_API_GLES)) && _eglIsApiValid(EGL_OPENGL_ES_API)) in dri2_setup_screen()
634 if ((api_mask & (1 << __DRI_API_GLES2)) && _eglIsApiValid(EGL_OPENGL_ES_API)) in dri2_setup_screen()
636 if ((api_mask & (1 << __DRI_API_GLES3)) && _eglIsApiValid(EGL_OPENGL_ES_API)) in dri2_setup_screen()