Home
last modified time | relevance | path

Searched refs:grallocUsage (Results 1 – 11 of 11) sorted by relevance

/external/minigbm/cros_gralloc/gralloc3/
DCrosGralloc3Utils.cc252 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 …]
DCrosGralloc3Utils.h23 int convertToBufferUsage(uint64_t grallocUsage, uint64_t* outBufferUsage);
25 int convertToMapUsage(uint64_t grallocUsage, uint32_t* outMapUsage);
/external/mesa3d/src/freedreno/vulkan/
Dtu_android.c287 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/
DCrosGralloc4Utils.cc256 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 …]
DCrosGralloc4Utils.h25 int convertToBufferUsage(uint64_t grallocUsage, uint64_t* outBufferUsage);
31 int convertToMapUsage(uint64_t grallocUsage, uint32_t* outMapUsage);
/external/mesa3d/src/intel/vulkan/
Danv_android.c576 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/
Dvk_android_native_buffer.h92 …ocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);
104 int* grallocUsage
/external/mesa3d/src/amd/vulkan/
Dradv_android.c217 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/
Danv_entrypoints.h1911 …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);
Danv_entrypoints.c2709 …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/
DlibVulkan.cpp4126 …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()