Home
last modified time | relevance | path

Searched refs:ClientMajorVersion (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/egl/main/
Deglcontext.c52 switch (ctx->ClientMajorVersion) { in _eglGetContextAPIBit()
102 ctx->ClientMajorVersion = val; in _eglParseContextAttribList()
220 if (ctx->ClientMajorVersion >= 4 in _eglParseContextAttribList()
221 || (ctx->ClientMajorVersion == 3 && ctx->ClientMinorVersion >= 2)) { in _eglParseContextAttribList()
264 if (ctx->ClientMajorVersion < 1 || ctx->ClientMinorVersion < 0) in _eglParseContextAttribList()
267 switch (ctx->ClientMajorVersion) { in _eglParseContextAttribList()
308 if (ctx->ClientMajorVersion < 1 || ctx->ClientMinorVersion < 0) in _eglParseContextAttribList()
311 switch (ctx->ClientMajorVersion) { in _eglParseContextAttribList()
373 ctx->ClientMajorVersion = 1; /* the default, per EGL spec */ in _eglInitContext()
430 *value = c->ClientMajorVersion; in _eglQueryContext()
Deglcontext.h55 EGLint ClientMajorVersion; member
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c735 switch (dri2_ctx->base.ClientMajorVersion) { in dri2_create_context()
749 if ((dri2_ctx->base.ClientMajorVersion >= 4 in dri2_create_context()
750 || (dri2_ctx->base.ClientMajorVersion == 3 in dri2_create_context()
791 ctx_attribs[num_attribs++] = dri2_ctx->base.ClientMajorVersion; in dri2_create_context()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d_api.c56 switch (ctx->ClientMajorVersion) { in egl_g3d_choose_st()
67 ctx->ClientMajorVersion); in egl_g3d_choose_st()