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

Side by Side Diff: gm/dcshader.cpp

Issue 1431433003: Move shader compiling to ProgramBuilder and various ShaderBuilder cleanups. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: nits Created 5 years, 1 month 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 | « no previous file | src/core/SkLightingShader.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 2014 Google Inc. 3 * Copyright 2014 Google Inc.
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 "gm.h" 9 #include "gm.h"
10 #if SK_SUPPORT_GPU 10 #if SK_SUPPORT_GPU
11 #include "GrFragmentProcessor.h" 11 #include "GrFragmentProcessor.h"
12 #include "GrCoordTransform.h" 12 #include "GrCoordTransform.h"
13 #include "effects/GrXfermodeFragmentProcessor.h" 13 #include "effects/GrXfermodeFragmentProcessor.h"
14 #include "gl/GrGLFragmentProcessor.h"
14 #include "gl/builders/GrGLProgramBuilder.h" 15 #include "gl/builders/GrGLProgramBuilder.h"
15 #include "glsl/GrGLSLProgramDataManager.h" 16 #include "glsl/GrGLSLProgramDataManager.h"
16 #include "Resources.h" 17 #include "Resources.h"
17 #include "SkReadBuffer.h" 18 #include "SkReadBuffer.h"
18 #include "SkShader.h" 19 #include "SkShader.h"
19 #include "SkStream.h" 20 #include "SkStream.h"
20 #include "SkTypeface.h" 21 #include "SkTypeface.h"
21 #include "SkWriteBuffer.h" 22 #include "SkWriteBuffer.h"
22 23
23 namespace skiagm { 24 namespace skiagm {
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 }; 289 };
289 290
290 SkTArray<Prim*> fPrims; 291 SkTArray<Prim*> fPrims;
291 292
292 typedef GM INHERITED; 293 typedef GM INHERITED;
293 }; 294 };
294 295
295 DEF_GM(return new DCShaderGM;) 296 DEF_GM(return new DCShaderGM;)
296 } 297 }
297 #endif 298 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkLightingShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698