| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |