Update V8 to version 4.2.36 (based on d0f3e5302c8d89fee4995b86a2b83c9ecf5d1e7a).
[chromium-blink-merge.git] / third_party / hwcplus / include / vendor / gralloc_drm_defs.h
blob355e207e048b2385d36a45494b84f4f95eb45af5
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef VENDOR_GRALLOCDRM_H
6 #define VENDOR_GRALLOCDRM_H
8 #include <sys/cdefs.h>
10 __BEGIN_DECLS
12 // As defined by the android-x86 implementation of gralloc_drm.
14 // pixel format definitions
15 enum {
16 HAL_PIXEL_FORMAT_DRM_NV12 = 0x102,
20 // used with the 'perform' method of gralloc_module_t
21 enum {
22 GRALLOC_MODULE_PERFORM_GET_DRM_FD = 0x80000002,
23 GRALLOC_MODULE_PERFORM_GET_DRM_MAGIC = 0x80000003,
24 GRALLOC_MODULE_PERFORM_AUTH_DRM_MAGIC = 0x80000004,
25 GRALLOC_MODULE_PERFORM_ENTER_VT = 0x80000005,
26 GRALLOC_MODULE_PERFORM_LEAVE_VT = 0x80000006,
29 __END_DECLS
31 #endif /* VENDOR_GRALLOCDRM_H */