Lines Matching refs:grallocUsage
329 int *grallocUsage) in setup_gralloc0_usage() argument
333 *grallocUsage |= GRALLOC_USAGE_HW_RENDER; in setup_gralloc0_usage()
339 *grallocUsage |= GRALLOC_USAGE_HW_TEXTURE; in setup_gralloc0_usage()
355 *grallocUsage |= GRALLOC_USAGE_HW_COMPOSER; in setup_gralloc0_usage()
357 if (*grallocUsage == 0) in setup_gralloc0_usage()
367 int *grallocUsage) in v3dv_GetSwapchainGrallocUsageANDROID() argument
376 *grallocUsage = 0; in v3dv_GetSwapchainGrallocUsageANDROID()
377 return setup_gralloc0_usage(device, format, imageUsage, grallocUsage); in v3dv_GetSwapchainGrallocUsageANDROID()
401 int32_t grallocUsage = 0; in v3dv_GetSwapchainGrallocUsage2ANDROID() local
402 result = setup_gralloc0_usage(device, format, imageUsage, &grallocUsage); in v3dv_GetSwapchainGrallocUsage2ANDROID()
408 if (grallocUsage & GRALLOC_USAGE_HW_RENDER) { in v3dv_GetSwapchainGrallocUsage2ANDROID()
412 if (grallocUsage & GRALLOC_USAGE_HW_TEXTURE) { in v3dv_GetSwapchainGrallocUsage2ANDROID()
416 if (grallocUsage & GRALLOC_USAGE_HW_COMPOSER) { in v3dv_GetSwapchainGrallocUsage2ANDROID()