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

Unified Diff: cc/resources/scoped_resource.h

Issue 486853002: cc: Use a normal texture for background texture. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TextureHintImmutableFramebuffer because fbo binding immutable texture is efficient. Created 6 years, 4 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
Index: cc/resources/scoped_resource.h
diff --git a/cc/resources/scoped_resource.h b/cc/resources/scoped_resource.h
index 9f58395a94cc555d9f3afb5f8b5ccdb8d4e67d5c..f2c1a0d8bf9b7f4a8557ddb9d6f3fee31f116c5b 100644
--- a/cc/resources/scoped_resource.h
+++ b/cc/resources/scoped_resource.h
@@ -26,7 +26,7 @@ class CC_EXPORT ScopedResource : public Resource {
virtual ~ScopedResource();
void Allocate(const gfx::Size& size,
- ResourceProvider::TextureUsageHint hint,
+ ResourceProvider::TextureHint hint,
ResourceFormat format);
void AllocateManaged(const gfx::Size& size,
GLenum target,

Powered by Google App Engine
This is Rietveld 408576698