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

Unified Diff: cc/output/delegated_frame_data.h

Issue 311253004: Invert DSF to map from delegated frame to layer space (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build Created 6 years, 6 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: cc/output/delegated_frame_data.h
diff --git a/cc/output/delegated_frame_data.h b/cc/output/delegated_frame_data.h
index f7b89bce8433a3d412e122f38041a351c1490c73..644f180f55a9bf343343aaf1d4ea7d0d35f9c796 100644
--- a/cc/output/delegated_frame_data.h
+++ b/cc/output/delegated_frame_data.h
@@ -18,6 +18,9 @@ class CC_EXPORT DelegatedFrameData {
DelegatedFrameData();
~DelegatedFrameData();
+ // The device scale factor used when generating this frame.
+ float device_scale_factor;
+
TransferableResourceArray resource_list;
ScopedPtrVector<RenderPass> render_pass_list;

Powered by Google App Engine
This is Rietveld 408576698