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

Unified Diff: cc/output/dc_layer_overlay.h

Issue 2769573002: Return overlay resources to renderers in larger batches. (Closed)
Patch Set: make friend Created 3 years, 9 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 | « no previous file | cc/output/dc_layer_overlay.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/dc_layer_overlay.h
diff --git a/cc/output/dc_layer_overlay.h b/cc/output/dc_layer_overlay.h
index e1d70438991103c960d4eceb6adf9384c3f57291..5ae861a22d85804fccc5d30b628e4feef893a06e 100644
--- a/cc/output/dc_layer_overlay.h
+++ b/cc/output/dc_layer_overlay.h
@@ -44,9 +44,9 @@ class CC_EXPORT DCLayerOverlay {
// State that is frequently shared between consecutive DCLayerOverlays.
scoped_refptr<DCLayerOverlaySharedState> shared_state;
- // Texture that corresponds to an IOSurface to set as the content of the
- // DCLayer. If this is 0 then the DCLayer is a solid color.
- unsigned contents_resource_id = 0;
+ // Resource ids that correspond to the DXGI textures to set as the contents
+ // of the DCLayer.
+ DrawQuad::Resources resources;
// The contents rect property for the DCLayer.
gfx::RectF contents_rect;
// The bounds for the DCLayer in pixels.
« no previous file with comments | « no previous file | cc/output/dc_layer_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698