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

Side by Side Diff: include/core/SkImageFilterUtils.h

Issue 148883011: Make SkImageFilter methods const. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: More fixes to gm/ 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 unified diff | Download patch
« no previous file with comments | « include/core/SkImageFilter.h ('k') | include/effects/SkBicubicImageFilter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 The Android Open Source Project 2 * Copyright 2013 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkImageFilterUtils_DEFINED 8 #ifndef SkImageFilterUtils_DEFINED
9 #define SkImageFilterUtils_DEFINED 9 #define SkImageFilterUtils_DEFINED
10 10
(...skipping 10 matching lines...) Expand all
21 /** 21 /**
22 * Wrap the given texture in a texture-backed SkBitmap. 22 * Wrap the given texture in a texture-backed SkBitmap.
23 */ 23 */
24 static bool WrapTexture(GrTexture* texture, int width, int height, SkBitmap* result); 24 static bool WrapTexture(GrTexture* texture, int width, int height, SkBitmap* result);
25 25
26 /** 26 /**
27 * Recursively evaluate the given filter on the GPU. If filter is NULL, 27 * Recursively evaluate the given filter on the GPU. If filter is NULL,
28 * this function returns src. If the filter has no GPU implementation, it 28 * this function returns src. If the filter has no GPU implementation, it
29 * will be processed in software and uploaded to the GPU. 29 * will be processed in software and uploaded to the GPU.
30 */ 30 */
31 static bool GetInputResultGPU(SkImageFilter* filter, SkImageFilter::Proxy* p roxy, 31 static bool GetInputResultGPU(const SkImageFilter* filter, SkImageFilter::Pr oxy* proxy,
32 const SkBitmap& src, const SkMatrix& ctm, SkBi tmap* result, 32 const SkBitmap& src, const SkMatrix& ctm, SkBi tmap* result,
33 SkIPoint* offset); 33 SkIPoint* offset);
34 }; 34 };
35 35
36 #endif 36 #endif
37 37
38 #endif 38 #endif
OLDNEW
« no previous file with comments | « include/core/SkImageFilter.h ('k') | include/effects/SkBicubicImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698