Home
last modified time | relevance | path

Searched refs:GetData (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/vulkan/libvulkan/
Dapi.h39 inline InstanceData& GetData(VkInstance instance) { in GetData() function
40 return driver::GetData(instance).opaque_api_data; in GetData()
43 inline InstanceData& GetData(VkPhysicalDevice physical_dev) { in GetData() function
44 return driver::GetData(physical_dev).opaque_api_data; in GetData()
47 inline DeviceData& GetData(VkDevice dev) { in GetData() function
48 return driver::GetData(dev).opaque_api_data; in GetData()
51 inline DeviceData& GetData(VkQueue queue) { in GetData() function
52 return driver::GetData(queue).opaque_api_data; in GetData()
55 inline DeviceData& GetData(VkCommandBuffer cmd) { in GetData() function
56 return driver::GetData(cmd).opaque_api_data; in GetData()
Dapi_gen.cpp149 auto& data = GetData(instance); in InitDispatchTable()
192 auto& data = GetData(dev); in InitDispatchTable()
528 …return GetData(instance).dispatch.EnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysic… in EnumeratePhysicalDevices()
618 return GetData(device).dispatch.GetDeviceProcAddr(device, pName); in GetDeviceProcAddr()
809 return GetData(instance).dispatch.GetInstanceProcAddr(instance, pName); in GetInstanceProcAddr()
813 GetData(physicalDevice).dispatch.GetPhysicalDeviceProperties(physicalDevice, pProperties); in GetPhysicalDeviceProperties()
817GetData(physicalDevice).dispatch.GetPhysicalDeviceQueueFamilyProperties(physicalDevice, pQueueFami… in GetPhysicalDeviceQueueFamilyProperties()
821GetData(physicalDevice).dispatch.GetPhysicalDeviceMemoryProperties(physicalDevice, pMemoryProperti… in GetPhysicalDeviceMemoryProperties()
825 GetData(physicalDevice).dispatch.GetPhysicalDeviceFeatures(physicalDevice, pFeatures); in GetPhysicalDeviceFeatures()
829GetData(physicalDevice).dispatch.GetPhysicalDeviceFormatProperties(physicalDevice, format, pFormat… in GetPhysicalDeviceFormatProperties()
[all …]
Ddebug_report.cpp122 const auto& driver = GetData(instance).driver; in CreateDebugReportCallbackEXT()
131 auto& callbacks = GetData(instance).debug_report_callbacks; in CreateDebugReportCallbackEXT()
134 (allocator) ? *allocator : GetData(instance).allocator); in CreateDebugReportCallbackEXT()
155 auto& callbacks = GetData(instance).debug_report_callbacks; in DestroyDebugReportCallbackEXT()
160 node, (allocator) ? *allocator : GetData(instance).allocator); in DestroyDebugReportCallbackEXT()
163 GetData(instance).driver.DestroyDebugReportCallbackEXT( in DestroyDebugReportCallbackEXT()
176 if (GetData(instance).driver.DebugReportMessageEXT) { in DebugReportMessageEXT()
177 GetData(instance).driver.DebugReportMessageEXT( in DebugReportMessageEXT()
181 GetData(instance).debug_report_callbacks.Message( in DebugReportMessageEXT()
Ddriver_gen.cpp35 if (GetData(device).hook_extensions[ProcHook::EXTENSION_CORE_1_1]) { in checkedBindImageMemory2()
44 if (GetData(device).hook_extensions[ProcHook::EXTENSION_CORE_1_1]) { in checkedGetDeviceQueue2()
52 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedCreateSwapchainKHR()
61 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedDestroySwapchainKHR()
69 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedGetSwapchainImagesKHR()
78 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedAcquireNextImageKHR()
87 if (GetData(queue).hook_extensions[ProcHook::KHR_swapchain]) { in checkedQueuePresentKHR()
96 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedGetDeviceGroupPresentCapabilitiesKHR()
105 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedGetDeviceGroupSurfacePresentModesKHR()
114 if (GetData(device).hook_extensions[ProcHook::KHR_swapchain]) { in checkedAcquireNextImage2KHR()
[all …]
Ddriver.h200 inline InstanceData& GetData(VkInstance instance) { in GetData() function
204 inline InstanceData& GetData(VkPhysicalDevice physical_dev) { in GetData() function
208 inline InstanceData& GetData(InstanceDispatchable dispatchable) { in GetData() function
212 inline DeviceData& GetData(VkDevice dev) { in GetData() function
216 inline DeviceData& GetData(VkQueue queue) { in GetData() function
220 inline DeviceData& GetData(VkCommandBuffer cmd) { in GetData() function
224 inline DeviceData& GetData(DeviceDispatchable dispatchable) { in GetData() function
230 return DebugReportLogger(GetData(dispatchable).debug_report_callbacks); in Logger()
Ddriver.cpp466 const auto& driver = GetData(physical_dev_).driver; in QueryExtensionCount()
479 const auto& driver = GetData(physical_dev_).driver; in EnumerateExtensions()
801 proc = (GetData(instance).hook_extensions[hook->extension]) in GetInstanceProcAddr()
824 return GetData(device).driver.GetDeviceProcAddr(device, pName); in GetDeviceProcAddr()
831 return (GetData(device).hook_extensions[hook->extension]) ? hook->proc in GetDeviceProcAddr()
911 const InstanceData& data = GetData(physicalDevice); in QueryPresentationProperties()
948 const InstanceData& data = GetData(physicalDevice); in EnumerateDeviceExtensionProperties()
1122 InstanceData& data = GetData(instance); in DestroyInstance()
1138 const InstanceData& instance_data = GetData(physicalDevice); in CreateDevice()
1220 DeviceData& data = GetData(device); in DestroyDevice()
[all …]
Dapi.cpp814 InstanceData& data = GetData(instance); in Create()
880 GetData(physical_dev).dispatch.CreateDevice; in Create()
887 DeviceData& data = GetData(dev); in Create()
1033 return (driver::SetDataInternal(dispatchable, &driver::GetData(instance))) in SetInstanceLoaderData()
1042 return (driver::SetDataInternal(dispatchable, &driver::GetData(device))) in SetDeviceLoaderData()
1111 (allocator) ? *allocator : driver::GetData(physical_dev).allocator); in CreateDevice()
1133 InstanceData& data = GetData(instance); in DestroyInstance()
1143 local_allocator = driver::GetData(instance).allocator; in DestroyInstance()
1154 DeviceData& data = GetData(device); in DestroyDevice()
1162 count = GetData(physical_dev).layer_count; in GetActiveLayers()
[all …]
Dswapchain.cpp326 GetData(device).driver.DestroyImage(device, image.image, nullptr); in ReleaseSwapchainImage()
525 allocator = &GetData(instance).allocator; in CreateAndroidSurfaceKHR()
579 allocator = &GetData(instance).allocator; in DestroySurfaceKHR()
709 const InstanceData& instance_data = GetData(pdev); in GetPhysicalDeviceSurfaceFormatsKHR()
1016 allocator = &GetData(device).allocator; in CreateSwapchainKHR()
1111 const auto& dispatch = GetData(device).driver; in CreateSwapchainKHR()
1397 const auto& dispatch = GetData(device).driver; in DestroySwapchainKHR()
1412 allocator = &GetData(device).allocator; in DestroySwapchainKHR()
1471 result = GetData(device).driver.AcquireImageANDROID( in AcquireNextImageKHR()
1510 result = GetData(device).driver.AcquireImageANDROID( in AcquireNextImageKHR()
[all …]
Dcode-generator.tmpl125 auto& data = GetData(instance);
143 auto& data = GetData(dev);
338 auto& data = GetData(instance);
355 auto& data = GetData(dev);
672 GetData({{$p0.Name}}).dispatch.§
873 if (GetData({{$p0.Name}}).hook_extensions[{{$ext_hook}}]) {
/frameworks/base/cmds/idmap2/tests/
DBinaryStreamVisitorTests.cpp52 ASSERT_EQ(idmap1->GetData().size(), 1U); in TEST()
53 ASSERT_EQ(idmap1->GetData().size(), idmap2->GetData().size()); in TEST()
55 const auto& data1 = idmap1->GetData()[0]; in TEST()
56 const auto& data2 = idmap2->GetData()[0]; in TEST()
DIdmapTests.cpp139 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
203 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
240 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
270 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
299 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
331 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
366 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
413 const std::vector<std::unique_ptr<const IdmapData>>& dataBlocks = idmap->GetData(); in TEST()
DIdmap2BinaryTests.cpp62 ASSERT_EQ(idmap.GetData().size(), 1U); in AssertIdmap()
/frameworks/base/media/jni/
Dandroid_media_Streams.h48 piex::Error GetData(
71 piex::Error GetData(
91 piex::Error GetData(
Dandroid_media_Streams.cpp38 piex::Error AssetStream::GetData( in GetData() function in android::AssetStream
61 piex::Error BufferedStream::GetData( in GetData() function in android::BufferedStream
115 piex::Error FileStream::GetData( in GetData() function in android::FileStream
Dandroid_mtp_MtpDatabase.cpp922 piex::Error err = stream.get()->GetData( in getThumbnail()
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h246 inline const std::vector<std::unique_ptr<const IdmapData>>& GetData() const { in GetData() function