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

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

Issue 2254343003: Move GrFixedClip into src directory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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/SkLightingImageFilter.cpp ('k') | src/gpu/GrBlurUtils.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 2012 The Android Open Source Project 2 * Copyright 2012 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 #include "SkMorphologyImageFilter.h" 8 #include "SkMorphologyImageFilter.h"
9 9
10 #include "SkBitmap.h" 10 #include "SkBitmap.h"
11 #include "SkColorPriv.h" 11 #include "SkColorPriv.h"
12 #include "SkOpts.h" 12 #include "SkOpts.h"
13 #include "SkReadBuffer.h" 13 #include "SkReadBuffer.h"
14 #include "SkRect.h" 14 #include "SkRect.h"
15 #include "SkSpecialImage.h" 15 #include "SkSpecialImage.h"
16 #include "SkWriteBuffer.h" 16 #include "SkWriteBuffer.h"
17 17
18 #if SK_SUPPORT_GPU 18 #if SK_SUPPORT_GPU
19 #include "GrContext.h" 19 #include "GrContext.h"
20 #include "GrDrawContext.h" 20 #include "GrDrawContext.h"
21 #include "GrFixedClip.h"
21 #include "GrInvariantOutput.h" 22 #include "GrInvariantOutput.h"
22 #include "GrTexture.h" 23 #include "GrTexture.h"
23 #include "SkGr.h" 24 #include "SkGr.h"
24 #include "effects/Gr1DKernelEffect.h" 25 #include "effects/Gr1DKernelEffect.h"
25 #include "glsl/GrGLSLFragmentProcessor.h" 26 #include "glsl/GrGLSLFragmentProcessor.h"
26 #include "glsl/GrGLSLFragmentShaderBuilder.h" 27 #include "glsl/GrGLSLFragmentShaderBuilder.h"
27 #include "glsl/GrGLSLProgramDataManager.h" 28 #include "glsl/GrGLSLProgramDataManager.h"
28 #include "glsl/GrGLSLUniformHandler.h" 29 #include "glsl/GrGLSLUniformHandler.h"
29 #endif 30 #endif
30 31
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 inputBM.getAddr32(srcBounds.left(), srcBounds.top()), 630 inputBM.getAddr32(srcBounds.left(), srcBounds.top()),
630 inputBM.rowBytesAsPixels(), 631 inputBM.rowBytesAsPixels(),
631 &dst, height, srcBounds); 632 &dst, height, srcBounds);
632 } 633 }
633 offset->fX = bounds.left(); 634 offset->fX = bounds.left();
634 offset->fY = bounds.top(); 635 offset->fY = bounds.top();
635 636
636 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(bounds.width(), bounds .height()), 637 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(bounds.width(), bounds .height()),
637 dst, &source->props()); 638 dst, &source->props());
638 } 639 }
OLDNEW
« no previous file with comments | « src/effects/SkLightingImageFilter.cpp ('k') | src/gpu/GrBlurUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698