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

Side by Side Diff: src/effects/SkGpuBlurUtils.h

Issue 1959493002: Retract GrRenderTarget from SkGpuBlurUtils Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up Created 4 years, 7 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 | « src/effects/SkBlurMaskFilter.cpp ('k') | src/effects/SkGpuBlurUtils.cpp » ('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 Google Inc. 2 * Copyright 2013 Google Inc.
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 SkGpuBlurUtils_DEFINED 8 #ifndef SkGpuBlurUtils_DEFINED
9 #define SkGpuBlurUtils_DEFINED 9 #define SkGpuBlurUtils_DEFINED
10 10
(...skipping 16 matching lines...) Expand all
27 * @param dstBounds The destination bounds, relative to the source text ure. 27 * @param dstBounds The destination bounds, relative to the source text ure.
28 * @param srcBounds The source bounds, relative to the source texture. If non-null, 28 * @param srcBounds The source bounds, relative to the source texture. If non-null,
29 * no pixels will be sampled outside of this rectangle . 29 * no pixels will be sampled outside of this rectangle .
30 * @param sigmaX The blur's standard deviation in X. 30 * @param sigmaX The blur's standard deviation in X.
31 * @param sigmaY The blur's standard deviation in Y. 31 * @param sigmaY The blur's standard deviation in Y.
32 * @return The drawContext containing the blurred result. 32 * @return The drawContext containing the blurred result.
33 */ 33 */
34 sk_sp<GrDrawContext> GaussianBlur(GrContext* context, 34 sk_sp<GrDrawContext> GaussianBlur(GrContext* context,
35 GrTexture* srcTexture, 35 GrTexture* srcTexture,
36 bool gammaCorrect, 36 bool gammaCorrect,
37 const SkRect& dstBounds, 37 const SkIRect& dstBounds,
38 const SkRect* srcBounds, 38 const SkIRect* srcBounds,
39 float sigmaX, 39 float sigmaX,
40 float sigmaY); 40 float sigmaY);
41
42 }; 41 };
43 42
44 #endif 43 #endif
45 #endif 44 #endif
OLDNEW
« no previous file with comments | « src/effects/SkBlurMaskFilter.cpp ('k') | src/effects/SkGpuBlurUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698