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

Unified Diff: cc/resources/scoped_resource.h

Issue 1422103003: cc: Remove the ability to specify a GL texture target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remote target handle changes Created 5 years, 2 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 b3b87b7f76fd824f619f00ee45bf758987bd5acb..927e7ebbe13669beb8d96f7908c81f00361253e4 100644
--- a/cc/resources/scoped_resource.h
+++ b/cc/resources/scoped_resource.h
@@ -28,9 +28,8 @@ class CC_EXPORT ScopedResource : public Resource {
void Allocate(const gfx::Size& size,
ResourceProvider::TextureHint hint,
ResourceFormat format);
- void AllocateWithTextureTarget(const gfx::Size& size,
- GLenum target,
- ResourceFormat format);
+ void AllocateWithImageTextureTarget(const gfx::Size& size,
+ ResourceFormat format);
void Free();
protected:

Powered by Google App Engine
This is Rietveld 408576698