blob: 1fa81de5b67e43375d1e44e221a5180b5184cf03 [file] [log] [blame]
Gurchetan Singhd6b8b032017-05-31 14:31:31 -07001/*
2 * Copyright 2017 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 CROS_GRALLOC_TYPES_H
8#define CROS_GRALLOC_TYPES_H
9
Gurchetan Singhd6b8b032017-05-31 14:31:31 -070010struct cros_gralloc_buffer_descriptor {
11 uint32_t width;
12 uint32_t height;
13 uint32_t consumer_usage;
14 uint32_t producer_usage;
15 uint32_t droid_format;
16 uint32_t drm_format;
Gurchetan Singha1892b22017-09-28 16:40:52 -070017 uint64_t use_flags;
Gurchetan Singhd6b8b032017-05-31 14:31:31 -070018};
19
20#endif