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

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: scale android layer up, remove cc::DRL::SetDisplaySize 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
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl_unittest.cc ('k') | cc/output/delegated_frame_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
danakj 2014/06/10 15:44:57 This is already available in CompositorFrameMetada
+
TransferableResourceArray resource_list;
ScopedPtrVector<RenderPass> render_pass_list;
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl_unittest.cc ('k') | cc/output/delegated_frame_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698