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

Side by Side Diff: src/gpu/effects/GrConvolutionEffect.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, 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/GrGLProcessor.h"
10 #include "gl/GrGLSL.h"
11 #include "gl/GrGLTexture.h" 10 #include "gl/GrGLTexture.h"
12 #include "gl/builders/GrGLProgramBuilder.h" 11 #include "gl/builders/GrGLProgramBuilder.h"
13 12
14 // For brevity 13 // For brevity
15 typedef GrGLProgramDataManager::UniformHandle UniformHandle; 14 typedef GrGLProgramDataManager::UniformHandle UniformHandle;
16 15
17 class GrGLConvolutionEffect : public GrGLFragmentProcessor { 16 class GrGLConvolutionEffect : public GrGLFragmentProcessor {
18 public: 17 public:
19 GrGLConvolutionEffect(const GrProcessor&); 18 GrGLConvolutionEffect(const GrProcessor&);
20 19
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 } 235 }
237 236
238 bool useBounds = random->nextBool(); 237 bool useBounds = random->nextBool();
239 return GrConvolutionEffect::Create(textures[texIdx], 238 return GrConvolutionEffect::Create(textures[texIdx],
240 dir, 239 dir,
241 radius, 240 radius,
242 kernel, 241 kernel,
243 useBounds, 242 useBounds,
244 bounds); 243 bounds);
245 } 244 }
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