Lines Matching refs:format

69 /** Test if a format is supported for a given set of usage flags.
72 * \param format The format to test
73 * \param flags A bitmask of the usages to test the format against
74 * \return 1 if the format is supported otherwise 0
76 * \sa enum gbm_bo_flags for the list of flags that the format can be
83 uint32_t format, uint32_t flags)
85 return gbm->v0.is_format_supported(gbm, format, flags);
88 /** Get the number of planes that are required for a given format+modifier
91 * \param format The format to query
96 uint32_t format,
99 return gbm->v0.get_format_modifier_plane_count(gbm, format, modifier);
197 /** Get the format of the buffer object
199 * The format of the pixels in the buffer.
202 * \return The format of buffer object, one of the GBM_FORMAT_* codes
207 return bo->v0.format;
210 /** Get the bit-per-pixel of the buffer object's format
212 * The bits-per-pixel of the buffer object's format.
220 * \return The number of bits0per-pixel of the buffer object's format.
225 switch (bo->v0.format) {
313 * the format of this handle is platform specific.
415 * according to the width, height, stride and format of the buffer object.
478 * \param format The format to use for the buffer, from GBM_FORMAT_* or
491 uint32_t format, uint32_t flags)
498 return gbm->v0.bo_create(gbm, width, height, format, flags, NULL, 0);
504 uint32_t format,
522 return gbm_bo_create_with_modifiers2(gbm, width, height, format, modifiers,
529 uint32_t format,
549 return gbm->v0.bo_create(gbm, width, height, format, flags, modifiers, count);
650 * \param format The format to use for the surface
661 uint32_t format, uint32_t flags)
663 return gbm->v0.surface_create(gbm, width, height, format, flags, NULL, 0);
669 uint32_t format,
687 return gbm_surface_create_with_modifiers2(gbm, width, height, format,
695 uint32_t format,
710 return gbm->v0.surface_create(gbm, width, height, format, flags,
796 * has a GBM format, but never return them to the user. */
811 * Returns a string representing the fourcc format name.
813 * \param desc Caller-provided storage for the format name string.
814 * \return String containing the fourcc of the format.