Lines Matching refs:usage
73 /** Test if a format is supported for a given set of usage flags.
77 * \param usage A bitmask of the usages to test the format against
87 uint32_t format, uint32_t usage)
89 return gbm->is_format_supported(gbm, format, usage);
315 * \param usage The union of the usage flags for this buffer
322 * \sa enum gbm_bo_flags for the list of usage flags
327 uint32_t format, uint32_t usage)
332 if (usage & GBM_BO_USE_CURSOR_64X64 &&
336 return gbm->bo_create(gbm, width, height, format, usage);
356 * \param usage The union of the usage flags for this buffer
361 * \sa enum gbm_bo_flags for the list of usage flags
365 uint32_t type, void *buffer, uint32_t usage)
367 return gbm->bo_import(gbm, type, buffer, usage);