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

Unified Diff: ui/accelerated_widget_mac/ca_renderer_layer_tree.h

Issue 1893273005: Hook up plumbing for minification/magnification filters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp66
Patch Set: Fix test. Created 4 years, 8 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: ui/accelerated_widget_mac/ca_renderer_layer_tree.h
diff --git a/ui/accelerated_widget_mac/ca_renderer_layer_tree.h b/ui/accelerated_widget_mac/ca_renderer_layer_tree.h
index 12005c3dca9eaf45f7d29198fbcf59379e34b6ee..7e7e31f9fb7422f5a8bc26b1ae95c7d51e47d0d5 100644
--- a/ui/accelerated_widget_mac/ca_renderer_layer_tree.h
+++ b/ui/accelerated_widget_mac/ca_renderer_layer_tree.h
@@ -48,7 +48,8 @@ class ACCELERATED_WIDGET_MAC_EXPORT CARendererLayerTree {
const gfx::Rect& rect,
unsigned background_color,
unsigned edge_aa_mask,
- float opacity);
+ float opacity,
+ unsigned filter);
// Create a CALayer tree for the scheduled layers, and set |superlayer| to
// have only this tree as its sublayers. If |old_tree| is non-null, then try
@@ -92,7 +93,8 @@ class ACCELERATED_WIDGET_MAC_EXPORT CARendererLayerTree {
const gfx::Rect& rect,
unsigned background_color,
unsigned edge_aa_mask,
- float opacity);
+ float opacity,
+ unsigned filter);
// Allocate CALayers for this layer and its children, and set their
// properties appropriately. Re-use the CALayers from |old_layer| if
@@ -126,7 +128,8 @@ class ACCELERATED_WIDGET_MAC_EXPORT CARendererLayerTree {
const gfx::Rect& rect,
unsigned background_color,
unsigned edge_aa_mask,
- float opacity);
+ float opacity,
+ unsigned filter);
void CommitToCA(CALayer* superlayer,
ClipAndSortingLayer* old_layer,
float scale_factor);
@@ -155,7 +158,8 @@ class ACCELERATED_WIDGET_MAC_EXPORT CARendererLayerTree {
const gfx::Rect& rect,
unsigned background_color,
unsigned edge_aa_mask,
- float opacity);
+ float opacity,
+ unsigned filter);
void CommitToCA(CALayer* superlayer,
TransformLayer* old_layer,
float scale_factor);
@@ -174,7 +178,8 @@ class ACCELERATED_WIDGET_MAC_EXPORT CARendererLayerTree {
const gfx::Rect& rect,
unsigned background_color,
unsigned edge_aa_mask,
- float opacity);
+ float opacity,
+ unsigned filter);
ContentLayer(ContentLayer&& layer);
// See the behavior of RootLayer for the effects of these functions on the
@@ -196,6 +201,7 @@ class ACCELERATED_WIDGET_MAC_EXPORT CARendererLayerTree {
// the edge antialiasing mask passed to the constructor.
CAEdgeAntialiasingMask ca_edge_aa_mask = 0;
float opacity = 1;
+ NSString* const ca_filter = nil;
base::scoped_nsobject<CALayer> ca_layer;
// If this layer's contents can be represented as an
« no previous file with comments | « ui/accelerated_widget_mac/ca_layer_tree_unittest_mac.mm ('k') | ui/accelerated_widget_mac/ca_renderer_layer_tree.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698