summaryrefslogtreecommitdiff
path: root/gbm_priv.h
blob: 3dc1e5944584f17554346fa2394e1e2f54bd245d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Copyright 2014 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef GBM_PRIV_H
#define GBM_PRIV_H

#include <stdint.h>
#include <stdlib.h>
#include <sys/types.h>

#include "drv.h"
#include "gbm.h"

struct gbm_device {
	struct driver *drv;
};

struct gbm_surface {
};

struct gbm_bo {
	struct gbm_device *gbm;
	struct bo *bo;
	uint32_t gbm_format;
	void *user_data;
	void (*destroy_user_data)(struct gbm_bo *, void *);
};

#endif