Home
last modified time | relevance | path

Searched refs:VK_CALL (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/graphics/jni/
DVulkanTestHelpers.cpp35 #define VK_CALL(a) ASSERT(VK_SUCCESS == (a)) macro
116 VK_CALL(vkCreateInstance(&createInfo, nullptr, &mInstance)); in init()
195 VK_CALL(vkCreateDevice(mGpu, &deviceCreateInfo, nullptr, &mDevice)); in init()
297 VK_CALL(mInit->mPfnGetAndroidHardwareBufferProperties(mInit->device(), buffer, &properties)); in init()
331 VK_CALL(vkCreateImage(mInit->device(), &createInfo, nullptr, &mImage)); in init()
352 VK_CALL(vkAllocateMemory(mInit->device(), &allocateInfo, nullptr, &mMemory)); in init()
360 VK_CALL(mInit->mPfnBindImageMemory2(mInit->device(), 1, &bindImageInfo)); in init()
392 VK_CALL(mInit->mPfnCreateSamplerYcbcrConversion(mInit->device(), &conversionCreateInfo, nullptr, in init()
421 VK_CALL( in init()
439 VK_CALL(vkCreateImageView(mInit->device(), &viewCreateInfo, nullptr, &mView)); in init()
[all …]
DVulkanPreTransformTestHelpers.cpp36 #define VK_CALL(a) ASSERT(VK_SUCCESS == (a)) macro
169 VK_CALL(vkCreateInstance(&instanceInfo, nullptr, &mInstance)); in init()
172 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, nullptr)); in init()
179 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, gpus.data())); in init()
189 VK_CALL(vkCreateAndroidSurfaceKHR(mInstance, &surfaceInfo, nullptr, &mSurface)); in init()
236 VK_CALL(vkCreateDevice(mGpu, &deviceCreateInfo, nullptr, &mDevice)); in init()
260 VK_CALL(vkGetPhysicalDeviceSurfaceCapabilitiesKHR(mDeviceInfo->gpu(), mDeviceInfo->surface(), in init()
277 VK_CALL(vkGetPhysicalDeviceSurfaceFormatsKHR(mDeviceInfo->gpu(), mDeviceInfo->surface(), in init()
281 VK_CALL(vkGetPhysicalDeviceSurfaceFormatsKHR(mDeviceInfo->gpu(), mDeviceInfo->surface(), in init()
333 VK_CALL(vkCreateSwapchainKHR(mDeviceInfo->device(), &swapchainCreateInfo, nullptr, in init()
[all …]