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

Unified Diff: content/renderer/gpu/mailbox_output_surface.h

Issue 15688002: Part 1/3 (compositor) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update Android build Created 7 years, 7 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/renderer/gpu/mailbox_output_surface.h
diff --git a/content/renderer/gpu/mailbox_output_surface.h b/content/renderer/gpu/mailbox_output_surface.h
index 7c159bed8492104188d757a64e88b07f24fd79b1..77fc7d468320827c17ad9c3c071c2fa37bc05b9e 100644
--- a/content/renderer/gpu/mailbox_output_surface.h
+++ b/content/renderer/gpu/mailbox_output_surface.h
@@ -32,7 +32,7 @@ class MailboxOutputSurface : public CompositorOutputSurface {
virtual void SendFrameToParentCompositor(cc::CompositorFrame* frame) OVERRIDE;
virtual void EnsureBackbuffer() OVERRIDE;
virtual void DiscardBackbuffer() OVERRIDE;
- virtual void Reshape(gfx::Size size) OVERRIDE;
+ virtual void Reshape(gfx::Size size, float scale_factor) OVERRIDE;
virtual void BindFramebuffer() OVERRIDE;
virtual void PostSubBuffer(gfx::Rect rect, const cc::LatencyInfo&) OVERRIDE;
virtual void SwapBuffers(const cc::LatencyInfo&) OVERRIDE;
« no previous file with comments | « content/renderer/android/synchronous_compositor_output_surface.cc ('k') | content/renderer/gpu/mailbox_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698