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

Unified Diff: content/browser/renderer_host/compositing_iosurface_mac.h

Issue 15689003: Part 3/3 (RWH/IOSurface) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/browser/renderer_host/compositing_iosurface_mac.h
diff --git a/content/browser/renderer_host/compositing_iosurface_mac.h b/content/browser/renderer_host/compositing_iosurface_mac.h
index af2436f17e3cf7324387d6c91dd1fa181b1f0c3c..2070aa5d4fdc8943e26db692061d1b83f549a79d 100644
--- a/content/browser/renderer_host/compositing_iosurface_mac.h
+++ b/content/browser/renderer_host/compositing_iosurface_mac.h
@@ -59,7 +59,8 @@ class CompositingIOSurfaceMac {
// Set IOSurface that will be drawn on the next NSView drawRect.
void SetIOSurface(uint64 io_surface_handle,
- const gfx::Size& size);
+ const gfx::Size& size,
+ float scale_factor);
// Get the CGL renderer ID currently associated with this context.
int GetRendererID();
@@ -115,8 +116,6 @@ class CompositingIOSurfaceMac {
// In cocoa view units / DIPs.
const gfx::Size& io_surface_size() const { return io_surface_size_; }
- void SetDeviceScaleFactor(float scale_factor);
-
bool is_vsync_disabled() const;
// Get vsync scheduling parameters.

Powered by Google App Engine
This is Rietveld 408576698