OSDN Git Service

Support multi-plane buffers.
[android-x86/external-minigbm.git] / gma500.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_gma500 =
11 {
12         .name = "gma500",
13         .bo_create = gbm_dumb_bo_create,
14         .bo_destroy = gbm_dumb_bo_destroy,
15         .format_list = {
16                 {GBM_FORMAT_RGBX8888, GBM_BO_USE_SCANOUT | GBM_BO_USE_CURSOR | GBM_BO_USE_RENDERING | GBM_BO_USE_WRITE},
17         }
18 };