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

Unified Diff: cc/output/ca_layer_overlay.h

Issue 2205133003: Implement new RPDQ copy logic for CALayer promotion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp60_more_refactor
Patch Set: Comments from ccameron. Created 4 years, 4 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/ca_layer_overlay.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/ca_layer_overlay.h
diff --git a/cc/output/ca_layer_overlay.h b/cc/output/ca_layer_overlay.h
index 0b3f79d3f6a3e6a110b5ad601770655b7d3087a3..17b4be223679c7bbdafa90f499bc869cd0dc3d2d 100644
--- a/cc/output/ca_layer_overlay.h
+++ b/cc/output/ca_layer_overlay.h
@@ -15,6 +15,7 @@
namespace cc {
class DrawQuad;
+class RenderPassDrawQuad;
class ResourceProvider;
// Holds information that is frequently shared between consecutive
@@ -23,7 +24,6 @@ class CC_EXPORT CALayerOverlaySharedState
: public base::RefCounted<CALayerOverlaySharedState> {
public:
CALayerOverlaySharedState() {}
-
// Layers in a non-zero sorting context exist in the same 3D space and should
// intersect.
unsigned sorting_context_id = 0;
@@ -63,6 +63,9 @@ class CC_EXPORT CALayerOverlay {
unsigned edge_aa_mask = 0;
// The minification and magnification filters for the CALayer.
unsigned filter;
+ // If |rpdq| is present, then the renderer must draw the filter effects and
+ // copy the result into an IOSurface.
+ const RenderPassDrawQuad* rpdq = nullptr;
};
typedef std::vector<CALayerOverlay> CALayerOverlayList;
« no previous file with comments | « no previous file | cc/output/ca_layer_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698