Home
last modified time | relevance | path

Searched refs:getProc (Results 1 – 25 of 28) sorted by relevance

12

/external/skqp/tests/
DVkPriorityExtensionTest.cpp18 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
22 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
26 destroy_instance(getProc, inst); \
34 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
41 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
43 static void destroy_instance(GrVkGetProc getProc, VkInstance inst) { in destroy_instance() argument
57 auto getProc = [instProc, devProc](const char* proc_name, in DEF_GPUTEST() local
135 destroy_instance(getProc, inst); in DEF_GPUTEST()
140 destroy_instance(getProc, inst); in DEF_GPUTEST()
150 destroy_instance(getProc, inst); in DEF_GPUTEST()
[all …]
DVkHardwareBufferTest.cpp368 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
376 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
504 auto getProc = [&instProc, &devProc](const char* proc_name, in init() local
521 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, fExtensions, in init()
/external/skia/tests/
DVkPriorityExtensionTest.cpp18 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
22 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
26 destroy_instance(getProc, inst); \
34 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
41 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
43 static void destroy_instance(GrVkGetProc getProc, VkInstance inst) { in destroy_instance() argument
57 auto getProc = [instProc, devProc](const char* proc_name, in DEF_GPUTEST() local
135 destroy_instance(getProc, inst); in DEF_GPUTEST()
140 destroy_instance(getProc, inst); in DEF_GPUTEST()
150 destroy_instance(getProc, inst); in DEF_GPUTEST()
[all …]
DVkHardwareBufferTest.cpp368 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
376 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
510 auto getProc = [&instProc, &devProc](const char* proc_name, in init() local
527 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, fExtensions, in init()
/external/skia/tools/gpu/vk/
DVkTestUtils.cpp127 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
129 static bool init_instance_extensions_and_layers(GrVkGetProc getProc, in init_instance_extensions_and_layers() argument
133 if (getProc == nullptr) { in init_instance_extensions_and_layers()
214 static bool init_device_extensions_and_layers(GrVkGetProc getProc, uint32_t specVersion, in init_device_extensions_and_layers() argument
218 if (getProc == nullptr) { in init_device_extensions_and_layers()
302 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
306 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
311 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); \
319 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
327 static void destroy_instance(GrVkGetProc getProc, VkInstance inst, in destroy_instance() argument
[all …]
DVkTestContext.cpp19 f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, nullptr, device)); \
29 VkFenceSync(GrVkGetProc getProc, VkDevice device, VkQueue queue, in VkFenceSync() argument
169 auto getProc = [instProc, devProc](const char* proc_name, in Create() local
179 if (!sk_gpu_test::CreateVkBackendContext(getProc, &backendContext, extensions, in Create()
DVkTestUtils.h29 bool CreateVkBackendContext(GrVkGetProc getProc,
/external/skqp/tools/gpu/vk/
DVkTestUtils.cpp123 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
125 static bool init_instance_extensions_and_layers(GrVkGetProc getProc, in init_instance_extensions_and_layers() argument
129 if (getProc == nullptr) { in init_instance_extensions_and_layers()
210 static bool init_device_extensions_and_layers(GrVkGetProc getProc, uint32_t specVersion, in init_device_extensions_and_layers() argument
214 if (getProc == nullptr) { in init_device_extensions_and_layers()
298 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
302 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
307 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); \
315 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
323 static void destroy_instance(GrVkGetProc getProc, VkInstance inst, in destroy_instance() argument
[all …]
DVkTestContext.cpp19 f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, nullptr, device)); \
29 VkFenceSync(GrVkGetProc getProc, VkDevice device, VkQueue queue, in VkFenceSync() argument
169 auto getProc = [instProc, devProc](const char* proc_name, in Create() local
179 if (!sk_gpu_test::CreateVkBackendContext(getProc, &backendContext, extensions, in Create()
DVkTestUtils.h29 bool CreateVkBackendContext(GrVkGetProc getProc,
/external/skqp/src/gpu/vk/
DGrVkExtensions.cpp35 void GrVkExtensions::init(GrVkGetProc getProc, in init() argument
60 this->getSpecVersions(getProc, instance, physDev); in init()
64 PFN_vk##F grVk##F = (PFN_vk ## F) getProc("vk" #F, inst, VK_NULL_HANDLE)
66 void GrVkExtensions::getSpecVersions(GrVkGetProc getProc, VkInstance instance, in getSpecVersions() argument
DGrVkInterface.cpp14 fFunctions.f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
18 reinterpret_cast<PFN_vk##name##suffix>(getProc("vk" #name #suffix, instance, device))
20 GrVkInterface::GrVkInterface(GrVkGetProc getProc, in GrVkInterface() argument
26 if (getProc == nullptr) { in GrVkInterface()
/external/skia/src/gpu/vk/
DGrVkExtensions.cpp35 void GrVkExtensions::init(GrVkGetProc getProc, in init() argument
60 this->getSpecVersions(getProc, instance, physDev); in init()
64 PFN_vk##F grVk##F = (PFN_vk ## F) getProc("vk" #F, inst, VK_NULL_HANDLE)
66 void GrVkExtensions::getSpecVersions(GrVkGetProc getProc, VkInstance instance, in getSpecVersions() argument
DGrVkInterface.cpp14 fFunctions.f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
18 reinterpret_cast<PFN_vk##name##suffix>(getProc("vk" #name #suffix, instance, device))
20 GrVkInterface::GrVkInterface(GrVkGetProc getProc, in GrVkInterface() argument
26 if (getProc == nullptr) { in GrVkInterface()
/external/skia/src/gpu/gl/win/
DGrGLMakeNativeInterface_win.cpp44 GrGLFuncPtr getProc(const char name[]) const { in getProc() function in GLProcGetter
63 return getter->getProc(name); in win_get_gl_proc()
81 GrGLGetStringFn* getString = (GrGLGetStringFn*)getter.getProc("glGetString"); in GrGLMakeNativeInterface()
/external/skqp/src/gpu/gl/win/
DGrGLMakeNativeInterface_win.cpp44 GrGLFuncPtr getProc(const char name[]) const { in getProc() function in GLProcGetter
63 return getter->getProc(name); in win_get_gl_proc()
81 GrGLGetStringFn* getString = (GrGLGetStringFn*)getter.getProc("glGetString"); in GrGLMakeNativeInterface()
/external/skqp/src/gpu/gl/iOS/
DGrGLMakeNativeInterface_iOS.cpp38 GrGLFuncPtr getProc(const char name[]) const { in getProc() function in GLProcGetter
49 return getter->getProc(name); in ios_get_gl_proc()
/external/skqp/src/gpu/gl/mac/
DGrGLMakeNativeInterface_mac.cpp42 GrGLFuncPtr getProc(const char name[]) const { in getProc() function in GLProcGetter
53 return getter->getProc(name); in mac_get_gl_proc()
/external/skia/src/gpu/gl/iOS/
DGrGLMakeNativeInterface_iOS.cpp38 GrGLFuncPtr getProc(const char name[]) const { in getProc() function in GLProcGetter
49 return getter->getProc(name); in ios_get_gl_proc()
/external/skia/src/gpu/gl/mac/
DGrGLMakeNativeInterface_mac.cpp42 GrGLFuncPtr getProc(const char name[]) const { in getProc() function in GLProcGetter
53 return getter->getProc(name); in mac_get_gl_proc()
/external/skqp/src/gpu/
DGrProcessorUnitTest.h129 GrXPFactoryTestFactory(GetFn* getProc) : fGetProc(getProc) { GetFactories()->push_back(this); } in GrXPFactoryTestFactory() argument
/external/skia/src/gpu/
DGrProcessorUnitTest.h129 GrXPFactoryTestFactory(GetFn* getProc) : fGetProc(getProc) { GetFactories()->push_back(this); } in GrXPFactoryTestFactory() argument
/external/skia/include/gpu/vk/
DGrVkExtensions.h58 void getSpecVersions(GrVkGetProc getProc, VkInstance, VkPhysicalDevice);
/external/skqp/include/gpu/vk/
DGrVkExtensions.h58 void getSpecVersions(GrVkGetProc getProc, VkInstance, VkPhysicalDevice);
/external/skia/tools/sk_app/
DVulkanWindowContext.cpp56 auto getProc = [getInstanceProc, getDeviceProc](const char* proc_name, in initializeContext() local
66 if (!sk_gpu_test::CreateVkBackendContext(getProc, &backendContext, &extensions, &features, in initializeContext()

12