Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(686)

Unified Diff: cc/UnthrottledTextureUploader.cpp

Issue 10947047: Fix remaining cc files to compile with Clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix FakeCCDelayBasedTimeSource Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/UnthrottledTextureUploader.h ('k') | cc/cc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/UnthrottledTextureUploader.cpp
diff --git a/cc/UnthrottledTextureUploader.cpp b/cc/UnthrottledTextureUploader.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..8582eb3ecee7c1ad75e2a724686930f9d1a8f6ac
--- /dev/null
+++ b/cc/UnthrottledTextureUploader.cpp
@@ -0,0 +1,26 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+
+#include "UnthrottledTextureUploader.h"
+
+namespace cc {
+
+bool UnthrottledTextureUploader::isBusy()
+{
+ return false;
+}
+
+double UnthrottledTextureUploader::estimatedTexturesPerSecond()
+{
+ return std::numeric_limits<double>::max();
+}
+
+void UnthrottledTextureUploader::uploadTexture(CCResourceProvider* resourceProvider, Parameters upload)
+{
+ upload.texture->updateRect(resourceProvider, upload.sourceRect, upload.destOffset);
+}
+
+}
« no previous file with comments | « cc/UnthrottledTextureUploader.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698