| OLD | NEW |
| 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 22 matching lines...) Expand all Loading... |
| 33 * @param sigmaY The blur's standard deviation in Y. | 33 * @param sigmaY The blur's standard deviation in Y. |
| 34 * @return the blurred texture, which may be srcTexture reffed, or a | 34 * @return the blurred texture, which may be srcTexture reffed, or a |
| 35 * new texture. It is the caller's responsibility to unref this texture. | 35 * new texture. It is the caller's responsibility to unref this texture. |
| 36 */ | 36 */ |
| 37 GrTexture* GaussianBlur(GrContext* context, | 37 GrTexture* GaussianBlur(GrContext* context, |
| 38 GrTexture* srcTexture, | 38 GrTexture* srcTexture, |
| 39 bool canClobberSrc, | 39 bool canClobberSrc, |
| 40 const SkRect& dstBounds, | 40 const SkRect& dstBounds, |
| 41 const SkRect* srcBounds, | 41 const SkRect* srcBounds, |
| 42 float sigmaX, | 42 float sigmaX, |
| 43 float sigmaY, | 43 float sigmaY); |
| 44 GrTextureProvider::SizeConstraint); | |
| 45 #endif | 44 #endif |
| 46 | 45 |
| 47 }; | 46 }; |
| 48 | 47 |
| 49 #endif | 48 #endif |
| OLD | NEW |