Home
last modified time | relevance | path

Searched refs:fVk (Results 1 – 12 of 12) sorted by relevance

/external/skia/tools/gpu/vk/
DVkTestContext.cpp205 return GrContext::MakeVulkan(fVk, options); in makeGrContext()
211 reinterpret_cast<PFN_vk##name>(fVk.fGetProc("vk" #name, inst, nullptr)); \
221 fVk.fMemoryAllocator.reset(); in teardown()
223 ACQUIRE_VK_PROC_LOCAL(DeviceWaitIdle, fVk.fInstance); in teardown()
224 ACQUIRE_VK_PROC_LOCAL(DestroyDevice, fVk.fInstance); in teardown()
225 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, fVk.fInstance); in teardown()
226 grVkDeviceWaitIdle(fVk.fDevice); in teardown()
227 grVkDestroyDevice(fVk.fDevice, nullptr); in teardown()
230 fDestroyDebugReportCallbackEXT(fVk.fInstance, fDebugCallback, nullptr); in teardown()
233 grVkDestroyInstance(fVk.fInstance, nullptr); in teardown()
[all …]
DVkTestContext.h26 return fVk; in getVkBackendContext()
42 : fVk(vk) in VkTestContext()
49 GrVkBackendContext fVk; variable
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp205 return GrContext::MakeVulkan(fVk, options); in makeGrContext()
211 reinterpret_cast<PFN_vk##name>(fVk.fGetProc("vk" #name, inst, nullptr)); \
221 fVk.fMemoryAllocator.reset(); in teardown()
223 ACQUIRE_VK_PROC_LOCAL(DeviceWaitIdle, fVk.fInstance); in teardown()
224 ACQUIRE_VK_PROC_LOCAL(DestroyDevice, fVk.fInstance); in teardown()
225 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, fVk.fInstance); in teardown()
226 grVkDeviceWaitIdle(fVk.fDevice); in teardown()
227 grVkDestroyDevice(fVk.fDevice, nullptr); in teardown()
230 fDestroyDebugReportCallbackEXT(fVk.fInstance, fDebugCallback, nullptr); in teardown()
233 grVkDestroyInstance(fVk.fInstance, nullptr); in teardown()
[all …]
DVkTestContext.h26 return fVk; in getVkBackendContext()
42 : fVk(vk) in VkTestContext()
49 GrVkBackendContext fVk; variable
/external/skqp/tools/gpu/mtl/
DMtlTestContext.mm28 : fVk(std::move(vk))
37 GR_VK_CALL_ERRCHECK(fVk, CreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool));
45 GR_VK_CALL_ERRCHECK(fVk, AllocateCommandBuffers(fDevice, &allocateInfo, &fCommandBuffer));
52 GR_VK_CALL_ERRCHECK(fVk, BeginCommandBuffer(fCommandBuffer, &beginInfo));
53 GR_VK_CALL_ERRCHECK(fVk, EndCommandBuffer(fCommandBuffer));
59 GR_VK_CALL(fVk, FreeCommandBuffers(fDevice, fCommandPool, 1, &fCommandBuffer));
60 GR_VK_CALL(fVk, DestroyCommandPool(fDevice, fCommandPool, nullptr));
69 GR_VK_CALL_ERRCHECK(fVk, CreateFence(fDevice, &info, nullptr, &fence));
80 GR_VK_CALL_ERRCHECK(fVk, QueueSubmit(fQueue, 1, &submitInfo, fence));
88 auto result = GR_VK_CALL(fVk, WaitForFences(fDevice, 1, &fence, true, kForever));
[all …]
/external/skia/tools/gpu/mtl/
DMtlTestContext.mm32 : fVk(std::move(vk))
41 GR_VK_CALL_ERRCHECK(fVk, CreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool));
49 GR_VK_CALL_ERRCHECK(fVk, AllocateCommandBuffers(fDevice, &allocateInfo, &fCommandBuffer));
56 GR_VK_CALL_ERRCHECK(fVk, BeginCommandBuffer(fCommandBuffer, &beginInfo));
57 GR_VK_CALL_ERRCHECK(fVk, EndCommandBuffer(fCommandBuffer));
63 GR_VK_CALL(fVk, FreeCommandBuffers(fDevice, fCommandPool, 1, &fCommandBuffer));
64 GR_VK_CALL(fVk, DestroyCommandPool(fDevice, fCommandPool, nullptr));
73 GR_VK_CALL_ERRCHECK(fVk, CreateFence(fDevice, &info, nullptr, &fence));
84 GR_VK_CALL_ERRCHECK(fVk, QueueSubmit(fQueue, 1, &submitInfo, fence));
92 auto result = GR_VK_CALL(fVk, WaitForFences(fDevice, 1, &fence, true, kForever));
[all …]
/external/skia/src/gpu/
DGrBackendSurface.cpp82 fVk.fFormat = vkFormat; in GrBackendFormat()
83 fVk.fYcbcrConversionInfo = ycbcrInfo; in GrBackendFormat()
84 if (fVk.fYcbcrConversionInfo.isValid()) { in GrBackendFormat()
91 return &fVk.fFormat; in getVkFormat()
98 return &fVk.fYcbcrConversionInfo; in getVkYcbcrConversionInfo()
140 copy.fVk.fYcbcrConversionInfo = GrVkYcbcrConversionInfo(); in makeTexture2D()
141 copy.fVk.fFormat = VK_FORMAT_R8G8B8A8_UNORM; in makeTexture2D()
163 return fVk.fFormat == that.fVk.fFormat && in operator ==()
164 fVk.fYcbcrConversionInfo == that.fVk.fYcbcrConversionInfo; in operator ==()
/external/skqp/src/gpu/
DGrBackendSurface.cpp82 fVk.fFormat = vkFormat; in GrBackendFormat()
83 fVk.fYcbcrConversionInfo = ycbcrInfo; in GrBackendFormat()
88 return &fVk.fFormat; in getVkFormat()
95 return &fVk.fYcbcrConversionInfo; in getVkYcbcrConversionInfo()
153 return fVk.fFormat == that.fVk.fFormat && in operator ==()
154 fVk.fYcbcrConversionInfo == that.fVk.fYcbcrConversionInfo; in operator ==()
/external/skia/tests/
DVkHardwareBufferTest.cpp365 #define DECLARE_VK_PROC(name) PFN_vk##name fVk##name
368 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
370 if (fVk##name == nullptr) { \
376 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
377 if (fVk##name == nullptr) { \
/external/skqp/tests/
DVkHardwareBufferTest.cpp365 #define DECLARE_VK_PROC(name) PFN_vk##name fVk##name
368 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
370 if (fVk##name == nullptr) { \
376 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
377 if (fVk##name == nullptr) { \
/external/skia/include/gpu/
DGrBackendSurface.h123 } fVk; member
/external/skqp/include/gpu/
DGrBackendSurface.h121 } fVk; member