summaryrefslogtreecommitdiffstats
path: root/gfx/layers/opengl/TextureClientOGL.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/opengl/TextureClientOGL.h')
-rw-r--r--gfx/layers/opengl/TextureClientOGL.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/gfx/layers/opengl/TextureClientOGL.h b/gfx/layers/opengl/TextureClientOGL.h
index 6555f138a..57e05468a 100644
--- a/gfx/layers/opengl/TextureClientOGL.h
+++ b/gfx/layers/opengl/TextureClientOGL.h
@@ -48,41 +48,6 @@ protected:
const gfx::IntSize mSize;
};
-#ifdef MOZ_WIDGET_ANDROID
-
-class AndroidSurfaceTextureData : public TextureData
-{
-public:
- static already_AddRefed<TextureClient>
- CreateTextureClient(gl::AndroidSurfaceTexture* aSurfTex,
- gfx::IntSize aSize,
- gl::OriginPos aOriginPos,
- LayersIPCChannel* aAllocator,
- TextureFlags aFlags);
-
- ~AndroidSurfaceTextureData();
-
- virtual void FillInfo(TextureData::Info& aInfo) const override;
-
- virtual bool Serialize(SurfaceDescriptor& aOutDescriptor) override;
-
- // Useless functions.
- virtual bool Lock(OpenMode) override { return true; }
-
- virtual void Unlock() override {}
-
- // Our data is always owned externally.
- virtual void Deallocate(LayersIPCChannel*) override {}
-
-protected:
- AndroidSurfaceTextureData(gl::AndroidSurfaceTexture* aSurfTex, gfx::IntSize aSize);
-
- const RefPtr<gl::AndroidSurfaceTexture> mSurfTex;
- const gfx::IntSize mSize;
-};
-
-#endif // MOZ_WIDGET_ANDROID
-
} // namespace layers
} // namespace mozilla