OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 "Test.h" | 8 #include "Test.h" |
9 | 9 |
10 #if SK_SUPPORT_GPU | 10 #if SK_SUPPORT_GPU |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 | 65 |
66 // This is an example of a GPU test that tests a property that should work for a
ll GPU contexts. | 66 // This is an example of a GPU test that tests a property that should work for a
ll GPU contexts. |
67 // It uses the additional SkGLContext* glContext to implement the test. | 67 // It uses the additional SkGLContext* glContext to implement the test. |
68 #if SK_SUPPORT_GPU | 68 #if SK_SUPPORT_GPU |
69 DEF_GPUTEST_FOR_ALL_CONTEXTS(TestGpuGrContextAndGLContext, reporter, context, gl
Context) { | 69 DEF_GPUTEST_FOR_ALL_CONTEXTS(TestGpuGrContextAndGLContext, reporter, context, gl
Context) { |
70 REPORTER_ASSERT(reporter, reporter); | 70 REPORTER_ASSERT(reporter, reporter); |
71 REPORTER_ASSERT(reporter, context); | 71 REPORTER_ASSERT(reporter, context); |
72 REPORTER_ASSERT(reporter, glContext); | 72 REPORTER_ASSERT(reporter, glContext); |
73 } | 73 } |
74 #endif | 74 #endif |
75 | |
OLD | NEW |