Home
last modified time | relevance | path

Searched refs:extensionName (Results 1 – 25 of 126) sorted by relevance

123456

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/
DvktSafetyCriticalApiTests.cpp142 const std::string extensionName(extension.extensionName); in forbiddenCoreExtensions() local
143 if(coreExtensions.find(extensionName)!= coreExtensions.end()) in forbiddenCoreExtensions()
144 TCU_THROW(TestError, extensionName + std::string(" extension is explicitly forbidden")); in forbiddenCoreExtensions()
329 const std::string extensionName(extension.extensionName); in allowedExtensions() local
332 if (extensionName.find("VK_KHR") != 0 && extensionName.find("VK_EXT") != 0) in allowedExtensions()
335 if(extensions.find(extensionName)==extensions.end()) in allowedExtensions()
336 TCU_THROW(TestError, extensionName + std::string(" extension is not allowed")); in allowedExtensions()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/
DvktSafetyCriticalApiTests.cpp142 const std::string extensionName(extension.extensionName); in forbiddenCoreExtensions() local
143 if(coreExtensions.find(extensionName)!= coreExtensions.end()) in forbiddenCoreExtensions()
144 TCU_THROW(TestError, extensionName + std::string(" extension is explicitly forbidden")); in forbiddenCoreExtensions()
329 const std::string extensionName(extension.extensionName); in allowedExtensions() local
332 if (extensionName.find("VK_KHR") != 0 && extensionName.find("VK_EXT") != 0) in allowedExtensions()
335 if(extensions.find(extensionName)==extensions.end()) in allowedExtensions()
336 TCU_THROW(TestError, extensionName + std::string(" extension is not allowed")); in allowedExtensions()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultiviewDrawTest.cpp188 if (!EnsureGLExtensionEnabled(extensionName())) in requestMultiviewExtension()
190 std::cout << "Test skipped due to missing " << extensionName() << "." << std::endl; in requestMultiviewExtension()
214 std::string extensionName() in extensionName() function in MultiviewFramebufferTestBase
545 extensionName() + in TEST_P()
571 extensionName() + in TEST_P()
596 extensionName() + in TEST_P()
628 extensionName() + in TEST_P()
636 extensionName() + in TEST_P()
972 extensionName() + in TEST_P()
993 extensionName() + in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DMultiviewDrawTest.cpp188 if (!EnsureGLExtensionEnabled(extensionName())) in requestMultiviewExtension()
190 std::cout << "Test skipped due to missing " << extensionName() << "." << std::endl; in requestMultiviewExtension()
214 std::string extensionName() in extensionName() function in MultiviewFramebufferTestBase
546 extensionName() + in TEST_P()
572 extensionName() + in TEST_P()
597 extensionName() + in TEST_P()
629 extensionName() + in TEST_P()
637 extensionName() + in TEST_P()
977 extensionName() + in TEST_P()
998 extensionName() + in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanExternalHelper.cpp79 const char *extensionName) in HasExtension() argument
83 if (!strcmp(extensionProperties.extensionName, extensionName)) in HasExtension()
90 bool HasExtension(const std::vector<const char *> enabledExtensions, const char *extensionName) in HasExtension() argument
94 if (!strcmp(enabledExtension, extensionName)) in HasExtension()
156 for (const char *extensionName : requestedInstanceExtensions) in initialize() local
158 if (HasExtension(instanceExtensionProperties, extensionName)) in initialize()
160 enabledInstanceExtensions.push_back(extensionName); in initialize()
211 for (const char *extensionName : requestedDeviceExtensions) in initialize() local
213 if (HasExtension(deviceExtensionProperties, extensionName)) in initialize()
215 enabledDeviceExtensions.push_back(extensionName); in initialize()
DMultiviewTest.h120 if (!EnsureGLExtensionEnabled(extensionName())) in requestMultiviewExtension()
122 std::cout << "Test skipped due to missing " << extensionName() << "." << std::endl; in requestMultiviewExtension()
147 std::string extensionName() in extensionName() function
/third_party/flutter/glfw/src/
Dvulkan.c109 if (strcmp(ep[i].extensionName, "VK_KHR_surface") == 0) in _glfwInitVulkan()
111 if (strcmp(ep[i].extensionName, "VK_KHR_win32_surface") == 0) in _glfwInitVulkan()
113 if (strcmp(ep[i].extensionName, "VK_KHR_xlib_surface") == 0) in _glfwInitVulkan()
115 if (strcmp(ep[i].extensionName, "VK_KHR_xcb_surface") == 0) in _glfwInitVulkan()
117 if (strcmp(ep[i].extensionName, "VK_KHR_wayland_surface") == 0) in _glfwInitVulkan()
119 if (strcmp(ep[i].extensionName, "VK_KHR_mir_surface") == 0) in _glfwInitVulkan()
/third_party/skia/tools/gpu/vk/
DVkTestUtils.cpp490 if (strncmp(instanceExtensions[i].extensionName, "VK_KHX", 6) != 0) { in CreateVkBackendContext()
491 instanceExtensionNames.push_back(instanceExtensions[i].extensionName); in CreateVkBackendContext()
654 if (!strcmp(deviceExtensions[i].extensionName, "VK_KHR_buffer_device_address")) { in CreateVkBackendContext()
664 if (0 != strncmp(deviceExtensions[i].extensionName, "VK_KHX", 6) && in CreateVkBackendContext()
665 0 != strncmp(deviceExtensions[i].extensionName, "VK_NVX", 6)) { in CreateVkBackendContext()
669 if (0 == strcmp(deviceExtensions[i].extensionName, "VK_NV_low_latency") || in CreateVkBackendContext()
670 0 == strcmp(deviceExtensions[i].extensionName, "VK_NV_acquire_winrt_display") || in CreateVkBackendContext()
671 0 == strcmp(deviceExtensions[i].extensionName, "VK_NV_cuda_kernel_launch") || in CreateVkBackendContext()
672 0 == strcmp(deviceExtensions[i].extensionName, "VK_EXT_provoking_vertex")) { in CreateVkBackendContext()
677 0 != strcmp(deviceExtensions[i].extensionName, "VK_EXT_buffer_device_address")) { in CreateVkBackendContext()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanHelper.cpp76 const char *extensionName) in HasExtension() argument
80 if (!strcmp(extensionProperties.extensionName, extensionName)) in HasExtension()
87 bool HasExtension(const std::vector<const char *> enabledExtensions, const char *extensionName) in HasExtension() argument
91 if (!strcmp(enabledExtension, extensionName)) in HasExtension()
213 for (const char *extensionName : requestedInstanceExtensions) in initialize() local
215 if (HasExtension(instanceExtensionProperties, extensionName)) in initialize()
217 enabledInstanceExtensions.push_back(extensionName); in initialize()
281 for (const char *extensionName : requestedDeviceExtensions) in initialize() local
283 if (HasExtension(deviceExtensionProperties, extensionName)) in initialize()
285 enabledDeviceExtensions.push_back(extensionName); in initialize()
DMultiviewTest.h123 if (!EnsureGLExtensionEnabled(extensionName())) in requestMultiviewExtension()
125 std::cout << "Test skipped due to missing " << extensionName() << "." << std::endl; in requestMultiviewExtension()
150 std::string extensionName() in extensionName() function
/third_party/vulkan-loader/tests/
Dloader_layer_tests.cpp517 EXPECT_TRUE(string_eq(extensions[0].extensionName, instance_ext_name)); in TEST()
560 EXPECT_TRUE(string_eq(extensions[0].extensionName, device_ext_name)); in TEST()
580 EXPECT_TRUE(string_eq(extensions[0].extensionName, device_ext_name)); in TEST()
1645 ASSERT_FALSE(string_eq(ext.extensionName, VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAME)); in TEST()
1646 ASSERT_FALSE(string_eq(ext.extensionName, VK_EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME)); in TEST()
1696 ASSERT_FALSE(string_eq(ext.extensionName, VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAME)); in TEST()
1697 ASSERT_FALSE(string_eq(ext.extensionName, VK_EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME)); in TEST()
1713 … if (!strcmp(extension_props[ext].extensionName, VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAME)) { in TEST()
1716 …ASSERT_NE(0, strcmp(extension_props[ext].extensionName, VK_EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_N… in TEST()
1769 …ASSERT_NE(0, strcmp(extension_props[ext].extensionName, VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAME)… in TEST()
[all …]
Dloader_regression_tests.cpp199 ASSERT_TRUE(first_ext.extensionName == extensions[0].extensionName); in TEST()
200 ASSERT_TRUE(second_ext.extensionName == extensions[1].extensionName); in TEST()
201 ASSERT_TRUE(string_eq("VK_EXT_debug_report", extensions[2].extensionName)); in TEST()
202 ASSERT_TRUE(string_eq("VK_EXT_debug_utils", extensions[3].extensionName)); in TEST()
203 ASSERT_TRUE(string_eq("VK_KHR_portability_enumeration", extensions[4].extensionName)); in TEST()
215 ASSERT_TRUE(first_ext.extensionName == extensions[0].extensionName); in TEST()
216 ASSERT_TRUE(second_ext.extensionName == extensions[1].extensionName); in TEST()
217 ASSERT_TRUE(string_eq("VK_EXT_debug_report", extensions[2].extensionName)); in TEST()
218 ASSERT_TRUE(string_eq("VK_EXT_debug_utils", extensions[3].extensionName)); in TEST()
219 ASSERT_TRUE(string_eq("VK_KHR_portability_enumeration", extensions[4].extensionName)); in TEST()
[all …]
/third_party/python/Lib/idlelib/
Dconfig.py471 def GetExtensionKeys(self, extensionName): argument
478 keysName = extensionName + '_cfgBindings'
489 def __GetRawExtensionKeys(self,extensionName): argument
496 keysName = extensionName+'_cfgBindings'
507 def GetExtensionBindings(self, extensionName): argument
514 bindsName = extensionName + '_bindings'
515 extBinds = self.GetExtensionKeys(extensionName)
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DOpenGLFunctions.cpp39 const char* extensionName = reinterpret_cast<const char*>(GetStringi(GL_EXTENSIONS, i)); in InitializeSupportedGLExtensions() local
40 mSupportedGLExtensionsSet.insert(extensionName); in InitializeSupportedGLExtensions()
/third_party/vulkan-loader/tests/framework/
Dtest_util.h617 BUILDER_VALUE(Extension, std::string, extensionName, {})
621 : extensionName(name), specVersion(specVersion) {} in BUILDER_VALUE()
622 Extension(std::string extensionName, uint32_t specVersion = VK_API_VERSION_1_0) noexcept
623 : extensionName(extensionName), specVersion(specVersion) {} in extensionName() function
627 … copy_string_to_char_array(extensionName, &props.extensionName[0], VK_MAX_EXTENSION_NAME_SIZE); in get()
841 return string_eq(a.extensionName, b.extensionName, 256) && a.specVersion == b.specVersion;
883 … [name](VkExtensionProperties const& elem) { return string_eq(name, elem.extensionName); }); in contains()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fAndroidExtensionPackES31ATests.cpp44 static std::string genExtensionTestName (const char* extensionName) in genExtensionTestName() argument
46 DE_ASSERT(deStringBeginsWith(extensionName, "GL_")); in genExtensionTestName()
47 return de::toLower(std::string(extensionName + 3)); in genExtensionTestName()
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp44 const char* extensionName) { in addFeature() argument
46 fVS.addFeature(featureBit, extensionName); in addFeature()
50 fGS.addFeature(featureBit, extensionName); in addFeature()
53 fFS.addFeature(featureBit, extensionName); in addFeature()
/third_party/flutter/skia/src/gpu/vk/
DGrVkExtensions.cpp93 int idx = find_info(fExtensions, extensions[i].extensionName); in getSpecVersions()
119 int idx = find_info(fExtensions, extensions[i].extensionName); in getSpecVersions()
/third_party/skia/src/gpu/vk/
DGrVkExtensions.cpp91 int idx = find_info(fExtensions, extensions[i].extensionName); in getSpecVersions()
117 int idx = find_info(fExtensions, extensions[i].extensionName); in getSpecVersions()
/third_party/flutter/skia/tools/gpu/vk/
DVkTestUtils.cpp475 if (strncmp(instanceExtensions[i].extensionName, "VK_KHX", 6)) { in CreateVkBackendContext()
476 instanceExtensionNames.push_back(instanceExtensions[i].extensionName); in CreateVkBackendContext()
637 if (strncmp(deviceExtensions[i].extensionName, "VK_KHX", 6) && in CreateVkBackendContext()
638 strncmp(deviceExtensions[i].extensionName, "VK_NVX", 6)) { in CreateVkBackendContext()
639 deviceExtensionNames.push_back(deviceExtensions[i].extensionName); in CreateVkBackendContext()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
DvktVideoTestUtils.cpp78 static VkExtensionProperties makeExtensionProperties(const char* extensionName, deUint32 specVersio… in makeExtensionProperties() argument
80 …const deUint32 extensionNameLen = static_cast<deUint32>(deStrnlen(extensionName, VK_MAX_EXTENSIO… in makeExtensionProperties()
85 deMemcpy(&result.extensionName, extensionName, extensionNameLen); in makeExtensionProperties()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
DvktVideoTestUtils.cpp78 static VkExtensionProperties makeExtensionProperties(const char* extensionName, deUint32 specVersio… in makeExtensionProperties() argument
80 …const deUint32 extensionNameLen = static_cast<deUint32>(deStrnlen(extensionName, VK_MAX_EXTENSIO… in makeExtensionProperties()
85 deMemcpy(&result.extensionName, extensionName, extensionNameLen); in makeExtensionProperties()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderGroupVoteTests.cpp248 std::string extensionName = isCoreGL ? "GL_ARB_shader_group_vote" : "GL_EXT_shader_group_vote"; in ShaderGroupVoteTestCaseBase() local
249 m_extensionSupported = context.getContextInfo().isExtensionSupported(extensionName.c_str()); in ShaderGroupVoteTestCaseBase()
251 extensionString << "#extension " + extensionName + " : enable"; in ShaderGroupVoteTestCaseBase()
/third_party/vk-gl-cts/external/vulkancts/scripts/
Dgen_framework_sc.py670 def parseDefinitions (extensionName, src): argument
672 def skipDefinition (extensionName, definition): argument
673 if extensionName == None:
675 extNameUpper = extensionName.upper()
695 …inition(None, match[0], match[1]) for match in matches if not skipDefinition(extensionName, match)]
708 for extensionName, data in additionalExtensionData:
715 registeredExtensionDict[extensionName] = [ data['register_extension']['type'] ]
718 …registeredExtensionDict[extensionName].extend( [ int(match.group(1)), int(match.group(2)), int(mat…
729 for extensionName, extensionSrc in splitSrc:
733 additionalDefinitions = parseDefinitions(extensionName, extensionSrc)
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DFunctionsWGL.cpp42 const std::string &extensionName, in GetWGLExtensionProcAddress() argument
47 if (std::find(extensions.begin(), extensions.end(), extensionName) != extensions.end()) in GetWGLExtensionProcAddress()

123456