Home
last modified time | relevance | path

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

/external/mesa3d/src/egl/main/
Deglcontext.c53 switch (ctx->ClientMajorVersion) { in _eglGetContextAPIBit()
127 ctx->ClientMajorVersion = val; in _eglParseContextAttribList()
338 ctx->ClientMajorVersion < 2) { in _eglParseContextAttribList()
432 if (ctx->ClientMajorVersion >= 4 in _eglParseContextAttribList()
433 || (ctx->ClientMajorVersion == 3 && ctx->ClientMinorVersion >= 2)) { in _eglParseContextAttribList()
476 if (ctx->ClientMajorVersion < 1 || ctx->ClientMinorVersion < 0) in _eglParseContextAttribList()
479 switch (ctx->ClientMajorVersion) { in _eglParseContextAttribList()
520 if (ctx->ClientMajorVersion < 1 || ctx->ClientMinorVersion < 0) in _eglParseContextAttribList()
523 switch (ctx->ClientMajorVersion) { in _eglParseContextAttribList()
605 ctx->ClientMajorVersion = 1; /* the default, per EGL spec */ in _eglInitContext()
[all …]
Deglcontext.h60 EGLint ClientMajorVersion; member
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c1406 ctx_attribs[pos++] = dri2_ctx->base.ClientMajorVersion; in dri2_fill_context_attribs()
1527 switch (dri2_ctx->base.ClientMajorVersion) { in dri2_create_context()
1544 if ((dri2_ctx->base.ClientMajorVersion >= 4 in dri2_create_context()
1545 || (dri2_ctx->base.ClientMajorVersion == 3 in dri2_create_context()
1549 else if (dri2_ctx->base.ClientMajorVersion == 3 && in dri2_create_context()