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

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

Issue 15995026: Image filters: implement offsets in GPU path. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Wrap lines at 100 chars. Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « include/effects/SkDisplacementMapEffect.h ('k') | include/effects/SkMorphologyImageFilter.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, const SkBitmap& src, SkBitmap* result); 31 static bool GetInputResultGPU(SkImageFilter* filter, SkImageFilter::Proxy* p roxy,
32 const SkBitmap& src, SkBitmap* result, SkIPoin t* offset);
32 }; 33 };
33 34
34 #endif 35 #endif
35 36
36 #endif 37 #endif
OLDNEW
« no previous file with comments | « include/effects/SkDisplacementMapEffect.h ('k') | include/effects/SkMorphologyImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698