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

Side by Side Diff: src/gpu/effects/GrMatrixConvolutionEffect.cpp

Issue 1202293002: Move GLSL-specific routines/classes to separate glsl directory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rename GrGLGLSL.{cpp,h} Created 5 years, 6 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/gpu/effects/GrDitherEffect.cpp ('k') | src/gpu/effects/GrOvalEffect.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 2014 Google Inc. 2 * Copyright 2014 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 #include "GrMatrixConvolutionEffect.h" 7 #include "GrMatrixConvolutionEffect.h"
8 #include "gl/GrGLProcessor.h" 8 #include "gl/GrGLProcessor.h"
9 #include "gl/GrGLSL.h"
10 #include "gl/GrGLTexture.h" 9 #include "gl/GrGLTexture.h"
11 #include "gl/builders/GrGLProgramBuilder.h" 10 #include "gl/builders/GrGLProgramBuilder.h"
12 11
13 class GrGLMatrixConvolutionEffect : public GrGLFragmentProcessor { 12 class GrGLMatrixConvolutionEffect : public GrGLFragmentProcessor {
14 public: 13 public:
15 GrGLMatrixConvolutionEffect(const GrProcessor&); 14 GrGLMatrixConvolutionEffect(const GrProcessor&);
16 virtual void emitCode(GrGLFPBuilder*, 15 virtual void emitCode(GrGLFPBuilder*,
17 const GrFragmentProcessor&, 16 const GrFragmentProcessor&,
18 const char* outputColor, 17 const char* outputColor,
19 const char* inputColor, 18 const char* inputColor,
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 return GrMatrixConvolutionEffect::Create(textures[texIdx], 262 return GrMatrixConvolutionEffect::Create(textures[texIdx],
264 bounds, 263 bounds,
265 kernelSize, 264 kernelSize,
266 kernel.get(), 265 kernel.get(),
267 gain, 266 gain,
268 bias, 267 bias,
269 kernelOffset, 268 kernelOffset,
270 tileMode, 269 tileMode,
271 convolveAlpha); 270 convolveAlpha);
272 } 271 }
OLDNEW
« no previous file with comments | « src/gpu/effects/GrDitherEffect.cpp ('k') | src/gpu/effects/GrOvalEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698