| Index: content/common/gpu/client/gl_helper.h
|
| diff --git a/content/common/gpu/client/gl_helper.h b/content/common/gpu/client/gl_helper.h
|
| index fd9f83a9cf047a49603cd9611d49d4e80105549a..badbf67b383e5843fd17d197a6490a2b09427815 100644
|
| --- a/content/common/gpu/client/gl_helper.h
|
| +++ b/content/common/gpu/client/gl_helper.h
|
| @@ -65,6 +65,12 @@ class GLHelper {
|
| WebKit::WebGLId CompileShaderFromSource(const WebKit::WGC3Dchar* source,
|
| WebKit::WGC3Denum type);
|
|
|
| + // Copies all pixels from |previous_texture| into |texture| that are
|
| + // inside the region covered by |old_damage| but not part of |new_damage|.
|
| + void CopySubBufferDamage(WebKit::WebGLId texture,
|
| + WebKit::WebGLId previous_texture,
|
| + const gfx::Rect& new_damage,
|
| + const gfx::Rect& old_damage);
|
| private:
|
| class CopyTextureToImpl;
|
|
|
|
|