OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "SkTypes.h" | 8 #include "SkTypes.h" |
9 | 9 |
10 #if SK_SUPPORT_GPU | 10 #if SK_SUPPORT_GPU |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 SkPoint p1 = SkPoint::Make(100, 100); | 121 SkPoint p1 = SkPoint::Make(100, 100); |
122 | 122 |
123 path1.conicTo(p0, p1, .5f); | 123 path1.conicTo(p0, p1, .5f); |
124 path2.conicTo(p0, p1, .7f); | 124 path2.conicTo(p0, p1, .7f); |
125 | 125 |
126 bool isVolatile; | 126 bool isVolatile; |
127 GrUniqueKey key1, key2; | 127 GrUniqueKey key1, key2; |
128 GrStrokeInfo stroke(SkStrokeRec::kFill_InitStyle); | 128 GrStrokeInfo stroke(SkStrokeRec::kFill_InitStyle); |
129 GrPath::ComputeKey(path1, stroke, &key1, &isVolatile); | 129 GrPath::ComputeKey(path1, stroke, &key1, &isVolatile); |
130 GrPath::ComputeKey(path2, stroke, &key2, &isVolatile); | 130 GrPath::ComputeKey(path2, stroke, &key2, &isVolatile); |
131 | 131 REPORTER_ASSERT(reporter, key1 != key2); |
132 // https://bugs.chromium.org/p/skia/issues/detail?id=4580 | |
133 // REPORTER_ASSERT(reporter, key1 != key2); | |
134 } | 132 } |
135 | 133 |
136 #endif | 134 #endif |
OLD | NEW |