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

Side by Side Diff: src/effects/SkBlurMaskFilter.cpp

Issue 1584933002: Refactor to use GrWrapTextureInBitmap more (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix no-gpu build Created 4 years, 11 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/SkBlurImageFilter.cpp ('k') | src/effects/SkDisplacementMapEffect.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "SkBlurMaskFilter.h" 9 #include "SkBlurMaskFilter.h"
10 #include "SkBlurMask.h" 10 #include "SkBlurMask.h"
11 #include "SkGpuBlurUtils.h" 11 #include "SkGpuBlurUtils.h"
12 #include "SkReadBuffer.h" 12 #include "SkReadBuffer.h"
13 #include "SkWriteBuffer.h" 13 #include "SkWriteBuffer.h"
14 #include "SkMaskFilter.h" 14 #include "SkMaskFilter.h"
15 #include "SkRRect.h" 15 #include "SkRRect.h"
16 #include "SkRTConf.h" 16 #include "SkRTConf.h"
17 #include "SkStringUtils.h" 17 #include "SkStringUtils.h"
18 #include "SkStrokeRec.h" 18 #include "SkStrokeRec.h"
19 19
20 #if SK_SUPPORT_GPU 20 #if SK_SUPPORT_GPU
21 #include "GrCircleBlurFragmentProcessor.h" 21 #include "GrCircleBlurFragmentProcessor.h"
22 #include "GrContext.h" 22 #include "GrContext.h"
23 #include "GrDrawContext.h" 23 #include "GrDrawContext.h"
24 #include "GrTexture.h" 24 #include "GrTexture.h"
25 #include "GrFragmentProcessor.h" 25 #include "GrFragmentProcessor.h"
26 #include "GrInvariantOutput.h" 26 #include "GrInvariantOutput.h"
27 #include "SkGrPixelRef.h"
28 #include "SkDraw.h" 27 #include "SkDraw.h"
29 #include "effects/GrSimpleTextureEffect.h" 28 #include "effects/GrSimpleTextureEffect.h"
30 #include "glsl/GrGLSLFragmentProcessor.h" 29 #include "glsl/GrGLSLFragmentProcessor.h"
31 #include "glsl/GrGLSLFragmentShaderBuilder.h" 30 #include "glsl/GrGLSLFragmentShaderBuilder.h"
32 #include "glsl/GrGLSLProgramDataManager.h" 31 #include "glsl/GrGLSLProgramDataManager.h"
33 #include "glsl/GrGLSLTextureSampler.h" 32 #include "glsl/GrGLSLTextureSampler.h"
34 #include "glsl/GrGLSLUniformHandler.h" 33 #include "glsl/GrGLSLUniformHandler.h"
35 #endif 34 #endif
36 35
37 SkScalar SkBlurMaskFilter::ConvertRadiusToSigma(SkScalar radius) { 36 SkScalar SkBlurMaskFilter::ConvertRadiusToSigma(SkScalar radius) {
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after
1306 } else { 1305 } else {
1307 str->append("None"); 1306 str->append("None");
1308 } 1307 }
1309 str->append("))"); 1308 str->append("))");
1310 } 1309 }
1311 #endif 1310 #endif
1312 1311
1313 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkBlurMaskFilter) 1312 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkBlurMaskFilter)
1314 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurMaskFilterImpl) 1313 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkBlurMaskFilterImpl)
1315 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END 1314 SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_END
OLDNEW
« no previous file with comments | « src/effects/SkBlurImageFilter.cpp ('k') | src/effects/SkDisplacementMapEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698