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

Unified Diff: include/effects/SkBicubicImageFilter.h

Issue 357793002: Remove SkBicubicImageFilter, and all related tests. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove all expected results for now-deleted GM Created 6 years, 6 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 | « gyp/public_headers.gypi ('k') | samplecode/SampleFilterFuzz.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkBicubicImageFilter.h
diff --git a/include/effects/SkBicubicImageFilter.h b/include/effects/SkBicubicImageFilter.h
deleted file mode 100644
index 7c1e92344ad6b448e4bc2a6c132f89a7de5e60fb..0000000000000000000000000000000000000000
--- a/include/effects/SkBicubicImageFilter.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright 2013 The Android Open Source Project
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkBicubicImageFilter_DEFINED
-#define SkBicubicImageFilter_DEFINED
-
-#include "SkImageFilter.h"
-#include "SkScalar.h"
-#include "SkSize.h"
-#include "SkPoint.h"
-
-/*! \class SkBicubicImageFilter
- Bicubic resampling image filter. This filter does a 16-tap bicubic
- filter using the given matrix.
- */
-
-class SK_API SkBicubicImageFilter : public SkImageFilter {
-public:
- virtual ~SkBicubicImageFilter();
-
- static SkBicubicImageFilter* CreateMitchell(const SkSize& scale, SkImageFilter* input = NULL);
-
- SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBicubicImageFilter)
-
-protected:
- /** Construct a (scaling-only) bicubic resampling image filter.
- @param scale How much to scale the image.
- @param coefficients The 16 coefficients of the bicubic matrix.
- @param input The input image filter. If NULL, the src bitmap
- passed to filterImage() is used instead.
- */
- SkBicubicImageFilter(const SkSize& scale, const SkScalar coefficients[16],
- SkImageFilter* input = NULL);
- SkBicubicImageFilter(SkReadBuffer& buffer);
- virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
-
- virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&,
- SkBitmap* result, SkIPoint* loc) const SK_OVERRIDE;
-
-#if SK_SUPPORT_GPU
- virtual bool canFilterImageGPU() const SK_OVERRIDE { return true; }
- virtual bool filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context& ctx,
- SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE;
-#endif
-
-private:
- SkSize fScale;
- SkScalar fCoefficients[16];
- typedef SkImageFilter INHERITED;
-};
-
-#endif
« no previous file with comments | « gyp/public_headers.gypi ('k') | samplecode/SampleFilterFuzz.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698