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

Unified Diff: skia/ext/paint_simplifier.h

Issue 610743002: skia/ext: Removed paint simplifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/BUILD.gn ('k') | skia/ext/paint_simplifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/paint_simplifier.h
diff --git a/skia/ext/paint_simplifier.h b/skia/ext/paint_simplifier.h
deleted file mode 100644
index 0eff833727dad8a57fb187aa44987ac809125747..0000000000000000000000000000000000000000
--- a/skia/ext/paint_simplifier.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// 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 {
-
-/*
- When installed on a SkCanvas, reduces the quality of all draws
- to that canvas. This improves rasterization speed during flings.
- We turn off blurs, filters, and antialiasing *except for* text.
-*/
-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
-
« no previous file with comments | « skia/BUILD.gn ('k') | skia/ext/paint_simplifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698