Bug 1890689 accumulate input in LargerReceiverBlockSizeThanDesiredBuffering GTest...
[gecko.git] / gfx / gl / SurfaceTypes.h
blob5967b6f7b4fe0fe8c4e5bbd02e35a71d66fde3d7
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/. */
6 #ifndef SURFACE_TYPES_H_
7 #define SURFACE_TYPES_H_
9 #include <cstdint>
11 namespace mozilla {
12 namespace layers {
13 class LayersIPCChannel;
14 } // namespace layers
16 namespace gl {
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,
32 } // namespace gl
33 } // namespace mozilla
35 #endif // SURFACE_TYPES_H_