2 * Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
10 int gbm_bpp_from_format(uint32_t format);
11 int gbm_bytes_from_format(uint32_t format);
12 int gbm_is_format_supported(struct gbm_bo *bo);
13 int gbm_dumb_bo_create(struct gbm_bo *bo, uint32_t width, uint32_t height,
14 uint32_t format, uint32_t flags);
15 int gbm_dumb_bo_destroy(struct gbm_bo *bo);
16 int gbm_gem_bo_destroy(struct gbm_bo *bo);