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

Unified Diff: ui/gfx/compositor/compositor_gl.h

Issue 8764001: Plumb damage rect to browser compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years 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: ui/gfx/compositor/compositor_gl.h
diff --git a/ui/gfx/compositor/compositor_gl.h b/ui/gfx/compositor/compositor_gl.h
index c4ef2753956cea8d88d1afe202b3f9ad0570e63d..ec55ae4433d59e55b15588e935d7e45c53c35f87 100644
--- a/ui/gfx/compositor/compositor_gl.h
+++ b/ui/gfx/compositor/compositor_gl.h
@@ -77,6 +77,8 @@ class COMPOSITOR_EXPORT TextureGL : public Texture {
virtual void Draw(const ui::TextureDrawParams& params,
const gfx::Rect& clip_bounds_in_texture) OVERRIDE;
+ const gfx::Size& size() const { return size_; }
sky 2011/12/08 17:39:05 Is this needed?
jonathan.backer 2011/12/08 18:41:44 Is now. I've got rid of the conditional compile in
+
protected:
explicit TextureGL(const gfx::Size& size);
virtual ~TextureGL();

Powered by Google App Engine
This is Rietveld 408576698