OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #include "Test.h" | 8 #include "Test.h" |
10 // This is a GR test | 9 // This is a GR test |
11 #if SK_SUPPORT_GPU | 10 #if SK_SUPPORT_GPU |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 clipData.getConservativeBounds(texture->width(), texture->height(), | 59 clipData.getConservativeBounds(texture->width(), texture->height(), |
61 &devGrClipBound, | 60 &devGrClipBound, |
62 &isIntersectionOfRects); | 61 &isIntersectionOfRects); |
63 | 62 |
64 // make sure that GrClip is behaving itself | 63 // make sure that GrClip is behaving itself |
65 REPORTER_ASSERT(reporter, intScreen == devGrClipBound); | 64 REPORTER_ASSERT(reporter, intScreen == devGrClipBound); |
66 REPORTER_ASSERT(reporter, isIntersectionOfRects); | 65 REPORTER_ASSERT(reporter, isIntersectionOfRects); |
67 } | 66 } |
68 | 67 |
69 #endif | 68 #endif |
OLD | NEW |