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

Unified Diff: include/core/SkImageFilterUtils.h

Issue 185973003: Cleanup patch to move all of SkImageFilterUtils into SkImageFilter. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Oh, the Rietveld suckage Created 6 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
« no previous file with comments | « include/core/SkImageFilter.h ('k') | src/core/SkImageFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImageFilterUtils.h
diff --git a/include/core/SkImageFilterUtils.h b/include/core/SkImageFilterUtils.h
deleted file mode 100644
index b533c3bca25e3eb4aa1dc65f55a2b95d1a6b36a0..0000000000000000000000000000000000000000
--- a/include/core/SkImageFilterUtils.h
+++ /dev/null
@@ -1,38 +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 SkImageFilterUtils_DEFINED
-#define SkImageFilterUtils_DEFINED
-
-#if SK_SUPPORT_GPU
-
-#include "SkImageFilter.h"
-
-class SkBitmap;
-class GrTexture;
-class SkImageFilter;
-
-class SK_API SkImageFilterUtils {
-public:
- /**
- * Wrap the given texture in a texture-backed SkBitmap.
- */
- static bool WrapTexture(GrTexture* texture, int width, int height, SkBitmap* result);
-
- /**
- * Recursively evaluate the given filter on the GPU. If filter is NULL,
- * this function returns src. If the filter has no GPU implementation, it
- * will be processed in software and uploaded to the GPU.
- */
- static bool GetInputResultGPU(const SkImageFilter* filter, SkImageFilter::Proxy* proxy,
- const SkBitmap& src, const SkMatrix& ctm, SkBitmap* result,
- SkIPoint* offset);
-};
-
-#endif
-
-#endif
« no previous file with comments | « include/core/SkImageFilter.h ('k') | src/core/SkImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698