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

Unified Diff: skia/ext/benchmarking_canvas.h

Issue 1001833005: Update from https://crrev.com/320343 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Supress Created 5 years, 9 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 | « skia/ext/analysis_canvas_unittest.cc ('k') | skia/ext/benchmarking_canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/benchmarking_canvas.h
diff --git a/skia/ext/benchmarking_canvas.h b/skia/ext/benchmarking_canvas.h
index 4f2e25718e5060822ed8ea12a8cbf83952f853f5..a33c42d9fd1ac9d274348f57b11f20580b5470ee 100644
--- a/skia/ext/benchmarking_canvas.h
+++ b/skia/ext/benchmarking_canvas.h
@@ -6,8 +6,11 @@
#define SKIA_EXT_BENCHMARKING_CANVAS_H_
#include "base/values.h"
+#include "skia/ext/refptr.h"
#include "third_party/skia/include/utils/SkNWayCanvas.h"
+class SkXfermode;
+
namespace skia {
class SK_API BenchmarkingCanvas : public SkNWayCanvas {
@@ -16,8 +19,6 @@ public:
~BenchmarkingCanvas() override;
enum Flags {
- // TODO(fmalita): add overdraw visualization support
- // (http://crbug.com/461534)
kOverdrawVisualization_Flag = 0x01,
};
@@ -85,6 +86,7 @@ private:
base::ListValue op_records_;
unsigned flags_;
+ RefPtr<SkXfermode> overdraw_xfermode_;
};
}
« no previous file with comments | « skia/ext/analysis_canvas_unittest.cc ('k') | skia/ext/benchmarking_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698