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

Unified Diff: ui/gl/ca_renderer_layer_params.h

Issue 2186693002: Implement filter effects in Core Animation using CAFilters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp50_base
Patch Set: Add test. Created 4 years, 5 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 | « ui/accelerated_widget_mac/ca_renderer_layer_tree.mm ('k') | ui/gl/ca_renderer_layer_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/ca_renderer_layer_params.h
diff --git a/ui/gl/ca_renderer_layer_params.h b/ui/gl/ca_renderer_layer_params.h
index 22ba8aacf8706b8a736da5a39da47d78e231bf2d..9a55767512169d44fba4827af21198a2dcba0db3 100644
--- a/ui/gl/ca_renderer_layer_params.h
+++ b/ui/gl/ca_renderer_layer_params.h
@@ -69,6 +69,8 @@ struct GL_EXPORT CARendererLayerParams {
float amount = 0;
gfx::Point drop_shadow_offset;
SkColor drop_shadow_color = 0;
+
+ bool operator==(const FilterEffect& rhs) const;
};
using FilterEffects = std::vector<FilterEffect>;
@@ -77,4 +79,7 @@ struct GL_EXPORT CARendererLayerParams {
} // namespace ui
+bool operator==(const ui::CARendererLayerParams::FilterEffect& a,
+ const ui::CARendererLayerParams::FilterEffect& b);
piman 2016/07/26 20:42:43 Why the need for this one? ADL should find FilterE
erikchen 2016/07/26 21:49:26 I thought I needed this for std::vector<T>::operat
+
#endif // UI_GL_CA_RENDERER_LAYER_PARAMS_H_
« no previous file with comments | « ui/accelerated_widget_mac/ca_renderer_layer_tree.mm ('k') | ui/gl/ca_renderer_layer_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698