| Index: cc/resources/resource_provider.h
|
| diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
|
| index 412c92b377ba27815d68bef2d9235288e5633d36..34ba19b0206de511c673b64ed088be61b7a907e5 100644
|
| --- a/cc/resources/resource_provider.h
|
| +++ b/cc/resources/resource_provider.h
|
| @@ -91,6 +91,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);
|
| @@ -310,6 +311,8 @@ class CC_EXPORT ResourceProvider {
|
| // For tests only!
|
| void CreateForTesting(ResourceId id);
|
|
|
| + GLint WrapModeForTesting(ResourceId id);
|
| +
|
| // Sets the current read fence. If a resource is locked for read
|
| // and has read fences enabled, the resource will not allow writes
|
| // until this fence has passed.
|
| @@ -335,8 +338,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.
|
| @@ -363,6 +371,7 @@ class CC_EXPORT ResourceProvider {
|
| GLenum filter;
|
| unsigned image_id;
|
| GLenum texture_pool;
|
| + GLint wrap_mode;
|
| TextureUsageHint hint;
|
| ResourceType type;
|
| };
|
|
|