summaryrefslogtreecommitdiffstats
path: root/cc/TextureUploader.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/TextureUploader.h')
-rw-r--r--cc/TextureUploader.h30
1 files changed, 2 insertions, 28 deletions
diff --git a/cc/TextureUploader.h b/cc/TextureUploader.h
index 5505204..0cf73f7 100644
--- a/cc/TextureUploader.h
+++ b/cc/TextureUploader.h
@@ -2,31 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef TextureUploader_h
-#define TextureUploader_h
-
-#include "LayerTextureUpdater.h"
-
-namespace cc {
-
-class TextureUploader {
-public:
- struct Parameters {
- LayerTextureUpdater::Texture* texture;
- IntRect sourceRect;
- IntSize destOffset;
- };
-
- virtual ~TextureUploader() { }
-
- virtual size_t numBlockingUploads() = 0;
- virtual void markPendingUploadsAsNonBlocking() = 0;
-
- // Returns our throughput on the GPU process
- virtual double estimatedTexturesPerSecond() = 0;
- virtual void uploadTexture(CCResourceProvider*, Parameters) = 0;
-};
-
-}
-
-#endif
+// Temporary forwarding header
+#include "cc/texture_uploader.h"