/external/minigbm/cros_gralloc/gralloc3/ |
D | CrosGralloc3Utils.cc | 252 int convertToBufferUsage(uint64_t grallocUsage, uint64_t* outBufferUsage) { in convertToBufferUsage() argument 255 if ((grallocUsage & BufferUsage::CPU_READ_MASK) == in convertToBufferUsage() 259 if ((grallocUsage & BufferUsage::CPU_READ_MASK) == in convertToBufferUsage() 263 if ((grallocUsage & BufferUsage::CPU_WRITE_MASK) == in convertToBufferUsage() 267 if ((grallocUsage & BufferUsage::CPU_WRITE_MASK) == in convertToBufferUsage() 271 if (grallocUsage & BufferUsage::GPU_TEXTURE) { in convertToBufferUsage() 274 if (grallocUsage & BufferUsage::GPU_RENDER_TARGET) { in convertToBufferUsage() 277 if (grallocUsage & BufferUsage::COMPOSER_OVERLAY) { in convertToBufferUsage() 282 if (grallocUsage & BufferUsage::PROTECTED) { in convertToBufferUsage() 285 if (grallocUsage & BufferUsage::COMPOSER_CURSOR) { in convertToBufferUsage() [all …]
|
D | CrosGralloc3Utils.h | 23 int convertToBufferUsage(uint64_t grallocUsage, uint64_t* outBufferUsage); 25 int convertToMapUsage(uint64_t grallocUsage, uint32_t* outMapUsage);
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_android.c | 287 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument 291 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in setup_gralloc0_usage() 297 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in setup_gralloc0_usage() 316 *grallocUsage |= GRALLOC_USAGE_HW_FB | GRALLOC_USAGE_HW_COMPOSER | in setup_gralloc0_usage() 320 if (*grallocUsage == 0) in setup_gralloc0_usage() 330 int *grallocUsage) in tu_GetSwapchainGrallocUsageANDROID() argument 339 *grallocUsage = 0; in tu_GetSwapchainGrallocUsageANDROID() 340 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in tu_GetSwapchainGrallocUsageANDROID() 363 int32_t grallocUsage = 0; in tu_GetSwapchainGrallocUsage2ANDROID() local 364 result = setup_gralloc0_usage(device, format, imageUsage, &grallocUsage); in tu_GetSwapchainGrallocUsage2ANDROID() [all …]
|
/external/minigbm/cros_gralloc/gralloc4/ |
D | CrosGralloc4Utils.cc | 256 int convertToBufferUsage(uint64_t grallocUsage, uint64_t* outBufferUsage) { in convertToBufferUsage() argument 259 if ((grallocUsage & BufferUsage::CPU_READ_MASK) == in convertToBufferUsage() 263 if ((grallocUsage & BufferUsage::CPU_READ_MASK) == in convertToBufferUsage() 267 if ((grallocUsage & BufferUsage::CPU_WRITE_MASK) == in convertToBufferUsage() 271 if ((grallocUsage & BufferUsage::CPU_WRITE_MASK) == in convertToBufferUsage() 275 if (grallocUsage & BufferUsage::GPU_TEXTURE) { in convertToBufferUsage() 278 if (grallocUsage & BufferUsage::GPU_RENDER_TARGET) { in convertToBufferUsage() 281 if (grallocUsage & BufferUsage::COMPOSER_OVERLAY) { in convertToBufferUsage() 286 if (grallocUsage & BufferUsage::PROTECTED) { in convertToBufferUsage() 289 if (grallocUsage & BufferUsage::COMPOSER_CURSOR) { in convertToBufferUsage() [all …]
|
D | CrosGralloc4Utils.h | 25 int convertToBufferUsage(uint64_t grallocUsage, uint64_t* outBufferUsage); 31 int convertToMapUsage(uint64_t grallocUsage, uint32_t* outMapUsage);
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_android.c | 576 VkImageUsageFlags imageUsage, int *grallocUsage) in setup_gralloc0_usage() argument 593 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in setup_gralloc0_usage() 599 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in setup_gralloc0_usage() 622 *grallocUsage |= GRALLOC_USAGE_HW_FB | in setup_gralloc0_usage() 630 if (*grallocUsage == 0) in setup_gralloc0_usage() 656 int32_t grallocUsage = 0; in anv_GetSwapchainGrallocUsage2ANDROID() local 657 result = setup_gralloc0_usage(device, format, imageUsage, &grallocUsage); in anv_GetSwapchainGrallocUsage2ANDROID() 663 if (grallocUsage & GRALLOC_USAGE_HW_RENDER) { in anv_GetSwapchainGrallocUsage2ANDROID() 668 if (grallocUsage & GRALLOC_USAGE_HW_TEXTURE) { in anv_GetSwapchainGrallocUsage2ANDROID() 672 if (grallocUsage & (GRALLOC_USAGE_HW_FB | in anv_GetSwapchainGrallocUsage2ANDROID() [all …]
|
/external/mesa3d/include/vulkan/ |
D | vk_android_native_buffer.h | 92 …ocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 104 int* grallocUsage
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_android.c | 217 int* grallocUsage) in radv_GetSwapchainGrallocUsageANDROID() argument 224 *grallocUsage = 0; in radv_GetSwapchainGrallocUsageANDROID() 262 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in radv_GetSwapchainGrallocUsageANDROID() 268 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in radv_GetSwapchainGrallocUsageANDROID() 286 *grallocUsage |= GRALLOC_USAGE_HW_FB | in radv_GetSwapchainGrallocUsageANDROID() 291 if (*grallocUsage == 0) in radv_GetSwapchainGrallocUsageANDROID()
|
/external/mesa3d/prebuilt-intermediates/vulkan/ |
D | anv_entrypoints.h | 1911 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 1912 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 1913 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 1914 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 1915 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 1916 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 1917 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);
|
D | anv_entrypoints.c | 2709 …llocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage) in anv_GetSwapchainGrallocUsageANDROID() argument 2712 …n anv_device->dispatch.vkGetSwapchainGrallocUsageANDROID(device, format, imageUsage, grallocUsage); in anv_GetSwapchainGrallocUsageANDROID() 3539 …(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage) __attribute__ … 4045 …(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage) __attribute__ … 4551 …(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage) __attribute__ … 5057 …(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage) __attribute__ … 5563 …(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage) __attribute__ … 6069 …(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage) __attribute__ …
|
/external/swiftshader/src/Vulkan/ |
D | libVulkan.cpp | 4126 …llocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int *grallocUsage) in vkGetSwapchainGrallocUsageANDROID() argument 4129 device, format, imageUsage, grallocUsage); in vkGetSwapchainGrallocUsageANDROID() 4131 *grallocUsage = GRALLOC_USAGE_SW_WRITE_OFTEN; in vkGetSwapchainGrallocUsageANDROID()
|