Home
last modified time | relevance | path

Searched refs:memoryTypes (Results 1 – 25 of 29) sorted by relevance

12

/hardware/google/gfxstream/host/vulkan/
DVkEmulatedPhysicalDeviceMemory.cpp57 auto guestMemoryProperties = mGuestMemoryProperties.memoryTypes[i].propertyFlags; in EmulatedPhysicalDeviceMemoryProperties()
59 mGuestMemoryProperties.memoryTypes[i].propertyFlags = 0; in EmulatedPhysicalDeviceMemoryProperties()
67 mGuestMemoryProperties.memoryTypes[i].propertyFlags = in EmulatedPhysicalDeviceMemoryProperties()
68 mGuestMemoryProperties.memoryTypes[i].propertyFlags & in EmulatedPhysicalDeviceMemoryProperties()
87 VkMemoryType& ahbMemoryType = mGuestMemoryProperties.memoryTypes[ahbMemoryTypeIndex]; in EmulatedPhysicalDeviceMemoryProperties()
90 mHostMemoryProperties.memoryTypes[hostColorBufferMemoryTypeIndex].heapIndex; in EmulatedPhysicalDeviceMemoryProperties()
107 .memoryType = mHostMemoryProperties.memoryTypes[hostMemoryTypeIndex], in getHostMemoryInfoFromHostMemoryTypeIndex()
DVkEmulatedPhysicalDeviceMemoryTests.cpp66 memoryTypesMatchers.push_back(EqsVkMemoryType(expected.memoryTypes[i]));
72 Field("memoryTypes", &VkPhysicalDeviceMemoryProperties::memoryTypes,
84 .memoryTypes = in TEST()
121 .memoryTypes = in TEST()
155 .memoryTypes = in TEST()
193 .memoryType = hostMemoryProperties.memoryTypes[kHostColorBufferIndex], in TEST()
200 .memoryTypes = in TEST()
232 .memoryTypes = in TEST()
Dvk_util.cpp42 (memProperties.memoryTypes[i].propertyFlags & properties) == properties) { in findMemoryType()
DVkCommonOperations.cpp168 const auto& typeInfo = memProps->memoryTypes[i]; in getStagingMemoryTypeIndex()
182 const auto& typeInfo = memProps->memoryTypes[i]; in getStagingMemoryTypeIndex()
203 if (memProps->memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) { in getStagingMemoryTypeIndex()
206 if (memProps->memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_CACHED_BIT) { in getStagingMemoryTypeIndex()
1487 if (sVkEmulation->deviceInfo.memProps.memoryTypes[info->typeIndex].propertyFlags & in allocExternalMemory()
1571 if (sVkEmulation->deviceInfo.memProps.memoryTypes[info->typeIndex].propertyFlags & in freeExternalMemoryLocked()
1820 (sVkEmulation->deviceInfo.memProps.memoryTypes[i].propertyFlags & memoryProperty))) { in lastGoodTypeIndexWithMemoryProperties()
2084 … sVkEmulation->deviceInfo.memProps.memoryTypes[infoPtr->memory.typeIndex].propertyFlags, in initializeVkColorBufferLocked()
3035 … sVkEmulation->deviceInfo.memProps.memoryTypes[res.memory.typeIndex].propertyFlags, in setupVkBuffer()
DVkDecoderSnapshotUtils.cpp32 if ((props.memoryTypes[i].propertyFlags & memoryProperties) != memoryProperties) { in GetMemoryType()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_external_memory_rdma.adoc34 …if (memoryProperties2.memoryProperties.memoryTypes[memoryType].propertyFlags & VK_MEMORY_PROPERTY_…
35 heapIndex = memoryProperties2.memoryProperties.memoryTypes[memoryType].heapIndex;
73 (memoryProperties.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_RDMA_CAPABLE_BIT_NV)) {
/hardware/google/gfxstream/guest/vulkan_enc/
DHostVisibleMemoryVirtualization.cpp31 return memoryProps->memoryTypes[index].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT; in isHostVisible()
DResourceTracker.cpp1621 (memProps.memoryTypes[i].propertyFlags & memoryProperty)) { in getColorBufferMemoryIndex()
2321 (info.memProps.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)) || in on_vkGetMemoryZirconHandlePropertiesFUCHSIA()
2323 (info.memProps.memoryTypes[i].propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT))) { in on_vkGetMemoryZirconHandlePropertiesFUCHSIA()
2768 if ((is_device_local && (deviceInfo.memProps.memoryTypes[i].propertyFlags & in on_vkGetBufferCollectionPropertiesFUCHSIA()
2770 (is_host_visible && (deviceInfo.memProps.memoryTypes[i].propertyFlags & in on_vkGetBufferCollectionPropertiesFUCHSIA()
Dgoldfish_vk_transform_guest.cpp390 (VkMemoryType*)(toTransform->memoryTypes + i)); in transform_tohost_VkPhysicalDeviceMemoryProperties()
404 (VkMemoryType*)(toTransform->memoryTypes + i)); in transform_fromhost_VkPhysicalDeviceMemoryProperties()
Dgoldfish_vk_deepcopy_guest.cpp368 deepcopy_VkMemoryType(alloc, rootType, from->memoryTypes + i, in deepcopy_VkPhysicalDeviceMemoryProperties()
369 (VkMemoryType*)(to->memoryTypes + i)); in deepcopy_VkPhysicalDeviceMemoryProperties()
Dgoldfish_vk_counting_guest.cpp575 count_VkMemoryType(featureBits, rootType, (VkMemoryType*)(toCount->memoryTypes + i), count); in count_VkPhysicalDeviceMemoryProperties()
Dgoldfish_vk_marshaling_guest.cpp1027 marshal_VkMemoryType(vkStream, rootType, (VkMemoryType*)(forMarshaling->memoryTypes + i)); in marshal_VkPhysicalDeviceMemoryProperties()
1042 (VkMemoryType*)(forUnmarshaling->memoryTypes + i)); in unmarshal_VkPhysicalDeviceMemoryProperties()
Dgoldfish_vk_reserved_marshaling_guest.cpp890 (VkMemoryType*)(forMarshaling->memoryTypes + i), ptr); in reservedmarshal_VkPhysicalDeviceMemoryProperties()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTestUtils.cpp36 if ((props.memoryTypes[i].propertyFlags & memoryProperties) != memoryProperties) { in getMemoryType()
DGfxstreamEnd2EndVkTests.cpp365 const auto memoryPropertyFlags = memoryProperties.memoryTypes[i].propertyFlags; in TEST_P()
397 const vkhpp::MemoryType& memoryType = memoryProperties.memoryTypes[i]; in TEST_P()
/hardware/google/gfxstream/host/tests/
DVulkan_unittest.cpp525 (vkEmulation->deviceInfo.memProps.memoryTypes[memoryTypeIndex] in TEST_F()
548 EXPECT_TRUE(vkEmulation->deviceInfo.memProps.memoryTypes[allocatedTypeIndex] in TEST_F()
/hardware/google/gfxstream/host/vulkan/testing/
DVulkanTestHelper.cpp262 (memProperties.memoryTypes[i].propertyFlags & properties) == properties) { in findMemoryType()
/hardware/google/gfxstream/common/detector/
DVulkan.cpp56 if ((props.memoryTypes[i].propertyFlags & memoryProperties) != memoryProperties) { in GetMemoryType()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dmemory.adoc519 pname:memoryTypes array.
520 * pname:memoryTypes is an array of ename:VK_MAX_MEMORY_TYPES
550 Each memory type is described by an element of the pname:memoryTypes array
655 For each pair of elements *X* and *Y* returned in pname:memoryTypes, *X*
708 pMemoryProperties->memoryTypes[memoryIndex].propertyFlags;
742 slink:VkPhysicalDeviceMemoryProperties::pname:memoryTypes.
1170 …slink:VkPhysicalDeviceMemoryProperties::pname:memoryTypes[pname:pAllocateInfo->memoryTypeIndex].pn…
1206 pname:memoryTypes array of the slink:VkPhysicalDeviceMemoryProperties
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common.c1628 const VkMemoryType type = wsi->memory_props.memoryTypes[t]; in wsi_select_memory_type()
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Doverlay.cpp1024 if ((prop.memoryTypes[i].propertyFlags & properties) == properties && type_bits & (1<<i)) in vk_memory_type()
/hardware/google/gfxstream/host/vulkan/cereal/common/
Dgoldfish_vk_transform.cpp391 (VkMemoryType*)(toTransform->memoryTypes + i)); in transform_tohost_VkPhysicalDeviceMemoryProperties()
405 (VkMemoryType*)(toTransform->memoryTypes + i)); in transform_fromhost_VkPhysicalDeviceMemoryProperties()
Dgoldfish_vk_deepcopy.cpp368 deepcopy_VkMemoryType(alloc, rootType, from->memoryTypes + i, in deepcopy_VkPhysicalDeviceMemoryProperties()
369 (VkMemoryType*)(to->memoryTypes + i)); in deepcopy_VkPhysicalDeviceMemoryProperties()
Dgoldfish_vk_marshaling.cpp1090 marshal_VkMemoryType(vkStream, rootType, (VkMemoryType*)(forMarshaling->memoryTypes + i)); in marshal_VkPhysicalDeviceMemoryProperties()
1104 (VkMemoryType*)(forUnmarshaling->memoryTypes + i)); in unmarshal_VkPhysicalDeviceMemoryProperties()
/hardware/google/gfxstream/common/vulkan/include/vulkan/
Dvulkansc_hash.hpp4622 VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceMemoryProperties.memoryTypes[i] ); in operator ()()

12