Lines Matching refs:usage
205 buffer_handle_t handle, int usage)
213 if (usage & (GRALLOC_USAGE_SW_READ_MASK | GRALLOC_USAGE_SW_WRITE_MASK)) {
226 if ((usage & GRALLOC_USAGE_SW_READ_MASK) and
235 if (usage & GRALLOC_USAGE_SW_WRITE_MASK) {
245 buffer_handle_t handle, int usage,
251 int err = gralloc_map_and_invalidate(module, handle, usage);
258 buffer_handle_t handle, int usage,
264 int err = gralloc_map_and_invalidate(module, handle, usage);
382 int usage = va_arg(args, int);
386 *tileEnabled = isUBwcEnabled(format, usage) ||
387 isMacroTileEnabled(format, usage);
389 height, format, usage, *alignedWidth, *alignedHeight);