summaryrefslogtreecommitdiffstats
path: root/cc/CCIOSurfaceLayerImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/CCIOSurfaceLayerImpl.h')
-rw-r--r--cc/CCIOSurfaceLayerImpl.h41
1 files changed, 2 insertions, 39 deletions
diff --git a/cc/CCIOSurfaceLayerImpl.h b/cc/CCIOSurfaceLayerImpl.h
index 238e27e..6cbf984 100644
--- a/cc/CCIOSurfaceLayerImpl.h
+++ b/cc/CCIOSurfaceLayerImpl.h
@@ -2,42 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CCIOSurfaceLayerImpl_h
-#define CCIOSurfaceLayerImpl_h
-
-#include "CCLayerImpl.h"
-#include "IntSize.h"
-
-namespace cc {
-
-class CCIOSurfaceLayerImpl : public CCLayerImpl {
-public:
- static scoped_ptr<CCIOSurfaceLayerImpl> create(int id)
- {
- return make_scoped_ptr(new CCIOSurfaceLayerImpl(id));
- }
- virtual ~CCIOSurfaceLayerImpl();
-
- void setIOSurfaceProperties(unsigned ioSurfaceId, const IntSize&);
-
- virtual void appendQuads(CCQuadSink&, CCAppendQuadsData&) OVERRIDE;
-
- virtual void willDraw(CCResourceProvider*) OVERRIDE;
- virtual void didLoseContext() OVERRIDE;
-
- virtual void dumpLayerProperties(std::string*, int indent) const OVERRIDE;
-
-private:
- explicit CCIOSurfaceLayerImpl(int);
-
- virtual const char* layerTypeAsString() const OVERRIDE;
-
- unsigned m_ioSurfaceId;
- IntSize m_ioSurfaceSize;
- bool m_ioSurfaceChanged;
- unsigned m_ioSurfaceTextureId;
-};
-
-}
-
-#endif // CCIOSurfaceLayerImpl_h
+// Temporary forwarding header
+#include "cc/io_surface_layer_impl.h"