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

Unified Diff: skia/ext/paint_simplifier.h

Issue 12210081: Paint low-res tiles without expensive filters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: skia/ext/paint_simplifier.h
diff --git a/skia/ext/paint_simplifier.h b/skia/ext/paint_simplifier.h
new file mode 100644
index 0000000000000000000000000000000000000000..20ed857d02e3ebdd343cc02bd10a3d74e82ff9f2
--- /dev/null
+++ b/skia/ext/paint_simplifier.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SKIA_EXT_PAINT_SIMPLIFIER_H
+#define SKIA_EXT_PAINT_SIMPLIFIER_H
+
+#include "base/values.h"
+#include "third_party/skia/include/core/SkDrawFilter.h"
+
+class SkPaint;
+
+namespace skia {
+
reed1 2013/02/08 14:15:26 No comment on what it does, or what it suppresses?
Tom Hudson 2013/02/08 14:47:39 Done.
+class SK_API PaintSimplifier : public SkDrawFilter {
+ public:
+ PaintSimplifier();
+ virtual ~PaintSimplifier();
+ virtual bool filter(SkPaint*, Type) OVERRIDE;
+
+ private:
+ typedef SkDrawFilter INHERITED;
+};
+
+} // namespace skia
+
+#endif // SKIA_EXT_PAINT_SIMPLIFIER_H
+

Powered by Google App Engine
This is Rietveld 408576698