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

Side by Side Diff: tests/GLProgramsTest.cpp

Issue 1296483002: Split GrDrawBatch and GrVertexBatch into their own files (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add new files to git Created 5 years, 4 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/GrDashingEffect.cpp ('k') | tests/GrPorterDuffTest.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 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
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 #if SK_SUPPORT_GPU && SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 13 #if SK_SUPPORT_GPU && SK_ALLOW_STATIC_GLOBAL_INITIALIZERS
14 14
15 #include "GrAutoLocaleSetter.h" 15 #include "GrAutoLocaleSetter.h"
16 #include "GrBatchTest.h" 16 #include "GrBatchTest.h"
17 #include "GrContextFactory.h" 17 #include "GrContextFactory.h"
18 #include "GrInvariantOutput.h" 18 #include "GrInvariantOutput.h"
19 #include "GrPipeline.h" 19 #include "GrPipeline.h"
20 #include "GrResourceProvider.h" 20 #include "GrResourceProvider.h"
21 #include "GrTest.h" 21 #include "GrTest.h"
22 #include "GrXferProcessor.h" 22 #include "GrXferProcessor.h"
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/GrBatch.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 31
32 #include "gl/GrGLGpu.h" 32 #include "gl/GrGLGpu.h"
33 #include "gl/GrGLPathRendering.h" 33 #include "gl/GrGLPathRendering.h"
34 #include "gl/builders/GrGLProgramBuilder.h" 34 #include "gl/builders/GrGLProgramBuilder.h"
35 35
36 /* 36 /*
37 * A dummy processor which just tries to insert a massive key and verify that it can retrieve the 37 * A dummy processor which just tries to insert a massive key and verify that it can retrieve the
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 } 296 }
297 #endif 297 #endif
298 GrTestTarget target; 298 GrTestTarget target;
299 context->getTestTarget(&target); 299 context->getTestTarget(&target);
300 REPORTER_ASSERT(reporter, target.target()->programUnitTest(context, maxStages)); 300 REPORTER_ASSERT(reporter, target.target()->programUnitTest(context, maxStages));
301 } 301 }
302 } 302 }
303 } 303 }
304 304
305 #endif 305 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrDashingEffect.cpp ('k') | tests/GrPorterDuffTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698