diff options
Diffstat (limited to 'gfx/layers/GLImages.h')
-rw-r--r-- | gfx/layers/GLImages.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gfx/layers/GLImages.h b/gfx/layers/GLImages.h index 3e419d4b60..16e31e0538 100644 --- a/gfx/layers/GLImages.h +++ b/gfx/layers/GLImages.h @@ -60,34 +60,6 @@ private: bool mOwns; }; -#ifdef MOZ_WIDGET_ANDROID - -class SurfaceTextureImage : public GLImage { -public: - SurfaceTextureImage(gl::AndroidSurfaceTexture* aSurfTex, - const gfx::IntSize& aSize, - gl::OriginPos aOriginPos); - - gfx::IntSize GetSize() override { return mSize; } - gl::AndroidSurfaceTexture* GetSurfaceTexture() const { - return mSurfaceTexture; - } - gl::OriginPos GetOriginPos() const { - return mOriginPos; - } - - SurfaceTextureImage* AsSurfaceTextureImage() override { - return this; - } - -private: - RefPtr<gl::AndroidSurfaceTexture> mSurfaceTexture; - gfx::IntSize mSize; - gl::OriginPos mOriginPos; -}; - -#endif // MOZ_WIDGET_ANDROID - } // namespace layers } // namespace mozilla |