Index: cc/resource_provider.h |
diff --git a/cc/resource_provider.h b/cc/resource_provider.h |
index 6d951dfab17c85d750c7238f8e3990da59eb935b..d90d2244340edfdc731913b8505f1dde6c5e4005 100644 |
--- a/cc/resource_provider.h |
+++ b/cc/resource_provider.h |
@@ -72,8 +72,12 @@ public: |
// Creates a resource of the default resource type. |
ResourceId createResource(const gfx::Size&, GLenum format, TextureUsageHint); |
+ // Creates a resource which is tagged as being managed for GPU memory accounting purposes. |
+ ResourceId createManagedResource(const gfx::Size&, GLenum format, TextureUsageHint); |
+ |
// You can also explicitly create a specific resource type. |
- ResourceId createGLTexture(const gfx::Size&, GLenum format, TextureUsageHint); |
+ ResourceId createGLTexture(const gfx::Size&, GLenum format, GLenum texturePool, TextureUsageHint); |
+ |
ResourceId createBitmap(const gfx::Size&); |
// Wraps an external texture into a GL resource. |
ResourceId createResourceFromExternalTexture(unsigned textureId); |