michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* vim: set ts=8 sts=4 et sw=4 tw=80: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef EGLIMAGEHELPERS_H_ michael@0: #define EGLIMAGEHELPERS_H_ michael@0: michael@0: typedef void* EGLImage; michael@0: michael@0: namespace mozilla { michael@0: namespace gl { michael@0: class GLContext; michael@0: } michael@0: michael@0: namespace layers { michael@0: michael@0: EGLImage EGLImageCreateFromNativeBuffer(gl::GLContext* aGL, void* aBuffer); michael@0: void EGLImageDestroy(gl::GLContext* aGL, EGLImage aImage); michael@0: michael@0: } // namespace layers michael@0: } // namespace mozilla michael@0: michael@0: #endif // EGLIMAGEHELPERS_H_