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

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

Issue 1246193002: Moved GrGLFragmentProcessor definition to its own file (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 5 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/GrConvexPolyEffect.cpp ('k') | src/gpu/effects/GrCustomXfermode.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 Google Inc. 2 * Copyright 2012 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 #include "GrConvolutionEffect.h" 8 #include "GrConvolutionEffect.h"
9 #include "gl/GrGLProcessor.h" 9 #include "gl/GrGLFragmentProcessor.h"
10 #include "gl/GrGLTexture.h" 10 #include "gl/GrGLTexture.h"
11 #include "gl/builders/GrGLProgramBuilder.h" 11 #include "gl/builders/GrGLProgramBuilder.h"
12 12
13 // For brevity 13 // For brevity
14 typedef GrGLProgramDataManager::UniformHandle UniformHandle; 14 typedef GrGLProgramDataManager::UniformHandle UniformHandle;
15 15
16 class GrGLConvolutionEffect : public GrGLFragmentProcessor { 16 class GrGLConvolutionEffect : public GrGLFragmentProcessor {
17 public: 17 public:
18 GrGLConvolutionEffect(const GrProcessor&); 18 GrGLConvolutionEffect(const GrProcessor&);
19 19
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 bool useBounds = d->fRandom->nextBool(); 243 bool useBounds = d->fRandom->nextBool();
244 return GrConvolutionEffect::Create(d->fProcDataManager, 244 return GrConvolutionEffect::Create(d->fProcDataManager,
245 d->fTextures[texIdx], 245 d->fTextures[texIdx],
246 dir, 246 dir,
247 radius, 247 radius,
248 kernel, 248 kernel,
249 useBounds, 249 useBounds,
250 bounds); 250 bounds);
251 } 251 }
OLDNEW
« no previous file with comments | « src/gpu/effects/GrConvexPolyEffect.cpp ('k') | src/gpu/effects/GrCustomXfermode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698