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

Unified Diff: cc/quads/shared_quad_state.h

Issue 2502373003: stop using SkXfermode -- use SkBlendMode instead (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « cc/quads/render_pass_unittest.cc ('k') | cc/quads/shared_quad_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/shared_quad_state.h
diff --git a/cc/quads/shared_quad_state.h b/cc/quads/shared_quad_state.h
index 35ad110935ab8999833942dd104e8a1eb670c892..11119eae045d9b033963def20ce8399b6932e3cf 100644
--- a/cc/quads/shared_quad_state.h
+++ b/cc/quads/shared_quad_state.h
@@ -8,7 +8,7 @@
#include <memory>
#include "cc/base/cc_export.h"
-#include "third_party/skia/include/core/SkXfermode.h"
+#include "third_party/skia/include/core/SkBlendMode.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/transform.h"
@@ -37,7 +37,7 @@ class CC_EXPORT SharedQuadState {
const gfx::Rect& clip_rect,
bool is_clipped,
float opacity,
- SkXfermode::Mode blend_mode,
+ SkBlendMode blend_mode,
int sorting_context_id);
void AsValueInto(base::trace_event::TracedValue* dict) const;
@@ -52,7 +52,7 @@ class CC_EXPORT SharedQuadState {
gfx::Rect clip_rect;
bool is_clipped;
float opacity;
- SkXfermode::Mode blend_mode;
+ SkBlendMode blend_mode;
int sorting_context_id;
};
« no previous file with comments | « cc/quads/render_pass_unittest.cc ('k') | cc/quads/shared_quad_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698