Home
last modified time | relevance | path

Searched refs:getProc (Results 1 – 25 of 33) 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 …]
/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 …]
/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/skia/tools/gpu/vk/
DVkTestUtils.cpp142 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
144 static bool init_instance_extensions_and_layers(GrVkGetProc getProc, in init_instance_extensions_and_layers() argument
148 if (getProc == nullptr) { in init_instance_extensions_and_layers()
229 static bool init_device_extensions_and_layers(GrVkGetProc getProc, uint32_t specVersion, in init_device_extensions_and_layers() argument
233 if (getProc == nullptr) { in init_device_extensions_and_layers()
317 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
321 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
326 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); \
334 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
342 static bool destroy_instance(GrVkGetProc getProc, VkInstance inst, in destroy_instance() argument
[all …]
DVkTestHelper.cpp17 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, fBackendContext.fInstance,\
25 fVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, VK_NULL_HANDLE, fDevice)); \
37 auto getProc = [&instProc, &devProc](const char* proc_name, in init() local
51 if (!sk_gpu_test::CreateVkBackendContext(getProc, &fBackendContext, &fExtensions, in init()
DVkTestContext.cpp19 f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, nullptr, device)); \
44 auto getProc = [instProc, devProc](const char* proc_name, in Create() local
54 if (!sk_gpu_test::CreateVkBackendContext(getProc, &backendContext, extensions, in Create()
DVkTestUtils.h29 bool CreateVkBackendContext(GrVkGetProc getProc,
/external/angle/src/gpu_info_util/
DSystemInfo_vulkan.cpp32 auto pfnDestroyInstance = getProc<PFN_vkDestroyInstance>("vkDestroyInstance"); in ~VulkanLibrary()
53 getProc<PFN_vkEnumerateInstanceVersion>("vkEnumerateInstanceVersion"); in getVulkanInstance()
81 auto pfnCreateInstance = getProc<PFN_vkCreateInstance>("vkCreateInstance"); in getVulkanInstance()
92 Func getProc(const char *fn) const in getProc() function in angle::VulkanLibrary
131 vkLibrary.getProc<PFN_vkEnumeratePhysicalDevices>("vkEnumeratePhysicalDevices"); in GetSystemInfoVulkan()
133 vkLibrary.getProc<PFN_vkGetPhysicalDeviceProperties>("vkGetPhysicalDeviceProperties"); in GetSystemInfoVulkan()
/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/skia/src/gpu/vk/
DGrVkExtensions.cpp35 void GrVkExtensions::init(GrVkGetProc getProc, in init() argument
58 this->getSpecVersions(getProc, instance, physDev); in init()
62 PFN_vk##F grVk##F = (PFN_vk ## F) getProc("vk" #F, inst, VK_NULL_HANDLE)
64 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/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/angle/src/libANGLE/renderer/gl/glx/
DFunctionsGLX.cpp29 static bool GetProc(PFNGETPROCPROC getProc, T *member, const char *name) in GetProc() argument
31 *member = reinterpret_cast<T>(getProc(name)); in GetProc()
155 getProc = reinterpret_cast<PFNGETPROCPROC>(dlsym(sLibHandle, "glXGetProcAddress")); in initialize()
156 if (!getProc) in initialize()
158 getProc = reinterpret_cast<PFNGETPROCPROC>(dlsym(sLibHandle, "glXGetProcAddressARB")); in initialize()
160 if (!getProc) in initialize()
166 getProc = reinterpret_cast<PFNGETPROCPROC>(glXGetProcAddress); in initialize()
172 if (!GetProc(getProc, MEMBER, #NAME)) \ in initialize()
DFunctionsGLX.h37 PFNGETPROCPROC getProc; variable
/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/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/skia/tools/gpu/dawn/
DDawnTestContext.cpp58 return fInstance->getProc(name); in getProcAddress()
62 Proc getProc(const char* name) { in getProc() function in __anond36a35430111::ProcGetter
109 adapterOptions.getProc = reinterpret_cast<void*(*)(const char*)>( in Create()
/external/angle/src/tests/perf_tests/
DEGLMakeCurrentPerf.cpp69 angle::LoadProc getProc = local
72 if (!getProc)
78 angle::LoadEGL(getProc);
/external/skqp/src/gpu/
DGrProcessorUnitTest.h129 GrXPFactoryTestFactory(GetFn* getProc) : fGetProc(getProc) { GetFactories()->push_back(this); } in GrXPFactoryTestFactory() argument
/external/skia/src/gpu/
DGrProcessorUnitTest.cpp108 GrXPFactoryTestFactory::GrXPFactoryTestFactory(GetFn* getProc) : fGetProc(getProc) { in GrXPFactoryTestFactory() argument
/external/skqp/include/gpu/vk/
DGrVkExtensions.h58 void getSpecVersions(GrVkGetProc getProc, VkInstance, VkPhysicalDevice);
/external/skia/include/gpu/vk/
DGrVkExtensions.h58 void getSpecVersions(GrVkGetProc getProc, VkInstance, VkPhysicalDevice);

12