Home
last modified time | relevance | path

Searched refs:clientVersion (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLQueryContextTest.cpp18 int clientVersion = GetParam().majorVersion; in testSetUp() local
34 clientVersion == 3 ? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT, in testSetUp()
39 EGLint ctxattrs[] = {EGL_CONTEXT_CLIENT_VERSION, clientVersion, EGL_NONE}; in testSetUp()
92 EGLint clientVersion; in TEST_P() local
93 EXPECT_TRUE(eglQueryContext(mDisplay, mContext, EGL_CONTEXT_CLIENT_VERSION, &clientVersion) != in TEST_P()
95 EXPECT_GE(clientVersion, GetParam().majorVersion); in TEST_P()
DEGLBufferAgeTest.cpp49 EGLint clientVersion = mMajorVersion == 3 ? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT; in chooseConfig() local
59 clientVersion, in chooseConfig()
286 EGLint clientVersion = mMajorVersion == 3 ? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT; in TEST_P() local
296 clientVersion, in TEST_P()
DEGLNoConfigContextTest.cpp27 int clientVersion = GetParam().majorVersion; in testSetUp() local
41 EGLint ctxattrs[] = {EGL_CONTEXT_CLIENT_VERSION, clientVersion, EGL_NONE}; in testSetUp()
DEGLPresentPathD3D11Test.cpp39 int clientVersion = GetParam().majorVersion; in initializeEGL() local
68 clientVersion == 3 ? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT, in initializeEGL()
76 EGLint contextAttribs[] = {EGL_CONTEXT_CLIENT_VERSION, clientVersion, EGL_NONE}; in initializeEGL()
DEGLMultiContextTest.cpp60 EGLint clientVersion = EGL_OPENGL_ES3_BIT; in chooseConfig() local
70 clientVersion, in chooseConfig()
DEGLProtectedContentTest.cpp53 EGLint clientVersion = mMajorVersion == 3 ? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT; in chooseConfig() local
63 clientVersion, in chooseConfig()
DEGLContextSharingTest.cpp106 EGLint clientVersion = mMajorVersion == 3 ? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT; in chooseConfig() local
116 clientVersion, in chooseConfig()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCaps.cpp65 const Version &clientVersion, in GenerateMinimumTextureCaps() argument
71 caps.texturable = internalFormatInfo.textureSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
72 caps.filterable = internalFormatInfo.filterSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
73 caps.textureAttachment = internalFormatInfo.textureAttachmentSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
74 caps.renderbuffer = internalFormatInfo.renderbufferSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
75 caps.blendable = internalFormatInfo.blendSupport(clientVersion, extensions); in GenerateMinimumTextureCaps()
78 if (internalFormatInfo.isRequiredRenderbufferFormat(clientVersion)) in GenerateMinimumTextureCaps()
80 if ((clientVersion.major >= 3 && clientVersion.minor >= 1) || in GenerateMinimumTextureCaps()
81 (clientVersion.major >= 3 && !internalFormatInfo.isInt())) in GenerateMinimumTextureCaps()
126 void InitMinimumTextureCapsMap(const Version &clientVersion, in InitMinimumTextureCapsMap() argument
[all …]
Dformatutils.cpp79 static bool RequireES(const Version &clientVersion, const Extensions &) in RequireES() argument
81 return clientVersion >= Version(minCoreGLMajorVersion, minCoreGLMinorVersion); in RequireES()
93 static bool RequireESOrExt(const Version &clientVersion, const Extensions &extensions) in RequireESOrExt() argument
95 return clientVersion >= Version(minCoreGLMajorVersion, minCoreGLMinorVersion) || in RequireESOrExt()
104 static bool RequireESOrExtAndExt(const Version &clientVersion, const Extensions &extensions) in RequireESOrExtAndExt() argument
106 return clientVersion >= Version(minCoreGLMajorVersion, minCoreGLMinorVersion) || in RequireESOrExtAndExt()
115 static bool RequireESOrExtOrExt(const Version &clientVersion, const Extensions &extensions) in RequireESOrExtOrExt() argument
117 return clientVersion >= Version(minCoreGLMajorVersion, minCoreGLMinorVersion) || in RequireESOrExtOrExt()
143 static bool SizedRGSupport(const Version &clientVersion, const Extensions &extensions) in SizedRGSupport() argument
145 return clientVersion >= Version(3, 0) || in SizedRGSupport()
[all …]
DvalidationES32.cpp348 Version clientVersion = context->getClientVersion(); in ValidateGetPointerv() local
350 if ((clientVersion == ES_1_0) || (clientVersion == ES_1_1)) in ValidateGetPointerv()
365 else if (clientVersion == ES_3_2) in ValidateGetPointerv()
DCaps.h59 const Version &clientVersion,
85 void InitMinimumTextureCapsMap(const Version &clientVersion,
388 Caps GenerateMinimumCaps(const Version &clientVersion, const Extensions &extensions);
DState.cpp337 const Version &clientVersion, in State() argument
349 mClientVersion(clientVersion),
427 const Version &clientVersion = context->getClientVersion(); in initialize() local
488 if (clientVersion >= Version(3, 0) || nativeExtensions.texture3DOES) in initialize()
492 if (clientVersion >= Version(3, 0)) in initialize()
496 if (clientVersion >= Version(3, 1) || nativeExtensions.textureMultisampleANGLE) in initialize()
500 if (clientVersion >= Version(3, 1)) in initialize()
509 if (clientVersion >= Version(3, 2) || mExtensions.textureCubeMapArrayAny()) in initialize()
513 if (clientVersion >= Version(3, 2) || mExtensions.textureBufferAny()) in initialize()
564 if (clientVersion < Version(2, 0) || mClientType == EGL_OPENGL_API) in initialize()
DvalidationES.cpp5274 int clientVersion = context->getClientMajorVersion(); in ValidateGetFramebufferAttachmentParameterivBase() local
5286 if (clientVersion < 3 || in ValidateGetFramebufferAttachmentParameterivBase()
5303 if (clientVersion < 3 && !context->getExtensions().sRGBEXT) in ValidateGetFramebufferAttachmentParameterivBase()
5318 if (clientVersion < 3) in ValidateGetFramebufferAttachmentParameterivBase()
5346 if (clientVersion < 3) in ValidateGetFramebufferAttachmentParameterivBase()
5354 if (clientVersion < 3 && !context->isWebGL1()) in ValidateGetFramebufferAttachmentParameterivBase()
5367 if ((clientVersion < 3 && !context->getExtensions().drawBuffersEXT) || in ValidateGetFramebufferAttachmentParameterivBase()
5383 if (clientVersion < 3) in ValidateGetFramebufferAttachmentParameterivBase()
5504 if (clientVersion < 3) in ValidateGetFramebufferAttachmentParameterivBase()
5513 if (clientVersion < 3) in ValidateGetFramebufferAttachmentParameterivBase()
DState.h97 const Version &clientVersion,
DContext.cpp3212 const Version &clientVersion = getClientVersion(); in initVersionStrings() local
3219 versionString << clientVersion.major << "." << clientVersion.minor << ".0 (ANGLE " in initVersionStrings()
3233 shadingLanguageVersionString << (clientVersion.major == 2 ? 1 : clientVersion.major) << "." in initVersionStrings()
3234 << clientVersion.minor << "0 (ANGLE " in initVersionStrings()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
DDisplay.cpp567 …play::createContext(EGLConfig configHandle, const egl::Context *shareContext, EGLint clientVersion) in createContext() argument
572 if((clientVersion == 2 && config->mRenderableType & EGL_OPENGL_ES2_BIT) || in createContext()
573 (clientVersion == 3 && config->mRenderableType & EGL_OPENGL_ES3_BIT)) in createContext()
DDisplay.h65 …GLContext createContext(EGLConfig configHandle, const Context *shareContext, EGLint clientVersion);
/third_party/vk-gl-cts/modules/egl/
DteglQueryContextTests.cpp265 const EGLint clientVersion = getContextAttrib(display, context, EGL_CONTEXT_CLIENT_VERSION); in executeForContext() local
268 if (clientVersion < getMinClientMajorVersion(config.apiBits)) in executeForContext()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DFramebufferTest.cpp101 int clientVersion = getClientMajorVersion(); in testRenderbufferMultisampleFormat() local
102 if (clientVersion < minESVersion) in testRenderbufferMultisampleFormat()
110 if (clientVersion == 2) in testRenderbufferMultisampleFormat()
121 assert(clientVersion >= 3); in testRenderbufferMultisampleFormat()