Home
last modified time | relevance | path

Searched refs:majorVersion (Results 1 – 25 of 222) sorted by relevance

123456789

/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_context.c76 int majorVersion = 1, minorVersion = 0, layerPlane = 0; in wglCreateContextAttribsARB() local
89 majorVersion = attribList[++i]; in wglCreateContextAttribsARB()
130 if (majorVersion <= 0 || in wglCreateContextAttribsARB()
133 ((majorVersion == 1 && minorVersion > 5) || in wglCreateContextAttribsARB()
134 (majorVersion == 2 && minorVersion > 1) || in wglCreateContextAttribsARB()
135 (majorVersion == 3 && minorVersion > 3) || in wglCreateContextAttribsARB()
136 (majorVersion == 4 && minorVersion > 5) || in wglCreateContextAttribsARB()
137 majorVersion > 4)) || in wglCreateContextAttribsARB()
139 ((majorVersion == 1 && minorVersion > 1) || in wglCreateContextAttribsARB()
140 (majorVersion == 2 && minorVersion > 0) || in wglCreateContextAttribsARB()
[all …]
/third_party/curl/lib/
Dversion_win32.c51 bool curlx_verify_windows_version(const unsigned int majorVersion, in curlx_verify_windows_version() argument
61 const WORD fullVersion = MAKEWORD(minorVersion, majorVersion); in curlx_verify_windows_version()
102 if(osver.dwMajorVersion < majorVersion || in curlx_verify_windows_version()
103 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
109 if(osver.dwMajorVersion < majorVersion || in curlx_verify_windows_version()
110 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
116 if(osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
122 if(osver.dwMajorVersion > majorVersion || in curlx_verify_windows_version()
123 (osver.dwMajorVersion == majorVersion && in curlx_verify_windows_version()
129 if(osver.dwMajorVersion > majorVersion || in curlx_verify_windows_version()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglCreateContextExtTests.cpp206 EGLint majorVersion = 1; in attribListToContextType() local
218 majorVersion = (*iter); in attribListToContextType()
271 return glu::ContextType(majorVersion, minorVersion, profile, flags); in attribListToContextType()
446 int majorVersion = 0; in checkVersionString() local
487 if (majorVersion == 0 && val == 0) in checkVersionString()
493 majorVersion = majorVersion * 10 + val; in checkVersionString()
540 if (majorVersion < major) in checkVersionString()
545 else if (majorVersion == major && minorVersion < minor) in checkVersionString()
550 else if (majorVersion == major && minorVersion == minor) in checkVersionString()
555 if (majorVersion == 3 && minorVersion == 1) in checkVersionString()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/
DEGLPlatformParameters.h27 EGLint majorVersion, in EGLPlatformParameters()
31 majorVersion(majorVersion), in EGLPlatformParameters()
37 EGLint majorVersion, in EGLPlatformParameters()
42 majorVersion(majorVersion), in EGLPlatformParameters()
50 return std::tie(renderer, majorVersion, minorVersion, deviceType, presentPath, in tie()
55 EGLint majorVersion = EGL_DONT_CARE; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Ddriver_utils.cpp191 : majorVersion(major), minorVersion(minor), patchVersion(patch) in OSVersion()
196 return std::tie(a.majorVersion, a.minorVersion, a.patchVersion) == in operator ==()
197 std::tie(b.majorVersion, b.minorVersion, b.patchVersion); in operator ==()
201 return std::tie(a.majorVersion, a.minorVersion, a.patchVersion) != in operator !=()
202 std::tie(b.majorVersion, b.minorVersion, b.patchVersion); in operator !=()
206 return std::tie(a.majorVersion, a.minorVersion, a.patchVersion) < in operator <()
207 std::tie(b.majorVersion, b.minorVersion, b.patchVersion); in operator <()
211 return std::tie(a.majorVersion, a.minorVersion, a.patchVersion) >= in operator >=()
212 std::tie(b.majorVersion, b.minorVersion, b.patchVersion); in operator >=()
267 int majorVersion = 0, minorVersion = 0, patchVersion = 0; in GetLinuxOSVersion() local
[all …]
/third_party/skia/third_party/externals/angle2/util/
DEGLPlatformParameters.h38 EGLint majorVersion, in EGLPlatformParameters()
42 majorVersion(majorVersion), in EGLPlatformParameters()
48 EGLint majorVersion, in EGLPlatformParameters()
53 majorVersion(majorVersion), in EGLPlatformParameters()
61 return std::tie(renderer, majorVersion, minorVersion, deviceType, presentPath, in tie()
75 EGLint majorVersion = EGL_DONT_CARE; member
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Ddriver_utils.cpp162 : majorVersion(major), minorVersion(minor), patchVersion(patch) in OSVersion()
167 return std::tie(a.majorVersion, a.minorVersion, a.patchVersion) == in operator ==()
168 std::tie(b.majorVersion, b.minorVersion, b.patchVersion); in operator ==()
172 return std::tie(a.majorVersion, a.minorVersion, a.patchVersion) != in operator !=()
173 std::tie(b.majorVersion, b.minorVersion, b.patchVersion); in operator !=()
177 return std::tie(a.majorVersion, a.minorVersion, a.patchVersion) < in operator <()
178 std::tie(b.majorVersion, b.minorVersion, b.patchVersion); in operator <()
182 return std::tie(a.majorVersion, a.minorVersion, a.patchVersion) >= in operator >=()
183 std::tie(b.majorVersion, b.minorVersion, b.patchVersion); in operator >=()
/third_party/flutter/skia/third_party/externals/dawn/generator/templates/opengl/
DOpenGLFunctionsBase.cpp28 MaybeError OpenGLFunctionsBase::LoadOpenGLESProcs(GetProcAddress getProc, int majorVersion, int min… in LoadOpenGLESProcs() argument
31 …if (majorVersion > {{block.version.major}} || (majorVersion == {{block.version.major}} && minorVer… in LoadOpenGLESProcs()
41 MaybeError OpenGLFunctionsBase::LoadDesktopGLProcs(GetProcAddress getProc, int majorVersion, int mi…
44 …if (majorVersion > {{block.version.major}} || (majorVersion == {{block.version.major}} && minorVer…
/third_party/skia/third_party/externals/dawn/generator/templates/opengl/
DOpenGLFunctionsBase.cpp28 MaybeError OpenGLFunctionsBase::LoadOpenGLESProcs(GetProcAddress getProc, int majorVersion, int min… in LoadOpenGLESProcs() argument
31 …if (majorVersion > {{block.version.major}} || (majorVersion == {{block.version.major}} && minorVer… in LoadOpenGLESProcs()
49 MaybeError OpenGLFunctionsBase::LoadDesktopGLProcs(GetProcAddress getProc, int majorVersion, int mi…
52 …if (majorVersion > {{block.version.major}} || (majorVersion == {{block.version.major}} && minorVer…
/third_party/skia/third_party/externals/dawn/src/common/
DSystemUtils_mac.mm21 void GetMacOSVersion(int32_t* majorVersion, int32_t* minorVersion) {
23 ASSERT(majorVersion != nullptr);
24 *majorVersion = version.majorVersion;
30 bool IsMacOSVersionAtLeast(uint32_t majorVersion, uint32_t minorVersion) {
32 [NSProcessInfo.processInfo isOperatingSystemAtLeastVersion:{majorVersion, minorVersion, 0}];
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_expectations/
DGPUTestConfig.cpp31 inline bool OperatingSystemVersionNumbers(int32_t *majorVersion, int32_t *minorVersion) in OperatingSystemVersionNumbers() argument
42 *majorVersion = sSavedMajorVersion; in OperatingSystemVersionNumbers()
49 *majorVersion = sSavedMajorVersion; in OperatingSystemVersionNumbers()
61 *majorVersion = sSavedMajorVersion; in OperatingSystemVersionNumbers()
77 inline bool IsWinVersion(const int32_t majorVersion) in IsWinVersion() argument
85 if (currentMajorVersion == majorVersion) in IsWinVersion()
95 inline bool IsWinVersion(const int32_t majorVersion, const int32_t minorVersion) in IsWinVersion() argument
103 if (currentMajorVersion == majorVersion && currentMinorVersion == minorVersion) in IsWinVersion()
173 inline bool IsMacVersion(const int32_t majorVersion, const int32_t minorVersion) in IsMacVersion() argument
181 if (currentMajorVersion == majorVersion && currentMinorVersion == minorVersion) in IsMacVersion()
DGPUTestConfig_mac.mm24 void GetOperatingSystemVersionNumbers(int32_t *majorVersion, int32_t *minorVersion)
27 Gestalt(gestaltSystemVersionMajor, reinterpret_cast<SInt32 *>(majorVersion));
33 *majorVersion = static_cast<int32_t>(version.majorVersion);
39 *majorVersion = 10;
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DMultiviewTest.h65 MultiviewImplementationParams(GLint majorVersion, in MultiviewImplementationParams()
70 : PlatformParameters(majorVersion, minorVersion, eglPlatformParameters), in MultiviewImplementationParams()
79 MultiviewImplementationParams VertexShaderOpenGL(GLint majorVersion,
82 MultiviewImplementationParams VertexShaderVulkan(GLint majorVersion,
85 MultiviewImplementationParams VertexShaderD3D11(GLint majorVersion,
88 MultiviewImplementationParams GeomShaderD3D11(GLint majorVersion,
DMultiviewTest.cpp242 MultiviewImplementationParams VertexShaderOpenGL(GLint majorVersion, in VertexShaderOpenGL() argument
246 return MultiviewImplementationParams(majorVersion, minorVersion, false, egl_platform::OPENGL(), in VertexShaderOpenGL()
250 MultiviewImplementationParams VertexShaderVulkan(GLint majorVersion, in VertexShaderVulkan() argument
254 return MultiviewImplementationParams(majorVersion, minorVersion, false, egl_platform::VULKAN(), in VertexShaderVulkan()
258 MultiviewImplementationParams VertexShaderD3D11(GLint majorVersion, in VertexShaderD3D11() argument
262 return MultiviewImplementationParams(majorVersion, minorVersion, false, egl_platform::D3D11(), in VertexShaderD3D11()
266 MultiviewImplementationParams GeomShaderD3D11(GLint majorVersion, in GeomShaderD3D11() argument
270 return MultiviewImplementationParams(majorVersion, minorVersion, true, egl_platform::D3D11(), in GeomShaderD3D11()
Dangle_test_instantiate.cpp50 EGLWindow *eglWindow = EGLWindow::New(param.majorVersion, param.minorVersion); in IsAngleEGLConfigSupported()
66 WGLWindow *wglWindow = WGLWindow::New(param.majorVersion, param.minorVersion); in IsSystemWGLConfigSupported()
87 EGLWindow *eglWindow = EGLWindow::New(param.majorVersion, param.minorVersion); in IsSystemEGLConfigSupported()
457 if (param.eglParameters.majorVersion == 3 && in IsConfigAllowlisted()
489 if (param.majorVersion == 3 && param.minorVersion > 0) in IsConfigAllowlisted()
519 if (param.majorVersion > 2 && IsARM()) in IsConfigAllowlisted()
538 if (param.majorVersion > 2) in IsConfigAllowlisted()
581 if (param.eglParameters.majorVersion == 3 && param.eglParameters.minorVersion == 2) in IsConfigAllowlisted()
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/
DGPUTestConfig_mac.mm26 void GetOperatingSystemVersionNumbers(int32_t *majorVersion, int32_t *minorVersion)
29 Gestalt(gestaltSystemVersionMajor, reinterpret_cast<SInt32 *>(majorVersion));
35 *majorVersion = static_cast<int32_t>(version.majorVersion);
41 *majorVersion = 10;
DGPUTestConfig_ios.mm18 void GetOperatingSystemVersionNumbers(int32_t *majorVersion, int32_t *minorVersion)
21 *majorVersion = static_cast<int32_t>(version.majorVersion);
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DRendererTest.cpp83 if (platform.majorVersion >= 11 || platform.majorVersion == EGL_DONT_CARE) in TEST_P()
89 if (platform.majorVersion >= 10 || platform.majorVersion == EGL_DONT_CARE) in TEST_P()
104 if (platform.majorVersion == 9 && platform.minorVersion == 3) in TEST_P()
131 EGLint glesMajorVersion = GetParam().majorVersion; in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DRendererTest.cpp83 if (platform.majorVersion >= 11 || platform.majorVersion == EGL_DONT_CARE) in TEST_P()
89 if (platform.majorVersion >= 10 || platform.majorVersion == EGL_DONT_CARE) in TEST_P()
104 if (platform.majorVersion == 9 && platform.minorVersion == 3) in TEST_P()
131 EGLint glesMajorVersion = GetParam().majorVersion; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DOpenGLFunctions.cpp53 bool OpenGLFunctions::IsAtLeastGL(uint32_t majorVersion, uint32_t minorVersion) const { in IsAtLeastGL() argument
54 return mVersion.IsDesktop() && mVersion.IsAtLeast(majorVersion, minorVersion); in IsAtLeastGL()
57 bool OpenGLFunctions::IsAtLeastGLES(uint32_t majorVersion, uint32_t minorVersion) const { in IsAtLeastGLES() argument
58 return mVersion.IsES() && mVersion.IsAtLeast(majorVersion, minorVersion); in IsAtLeastGLES()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DMultiviewTest.h65 MultiviewImplementationParams(GLint majorVersion, in MultiviewImplementationParams()
70 : PlatformParameters(majorVersion, minorVersion, eglPlatformParameters), in MultiviewImplementationParams()
79 MultiviewImplementationParams VertexShaderOpenGL(GLint majorVersion,
82 MultiviewImplementationParams VertexShaderD3D11(GLint majorVersion,
85 MultiviewImplementationParams GeomShaderD3D11(GLint majorVersion,
DMultiviewTest.cpp242 MultiviewImplementationParams VertexShaderOpenGL(GLint majorVersion, in VertexShaderOpenGL() argument
246 return MultiviewImplementationParams(majorVersion, minorVersion, false, egl_platform::OPENGL(), in VertexShaderOpenGL()
250 MultiviewImplementationParams VertexShaderD3D11(GLint majorVersion, in VertexShaderD3D11() argument
254 return MultiviewImplementationParams(majorVersion, minorVersion, false, egl_platform::D3D11(), in VertexShaderD3D11()
258 MultiviewImplementationParams GeomShaderD3D11(GLint majorVersion, in GeomShaderD3D11() argument
262 return MultiviewImplementationParams(majorVersion, minorVersion, true, egl_platform::D3D11(), in GeomShaderD3D11()
Dangle_test_configs.cpp17 PlatformParameters::PlatformParameters(EGLint majorVersion, in PlatformParameters() argument
23 majorVersion(majorVersion), in PlatformParameters()
29 PlatformParameters::PlatformParameters(EGLint majorVersion, in PlatformParameters() argument
32 : driver(driver), noFixture(false), majorVersion(majorVersion), minorVersion(minorVersion) in PlatformParameters()
65 stream << "ES" << pp.majorVersion << "_"; in operator <<()
115 if (pp.eglParameters.majorVersion != EGL_DONT_CARE) in operator <<()
117 stream << "_" << pp.eglParameters.majorVersion; in operator <<()
Dangle_test_instantiate.cpp40 EGLWindow *eglWindow = EGLWindow::New(param.majorVersion, param.minorVersion); in IsANGLEConfigSupported()
55 WGLWindow *wglWindow = WGLWindow::New(param.majorVersion, param.minorVersion); in IsWGLConfigSupported()
259 if (param.eglParameters.majorVersion == 3 && in IsConfigWhitelisted()
287 if (param.majorVersion == 3 && param.minorVersion > 0) in IsConfigWhitelisted()
315 if (param.majorVersion > 2) in IsConfigWhitelisted()
351 if (param.eglParameters.majorVersion == 3 && param.eglParameters.minorVersion == 2) in IsConfigWhitelisted()
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DShader.cpp133 …Shader::Instruction::Instruction(const unsigned long *token, int size, unsigned char majorVersion)… in Instruction() argument
135 parseOperationToken(*token++, majorVersion); in Instruction()
148 if(size > 0) parseSourceToken(0, token++, majorVersion); in Instruction()
149 if(size > 1) parseSourceToken(1, token++, majorVersion); in Instruction()
150 if(size > 2) parseSourceToken(2, token++, majorVersion); in Instruction()
156 parseDestinationToken(token++, majorVersion); in Instruction()
162 parseDestinationToken(token, majorVersion); in Instruction()
164 if(dst.rel.type != PARAMETER_VOID && majorVersion >= 3) in Instruction()
187 parseSourceToken(i, token, majorVersion); in Instruction()
192 if(src[i].rel.type != PARAMETER_VOID && majorVersion >= 2) in Instruction()
[all …]

123456789