OSDN Git Service

minigbm: Sort case statements alphabetically.
[android-x86/external-minigbm.git] / gbm_priv.h
1 /*
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.
5  */
6
7 #ifndef GBM_PRIV_H
8 #define GBM_PRIV_H
9
10 #include <stdint.h>
11 #include <sys/types.h>
12 #include <stdlib.h>
13
14 #include "drv.h"
15 #include "gbm.h"
16
17 struct gbm_device
18 {
19         struct driver *drv;
20 };
21
22 struct gbm_surface
23 {
24 };
25
26 struct gbm_bo
27 {
28         struct gbm_device *gbm;
29         struct bo *bo;
30         uint32_t gbm_format;
31         void *user_data;
32         void (*destroy_user_data)(struct gbm_bo *, void *);
33 };
34
35 #endif