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

Unified Diff: content/browser/compositor/reflector_impl.h

Issue 2392183003: cc: Remove SurfaceSize from OutputSurface. (Closed)
Patch Set: nosurfacesize: ozonethinger Created 4 years, 2 months 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: content/browser/compositor/reflector_impl.h
diff --git a/content/browser/compositor/reflector_impl.h b/content/browser/compositor/reflector_impl.h
index 9e5355bd45447e944e5de7d1a36cc7b28590b736..10fea9353efca215a5184e02d55a6a7c1cdb25c2 100644
--- a/content/browser/compositor/reflector_impl.h
+++ b/content/browser/compositor/reflector_impl.h
@@ -47,11 +47,12 @@ class CONTENT_EXPORT ReflectorImpl : public ui::Reflector {
// Called in |BrowserCompositorOutputSurface::SwapBuffers| to copy
// the full screen image to the |mailbox_| texture.
- void OnSourceSwapBuffers();
+ void OnSourceSwapBuffers(const gfx::Size& surface_size);
// Called in |BrowserCompositorOutputSurface::PostSubBuffer| copy
// the sub image given by |rect| to the |mailbox_| texture.
- void OnSourcePostSubBuffer(const gfx::Rect& rect);
+ void OnSourcePostSubBuffer(const gfx::Rect& swap_rect,
+ const gfx::Size& surface_size);
// Called when the source surface is bound and available.
void OnSourceSurfaceReady(BrowserCompositorOutputSurface* surface);

Powered by Google App Engine
This is Rietveld 408576698