Home
last modified time | relevance | path

Searched refs:apiVersion (Results 1 – 25 of 217) sorted by relevance

123456789

/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkDeviceUtil.cpp42 deUint32 apiVersion, in createDefaultInstance() argument
80 apiVersion // apiVersion in createDefaultInstance()
100 Move<VkInstance> createDefaultInstance (const PlatformInterface& vkPlatform, deUint32 apiVersion) in createDefaultInstance() argument
102 …return createDefaultInstance(vkPlatform, apiVersion, vector<string>(), vector<string>(), nullptr, … in createDefaultInstance()
126 if (props.apiVersion > maxReportedApiVersion) in chooseDeviceIndex()
128 maxReportedApiVersion = props.apiVersion; in chooseDeviceIndex()
DvkDeviceProperties.cpp30 const deUint32 apiVersion, in DeviceProperties() argument
39 …if (isInstanceExtensionSupported(apiVersion, instanceExtensions, "VK_KHR_get_physical_device_prope… in DeviceProperties()
45 bool vk11Supported = (apiVersion >= VK_MAKE_VERSION(1, 1, 0)); in DeviceProperties()
46 bool vk12Supported = (apiVersion >= VK_MAKE_VERSION(1, 2, 0)); in DeviceProperties()
DvkQueryUtil.cpp46 void getCoreInstanceExtensions(deUint32 apiVersion, vector<const char*>& dst) in getCoreInstanceExtensions() argument
48 getCoreInstanceExtensionsImpl(apiVersion, dst); in getCoreInstanceExtensions()
51 void getCoreDeviceExtensions(deUint32 apiVersion, vector<const char*>& dst) in getCoreDeviceExtensions() argument
53 getCoreDeviceExtensionsImpl(apiVersion, dst); in getCoreDeviceExtensions()
56 bool isCoreInstanceExtension(const deUint32 apiVersion, const std::string& extension) in isCoreInstanceExtension() argument
59 getCoreInstanceExtensions(apiVersion, coreExtensions); in isCoreInstanceExtension()
66 bool isCoreDeviceExtension(const deUint32 apiVersion, const std::string& extension) in isCoreDeviceExtension() argument
69 getCoreDeviceExtensions(apiVersion, coreExtensions); in isCoreDeviceExtension()
DvkDeviceUtil.hpp42 deUint32 apiVersion);
45 deUint32 apiVersion,
DvkDeviceFeatures.cpp30 const deUint32 apiVersion, in DeviceFeatures() argument
46 …if (isInstanceExtensionSupported(apiVersion, instanceExtensions, "VK_KHR_get_physical_device_prope… in DeviceFeatures()
51 bool vk12Supported = (apiVersion >= VK_MAKE_VERSION(1, 2, 0)); in DeviceFeatures()
DvkQueryUtil.hpp38 void getCoreInstanceExtensions (deUint32 apiVersion, std::vector<const char*>& dst);
39 void getCoreDeviceExtensions (deUint32 apiVersion, std::vector<const char*>& dst);
40 bool isCoreInstanceExtension (const deUint32 apiVersion, const std::string& extensi…
41 bool isCoreDeviceExtension (const deUint32 apiVersion, const std::string& extension…
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiVersionCheck.cpp135 const deUint32 apiVersion = m_context.getUsedApiVersion(); in iterate() local
209 …CustomInstanceWithExtensions(m_context, getSupportedInstanceExtensions(apiVersion), DE_NULL, false… in iterate()
210 …device = createTestDevice(m_context, instance, getSupportedDeviceExtensions(apiVersion), false); in iterate()
225 if (isSupportedInstanceExt(instanceExtensionNames[instanceExtNdx], apiVersion)) in iterate()
227 …getInstanceExtensionFunctions(apiVersion, instanceExtensionNames[instanceExtNdx], instanceExtFunct… in iterate()
228 …getDeviceExtensionFunctions(apiVersion, instanceExtensionNames[instanceExtNdx], deviceExtFunctions… in iterate()
243 if (isSupportedDeviceExt(deviceExtensionNames[deviceExtNdx], apiVersion)) in iterate()
244 … getDeviceExtensionFunctions(apiVersion, deviceExtensionNames[deviceExtNdx], deviceExtFunctions); in iterate()
303 vector<string> getSupportedInstanceExtensions (const deUint32 apiVersion) in getSupportedInstanceExtensions() argument
310 if (!isCoreInstanceExtension(apiVersion, enumeratedExtensions[extNdx].extensionName)) in getSupportedInstanceExtensions()
[all …]
DvktApiDeviceInitializationTests.cpp72 const deUint32 apiVersion = context.getUsedApiVersion(); in createInstanceTest() local
86 apiVersion, // deUint32 apiVersion; in createInstanceTest()
103 apiVersion, // deUint32 apiVersion; in createInstanceTest()
120 apiVersion, // deUint32 apiVersion; in createInstanceTest()
137 apiVersion, // deUint32 apiVersion; in createInstanceTest()
142 const deUint32 manjorNum = unpackVersion(apiVersion).majorNum; in createInstanceTest()
143 const deUint32 minorNum = unpackVersion(apiVersion).minorNum; in createInstanceTest()
219 const ApiVersion apiVersion = unpackVersion(instanceApiVersion); in createInstanceWithInvalidApiVersionTest() local
225 …invalidApiVersions.push_back(ApiVersion(invalidMajorVersion, apiVersion.minorNum, apiVersion.patch… in createInstanceWithInvalidApiVersionTest()
226 …invalidApiVersions.push_back(ApiVersion(apiVersion.majorNum, invalidMinorVersion, apiVersion.patch… in createInstanceWithInvalidApiVersionTest()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
DBasicTests.cpp64 uint32_t apiVersion = 0; in TEST_F() local
66 VkResult result = driver.vkEnumerateInstanceVersion(&apiVersion); in TEST_F()
67 EXPECT_EQ(apiVersion, expectedVersion); in TEST_F()
97 EXPECT_EQ(physicalDeviceProperties.apiVersion, expectedVersion); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanInfo.cpp68 info.apiVersion = VK_MAKE_VERSION(1, 0, 0); in GatherGlobalInfo()
70 DAWN_TRY(CheckVkSuccess(vkFunctions.EnumerateInstanceVersion(&info.apiVersion), in GatherGlobalInfo()
107 MarkPromotedExtensions(&info.extensions, info.apiVersion); in GatherGlobalInfo()
114 MarkPromotedExtensions(&info.layerExtensions[layer], info.apiVersion); in GatherGlobalInfo()
210 MarkPromotedExtensions(&info.extensions, info.properties.apiVersion); in GatherDeviceInfo()
212 info.properties.apiVersion); in GatherDeviceInfo()
256 ASSERT(info.properties.apiVersion != 0); in GatherDeviceInfo()
DBackendVk.cpp301 if (info.versionPromoted > mGlobalInfo.apiVersion) { in CreateVkInstance()
319 if (mGlobalInfo.apiVersion == VK_MAKE_VERSION(1, 0, 0)) { in CreateVkInstance()
320 appInfo.apiVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkInstance()
322 appInfo.apiVersion = VK_MAKE_VERSION(1, 2, 0); in CreateVkInstance()
DVulkanFunctions.cpp93 if (globalInfo.apiVersion >= VK_MAKE_VERSION(1, 1, 0)) { in LoadInstanceProcs()
99 if (globalInfo.apiVersion >= VK_MAKE_VERSION(1, 1, 0)) { in LoadInstanceProcs()
105 if (globalInfo.apiVersion >= VK_MAKE_VERSION(1, 1, 0)) { in LoadInstanceProcs()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktTestCase.cpp165 …Uint32> determineDeviceVersions(const PlatformInterface& vkp, deUint32 apiVersion, const tcu::Comm… in determineDeviceVersions() argument
167 Move<VkInstance> preinstance = createDefaultInstance(vkp, apiVersion); in determineDeviceVersions()
175 if (props.apiVersion < lowestDeviceVersion) in determineDeviceVersions()
176 lowestDeviceVersion = props.apiVersion; in determineDeviceVersions()
181 const deUint32 choosenDeviceVersion = props.apiVersion; in determineDeviceVersions()
187 Move<VkInstance> createInstance (const PlatformInterface& vkp, deUint32 apiVersion, const vector<st… in createInstance() argument
195 getCoreInstanceExtensions(apiVersion, coreExtensions); in createInstance()
208 …return createDefaultInstance(vkp, apiVersion, vector<string>(begin(enabledLayers), end(enabledLaye… in createInstance()
228 const deUint32 apiVersion, in createDefaultDevice() argument
255 getCoreDeviceExtensions(apiVersion, coreExtensions); in createDefaultDevice()
[all …]
DvktCustomInstancesDevices.cpp240 const deUint32 apiVersion = context.getUsedApiVersion(); in createCustomInstanceWithExtensions() local
253 if (!vk::isCoreInstanceExtension(apiVersion, ext)) in createCustomInstanceWithExtensions()
264 if (!vk::isInstanceExtensionSupported(apiVersion, availableExtensionNames, ext)) in createCustomInstanceWithExtensions()
274 …Move<VkInstance> instance = vk::createDefaultInstance(vkp, apiVersion, enabledLayersStr, usedExten… in createCustomInstanceWithExtensions()
/third_party/flutter/skia/tests/
DVkPriorityExtensionTest.cpp79 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in DEF_GPUTEST() local
85 apiVersion = VK_MAKE_VERSION(1, 1, 0); in DEF_GPUTEST()
88 instanceVersion = SkTMin(instanceVersion, apiVersion); in DEF_GPUTEST()
101 apiVersion, // apiVersion in DEF_GPUTEST()
/third_party/skia/tests/
DVkPriorityExtensionTest.cpp79 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in DEF_GPUTEST() local
85 apiVersion = VK_MAKE_VERSION(1, 1, 0); in DEF_GPUTEST()
88 instanceVersion = std::min(instanceVersion, apiVersion); in DEF_GPUTEST()
101 apiVersion, // apiVersion in DEF_GPUTEST()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Ddriver_utils.cpp148 char apiVersion[PROP_VALUE_MAX]; in GetAndroidSDKVersion() local
149 int length = __system_property_get("ro.build.version.sdk", apiVersion); in GetAndroidSDKVersion()
154 return atoi(apiVersion); in GetAndroidSDKVersion()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRendererVk.cpp682 applicationInfo.apiVersion = VK_API_VERSION_1_0; in initialize()
686 uint32_t apiVersion = VK_API_VERSION_1_0; in initialize() local
687 ANGLE_VK_TRY(displayVk, enumerateInstanceVersion(&apiVersion)); in initialize()
688 if ((VK_VERSION_MAJOR(apiVersion) > 1) || (VK_VERSION_MINOR(apiVersion) >= 1)) in initialize()
691 applicationInfo.apiVersion = kPreferredVulkanAPIVersion; in initialize()
696 applicationInfo.apiVersion = VK_API_VERSION_1_0; in initialize()
899 (mPhysicalDeviceProperties.apiVersion < VK_MAKE_VERSION(1, 1, 0))) in initializeDevice()
1097 uint32_t apiVersion = mPhysicalDeviceProperties.apiVersion; in getRendererDescription() local
1100 strstr << VK_VERSION_MAJOR(apiVersion) << "."; in getRendererDescription()
1101 strstr << VK_VERSION_MINOR(apiVersion) << "."; in getRendererDescription()
[all …]
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkInstanceDriverImpl.inl74 if (props.apiVersion >= VK_API_VERSION_1_1)
84 if (props.apiVersion >= VK_API_VERSION_1_1)
94 if (props.apiVersion >= VK_API_VERSION_1_1)
104 if (props.apiVersion >= VK_API_VERSION_1_1)
114 if (props.apiVersion >= VK_API_VERSION_1_1)
124 if (props.apiVersion >= VK_API_VERSION_1_1)
134 if (props.apiVersion >= VK_API_VERSION_1_1)
144 if (props.apiVersion >= VK_API_VERSION_1_1)
154 if (props.apiVersion >= VK_API_VERSION_1_1)
164 if (props.apiVersion >= VK_API_VERSION_1_1)
/third_party/skia/tools/gpu/vk/
DVkTestUtils.cpp450 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkBackendContext() local
456 apiVersion = VK_MAKE_VERSION(1, 1, 0); in CreateVkBackendContext()
459 instanceVersion = std::min(instanceVersion, apiVersion); in CreateVkBackendContext()
472 apiVersion, // apiVersion in CreateVkBackendContext()
575 uint32_t physDeviceVersion = std::min(physDeviceProperties.apiVersion, apiVersion); in CreateVkBackendContext()
786 ctx->fMaxAPIVersion = apiVersion; in CreateVkBackendContext()
/third_party/flutter/skia/tools/gpu/vk/
DVkTestUtils.cpp435 uint32_t apiVersion = VK_MAKE_VERSION(1, 0, 0); in CreateVkBackendContext() local
441 apiVersion = VK_MAKE_VERSION(1, 1, 0); in CreateVkBackendContext()
444 instanceVersion = SkTMin(instanceVersion, apiVersion); in CreateVkBackendContext()
457 apiVersion, // apiVersion in CreateVkBackendContext()
560 int physDeviceVersion = SkTMin(physDeviceProperties.apiVersion, apiVersion); in CreateVkBackendContext()
746 ctx->fMaxAPIVersion = apiVersion; in CreateVkBackendContext()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Ddriver_utils.cpp177 char apiVersion[PROP_VALUE_MAX]; in GetAndroidSDKVersion() local
178 int length = __system_property_get("ro.build.version.sdk", apiVersion); in GetAndroidSDKVersion()
183 return atoi(apiVersion); in GetAndroidSDKVersion()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_mem_alloc_wrapper.cpp19 uint32_t apiVersion, in InitAllocator() argument
64 allocatorInfo.vulkanApiVersion = apiVersion; in InitAllocator()
/third_party/flutter/engine/flutter/vulkan/
Dvulkan_application.cc78 .apiVersion = api_version_, in VulkanApplication()
88 .apiVersion = api_version_, in VulkanApplication()
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Demulator.dart181 .map<int>((String apiVersion) => int.parse(apiVersion))
185 final int apiVersion = availableApiVersions.isNotEmpty
192 (String id) => id.contains(';android-$apiVersion;'),

123456789