OSDN Git Service

Import minigbm
[android-x86/external-minigbm.git] / cirrus.c
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 #include "gbm_priv.h"
8 #include "helpers.h"
9
10 struct gbm_driver gbm_driver_cirrus =
11 {
12         .name = "cirrus",
13         .bo_create = gbm_dumb_bo_create,
14         .bo_destroy = gbm_dumb_bo_destroy,
15         .format_list = {
16                 {GBM_FORMAT_RGB888, GBM_BO_USE_SCANOUT | GBM_BO_USE_CURSOR | GBM_BO_USE_RENDERING | GBM_BO_USE_WRITE},
17         }
18 };