Index: cc/resources/resource_provider.h |
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h |
index b5dccc8f046a71c6a2a33906d745d37727b05ca6..02218cc1cee1814207acbfefad46893155126219 100644 |
--- a/cc/resources/resource_provider.h |
+++ b/cc/resources/resource_provider.h |
@@ -92,6 +92,7 @@ class CC_EXPORT ResourceProvider { |
ResourceId CreateGLTexture(gfx::Size size, |
GLenum format, |
GLenum texture_pool, |
+ GLint wrap_mode, |
TextureUsageHint hint); |
ResourceId CreateBitmap(gfx::Size size); |
@@ -342,8 +343,13 @@ class CC_EXPORT ResourceProvider { |
GLenum format, |
GLenum filter, |
GLenum texture_pool, |
+ GLint wrap_mode, |
TextureUsageHint hint); |
- Resource(uint8_t* pixels, gfx::Size size, GLenum format, GLenum filter); |
+ Resource(uint8_t* pixels, |
+ gfx::Size size, |
+ GLenum format, |
+ GLenum filter, |
+ GLint wrap_mode); |
unsigned gl_id; |
// Pixel buffer used for set pixels without unnecessary copying. |
@@ -369,6 +375,7 @@ class CC_EXPORT ResourceProvider { |
GLenum filter; |
unsigned image_id; |
GLenum texture_pool; |
+ GLint wrap_mode; |
TextureUsageHint hint; |
ResourceType type; |
}; |