Lines Matching defs:bo

172  * \param bo The buffer object
177 gbm_bo_get_width(struct gbm_bo *bo)
179 return bo->width;
184 * \param bo The buffer object
188 gbm_bo_get_height(struct gbm_bo *bo)
190 return bo->height;
198 * \param bo The buffer object
202 gbm_bo_get_stride(struct gbm_bo *bo)
204 return bo->stride;
211 * \param bo The buffer object
215 gbm_bo_get_format(struct gbm_bo *bo)
217 return bo->format;
225 * \param bo The buffer object
229 gbm_bo_get_handle(struct gbm_bo *bo)
231 return bo->handle;
242 * \param bo The buffer object
248 gbm_bo_write(struct gbm_bo *bo, const void *buf, size_t count)
250 return bo->gbm->bo_write(bo, buf, count);
255 * \param bo The buffer object
259 gbm_bo_get_device(struct gbm_bo *bo)
261 return bo->gbm;
266 * \param bo The buffer object
272 gbm_bo_set_user_data(struct gbm_bo *bo, void *data,
275 bo->user_data = data;
276 bo->destroy_user_data = destroy_user_data;
281 * \param bo The buffer object
288 gbm_bo_get_user_data(struct gbm_bo *bo)
290 return bo->user_data;
297 * \param bo The buffer object
300 gbm_bo_destroy(struct gbm_bo *bo)
302 if (bo->destroy_user_data)
303 bo->destroy_user_data(bo, bo->user_data);
305 bo->gbm->bo_destroy(bo);
342 * This function imports a foreign object and creates a new gbm bo for it.
350 * The the gbm bo shares the underlying pixels but its life-time is
416 * error. A new bo representing the new front buffer is returned. On
425 * this bo should not be destroyed using gbm_bo_destroy(). If an error
437 * Returns the underlying buffer to the gbm surface. Releasing a bo
440 * may choose to destroy the bo immediately or reuse it, in which case
444 * \param bo The buffer object
447 gbm_surface_release_buffer(struct gbm_surface *surf, struct gbm_bo *bo)
449 surf->gbm->surface_release_buffer(surf, bo);