Home
last modified time | relevance | path

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

/third_party/skia/tools/gpu/vk/
DVkTestContext.cpp77 return GrDirectContext::MakeVulkan(fVk, options); in makeContext()
83 reinterpret_cast<PFN_vk##name>(fVk.fGetProc("vk" #name, inst, nullptr)); \
93 fVk.fMemoryAllocator.reset(); in teardown()
95 ACQUIRE_VK_PROC_LOCAL(DeviceWaitIdle, fVk.fInstance); in teardown()
96 ACQUIRE_VK_PROC_LOCAL(DestroyDevice, fVk.fInstance); in teardown()
97 ACQUIRE_VK_PROC_LOCAL(DestroyInstance, fVk.fInstance); in teardown()
98 grVkDeviceWaitIdle(fVk.fDevice); in teardown()
99 grVkDestroyDevice(fVk.fDevice, nullptr); in teardown()
102 fDestroyDebugReportCallbackEXT(fVk.fInstance, fDebugCallback, nullptr); in teardown()
105 grVkDestroyInstance(fVk.fInstance, nullptr); in teardown()
DVkTestHelper.cpp17 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
19 if (fVk##name == nullptr) { \
25 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
26 if (fVk##name == nullptr) { \
DVkTestContext.h26 return fVk; in getVkBackendContext()
42 : fVk(vk) in VkTestContext()
49 GrVkBackendContext fVk; variable
DVkTestHelper.h22 #define DECLARE_VK_PROC(name) PFN_vk##name fVk##name
/third_party/flutter/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
/third_party/flutter/skia/src/gpu/
DGrBackendSurface.cpp44 fVk = that.fVk; in GrBackendFormat()
107 fVk.fFormat = vkFormat; in GrBackendFormat()
108 fVk.fYcbcrConversionInfo = ycbcrInfo; in GrBackendFormat()
109 if (fVk.fYcbcrConversionInfo.isValid() && fVk.fYcbcrConversionInfo.fExternalFormat) { in GrBackendFormat()
117 *format = fVk.fFormat; in asVkFormat()
125 return &fVk.fYcbcrConversionInfo; in getVkYcbcrConversionInfo()
186 copy.fVk.fYcbcrConversionInfo = GrVkYcbcrConversionInfo(); in makeTexture2D()
187 copy.fVk.fFormat = VK_FORMAT_R8G8B8A8_UNORM; in makeTexture2D()
209 return fVk.fFormat == that.fVk.fFormat && in operator ==()
210 fVk.fYcbcrConversionInfo == that.fVk.fYcbcrConversionInfo; in operator ==()
[all …]
/third_party/skia/src/gpu/
DGrBackendSurface.cpp50 fVk = that.fVk; in GrBackendFormat()
127 fVk.fFormat = vkFormat; in GrBackendFormat()
128 fVk.fYcbcrConversionInfo = ycbcrInfo; in GrBackendFormat()
129 if ((fVk.fYcbcrConversionInfo.isValid() && fVk.fYcbcrConversionInfo.fExternalFormat) || in GrBackendFormat()
138 *format = fVk.fFormat; in asVkFormat()
146 return &fVk.fYcbcrConversionInfo; in getVkYcbcrConversionInfo()
226 return GrVkFormatChannels(fVk.fFormat); in channelMask()
259 return GrVkFormatDesc(fVk.fFormat); in desc()
332 copy.fVk.fYcbcrConversionInfo = GrVkYcbcrConversionInfo(); in makeTexture2D()
333 copy.fVk.fFormat = VK_FORMAT_R8G8B8A8_UNORM; in makeTexture2D()
[all …]
/third_party/flutter/skia/tests/
DVkYcbcrSamplerTest.cpp29 #define DECLARE_VK_PROC(name) PFN_vk##name fVk##name
32 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
34 if (fVk##name == nullptr) { \
40 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
41 if (fVk##name == nullptr) { \
DVkProtectedContextTest.cpp27 #define DECLARE_VK_PROC(name) PFN_vk##name fVk##name
30 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
32 if (fVk##name == nullptr) { \
38 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
39 if (fVk##name == nullptr) { \
DVkHardwareBufferTest.cpp366 #define DECLARE_VK_PROC(name) PFN_vk##name fVk##name
369 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
371 if (fVk##name == nullptr) { \
377 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
378 if (fVk##name == nullptr) { \
/third_party/skia/tests/
DVkHardwareBufferTest.cpp366 #define DECLARE_VK_PROC(name) PFN_vk##name fVk##name
370 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
372 if (fVk##name == nullptr) { \
380 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
381 if (fVk##name == nullptr) { \
/third_party/flutter/skia/include/gpu/
DGrBackendSurface.h167 } fVk; member
/third_party/skia/include/gpu/
DGrBackendSurface.h236 } fVk; member