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
12 // As defined by the android-x86 implementation of gralloc_drm.
14 // pixel format definitions
16 HAL_PIXEL_FORMAT_DRM_NV12
= 0x102,
20 // used with the 'perform' method of gralloc_module_t
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,
31 #endif /* VENDOR_GRALLOCDRM_H */