diff options
Diffstat (limited to 'gfx/layers/GLImages.cpp')
-rw-r--r-- | gfx/layers/GLImages.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/gfx/layers/GLImages.cpp b/gfx/layers/GLImages.cpp index c151d991b..008067df7 100644 --- a/gfx/layers/GLImages.cpp +++ b/gfx/layers/GLImages.cpp @@ -1,3 +1,7 @@ +/* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "GLImages.h" #include "GLContext.h" @@ -98,17 +102,5 @@ GLImage::GetAsSourceSurface() return source.forget(); } -#ifdef MOZ_WIDGET_ANDROID -SurfaceTextureImage::SurfaceTextureImage(gl::AndroidSurfaceTexture* aSurfTex, - const gfx::IntSize& aSize, - gl::OriginPos aOriginPos) - : GLImage(ImageFormat::SURFACE_TEXTURE), - mSurfaceTexture(aSurfTex), - mSize(aSize), - mOriginPos(aOriginPos) -{ -} -#endif - } // namespace layers } // namespace mozilla |