Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/common/
Ddri_util.c172 gl_api mesa_api; in dri2CreateContextAttribs() local
186 mesa_api = API_OPENGL; in dri2CreateContextAttribs()
189 mesa_api = API_OPENGLES; in dri2CreateContextAttribs()
192 mesa_api = API_OPENGLES2; in dri2CreateContextAttribs()
195 mesa_api = API_OPENGL_CORE; in dri2CreateContextAttribs()
227 if (mesa_api == API_OPENGL && major_version == 3 && minor_version == 1) in dri2CreateContextAttribs()
228 mesa_api = API_OPENGL_CORE; in dri2CreateContextAttribs()
230 if (mesa_api == API_OPENGL in dri2CreateContextAttribs()
247 if (mesa_api != API_OPENGL in dri2CreateContextAttribs()
248 && mesa_api != API_OPENGL_CORE in dri2CreateContextAttribs()
[all …]
Ddrisw_util.c108 gl_api mesa_api; in driCreateContextAttribs() local
120 mesa_api = API_OPENGL; in driCreateContextAttribs()
123 mesa_api = API_OPENGLES; in driCreateContextAttribs()
126 mesa_api = API_OPENGLES2; in driCreateContextAttribs()
178 if (!driDriverAPI.CreateContext(mesa_api, modes, pcp, in driCreateContextAttribs()