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

Unified Diff: cc/CCResourceProvider.h

Issue 10961008: cc: Remove TextureUploaderOption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Settle for removing TextureUploaderOption in this CL. I'll figure out what to do with the uploader … 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/CCRendererGLTest.cpp ('k') | cc/CCResourceProvider.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCResourceProvider.h
diff --git a/cc/CCResourceProvider.h b/cc/CCResourceProvider.h
index 8ccfbd776e5705f4b710b4d96ae21b69d03ebc40..9aa9c858899e3de96fed16b9e6e4afeabd71f782 100644
--- a/cc/CCResourceProvider.h
+++ b/cc/CCResourceProvider.h
@@ -26,8 +26,6 @@ class WebGraphicsContext3D;
namespace cc {
-enum TextureUploaderOption { ThrottledUploader, UnthrottledUploader };
-
class IntRect;
class LayerTextureSubImage;
class TextureCopier;
@@ -64,7 +62,7 @@ public:
unsigned syncPoint;
};
- static PassOwnPtr<CCResourceProvider> create(CCGraphicsContext*, TextureUploaderOption);
+ static PassOwnPtr<CCResourceProvider> create(CCGraphicsContext*);
virtual ~CCResourceProvider();
@@ -238,7 +236,7 @@ private:
typedef HashMap<int, Child> ChildMap;
explicit CCResourceProvider(CCGraphicsContext*);
- bool initialize(TextureUploaderOption);
+ bool initialize();
const Resource* lockForRead(ResourceId);
void unlockForRead(ResourceId);
« no previous file with comments | « cc/CCRendererGLTest.cpp ('k') | cc/CCResourceProvider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698