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

Unified Diff: cc/resources/scoped_resource.h

Issue 21159007: cc: Adding support for RGBA_4444 tile textures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: deprecate GLenum format throughout cc Created 7 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
Index: cc/resources/scoped_resource.h
diff --git a/cc/resources/scoped_resource.h b/cc/resources/scoped_resource.h
index 6a2c8f1e72760f3513d53e856e284ee2bd5365c9..b95954b596351195ae18a620c043e2160d9c799d 100644
--- a/cc/resources/scoped_resource.h
+++ b/cc/resources/scoped_resource.h
@@ -26,8 +26,8 @@ class CC_EXPORT ScopedResource : public Resource {
virtual ~ScopedResource();
bool Allocate(gfx::Size size,
- GLenum format,
- ResourceProvider::TextureUsageHint hint);
+ ResourceProvider::TextureUsageHint hint,
+ ResourceProvider::TextureFormat texture_format);
void Free();
void Leak();

Powered by Google App Engine
This is Rietveld 408576698