SurfaceTypes.h (771B)
1 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 4; -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 #ifndef SURFACE_TYPES_H_ 7 #define SURFACE_TYPES_H_ 8 9 #include <cstdint> 10 11 namespace mozilla { 12 namespace layers { 13 class LayersIPCChannel; 14 } // namespace layers 15 16 namespace gl { 17 18 enum class SharedSurfaceType : uint8_t { 19 Basic, 20 EGLImageShare, 21 EGLSurfaceANGLE, 22 DXGLInterop, 23 DXGLInterop2, 24 IOSurface, 25 GLXDrawable, 26 SharedGLTexture, 27 AndroidSurfaceTexture, 28 AndroidHardwareBuffer, 29 EGLSurfaceDMABUF, 30 }; 31 32 } // namespace gl 33 } // namespace mozilla 34 35 #endif // SURFACE_TYPES_H_