1 // 2 // Copyright 2021 The ANGLE Project 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 // dma_buf_utils.h: Utilities to interact with Linux dma bufs. 8 9 #ifndef COMMON_LINUX_DMA_BUF_UTILS_H_ 10 #define COMMON_LINUX_DMA_BUF_UTILS_H_ 11 12 #include <angle_gl.h> 13 14 namespace angle 15 { 16 GLenum DrmFourCCFormatToGLInternalFormat(int format, bool *isYUV); 17 } // namespace angle 18 19 #endif // COMMON_LINUX_DMA_BUF_UTILS_H_ 20