Index: cc/output/ca_layer_overlay.h |
diff --git a/cc/output/ca_layer_overlay.h b/cc/output/ca_layer_overlay.h |
index e26145c93f48f514793bdc18f8d17f0a78851f80..e64f0d97f4457bf18a6a20882ec9873731e80a94 100644 |
--- a/cc/output/ca_layer_overlay.h |
+++ b/cc/output/ca_layer_overlay.h |
@@ -10,6 +10,7 @@ |
#include "third_party/skia/include/core/SkColor.h" |
#include "third_party/skia/include/core/SkMatrix44.h" |
#include "ui/gfx/geometry/rect_f.h" |
+#include "ui/gl/ca_renderer_layer_params.h" |
namespace cc { |
@@ -62,6 +63,11 @@ class CC_EXPORT CALayerOverlay { |
unsigned edge_aa_mask = 0; |
// The minification and magnification filters for the CALayer. |
unsigned filter; |
+ |
+ // If valid, the renderer must copy the contents of the render pass into an |
+ // overlay resource to use as the contents. |
+ RenderPassId render_pass_id; |
+ ui::CARendererLayerParams::FilterEffects filter_effects; |
}; |
typedef std::vector<CALayerOverlay> CALayerOverlayList; |
@@ -73,6 +79,9 @@ bool ProcessForCALayerOverlays(ResourceProvider* resource_provider, |
const QuadList& quad_list, |
CALayerOverlayList* ca_layer_overlays); |
+// Allows RenderPassDrawQuads to be converted to CALayerOverlays. |
+void CC_EXPORT EnableRenderPassDrawQuadForTesting(); |
+ |
} // namespace cc |
#endif // CC_OUTPUT_CA_LAYER_OVERLAY_H_ |