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

Side by Side Diff: tests/GLProgramsTest.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 | « src/gpu/glsl/GrGLSLCaps.cpp ('k') | no next file » | 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 2011 Google Inc. 3 * Copyright 2011 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 // This is a GPU-backend specific test. It relies on static intializers to work 9 // This is a GPU-backend specific test. It relies on static intializers to work
10 10
(...skipping 12 matching lines...) Expand all
23 #include "SkChecksum.h" 23 #include "SkChecksum.h"
24 #include "SkRandom.h" 24 #include "SkRandom.h"
25 #include "Test.h" 25 #include "Test.h"
26 26
27 #include "batches/GrDrawBatch.h" 27 #include "batches/GrDrawBatch.h"
28 28
29 #include "effects/GrConfigConversionEffect.h" 29 #include "effects/GrConfigConversionEffect.h"
30 #include "effects/GrPorterDuffXferProcessor.h" 30 #include "effects/GrPorterDuffXferProcessor.h"
31 #include "effects/GrXfermodeFragmentProcessor.h" 31 #include "effects/GrXfermodeFragmentProcessor.h"
32 32
33 #include "gl/GrGLFragmentProcessor.h"
33 #include "gl/GrGLGpu.h" 34 #include "gl/GrGLGpu.h"
34 #include "gl/GrGLPathRendering.h" 35 #include "gl/GrGLPathRendering.h"
35 #include "gl/builders/GrGLProgramBuilder.h" 36 #include "gl/builders/GrGLProgramBuilder.h"
36 37
37 /* 38 /*
38 * A dummy processor which just tries to insert a massive key and verify that it can retrieve the 39 * A dummy processor which just tries to insert a massive key and verify that it can retrieve the
39 * whole thing correctly 40 * whole thing correctly
40 */ 41 */
41 static const uint32_t kMaxKeySize = 1024; 42 static const uint32_t kMaxKeySize = 1024;
42 43
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 } 439 }
439 #endif 440 #endif
440 GrTestTarget target; 441 GrTestTarget target;
441 context->getTestTarget(&target); 442 context->getTestTarget(&target);
442 REPORTER_ASSERT(reporter, target.target()->programUnitTest(context, maxStages)); 443 REPORTER_ASSERT(reporter, target.target()->programUnitTest(context, maxStages));
443 } 444 }
444 } 445 }
445 } 446 }
446 447
447 #endif 448 #endif
OLDNEW
« no previous file with comments | « src/gpu/glsl/GrGLSLCaps.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698