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 "GrTessellatingPathRenderer.h" | 8 #include "GrTessellatingPathRenderer.h" |
9 | 9 |
10 #include "GrBatchFlushState.h" | 10 #include "GrBatchFlushState.h" |
(...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1651 bool result = viewMatrix.invert(&vmi); | 1651 bool result = viewMatrix.invert(&vmi); |
1652 if (!result) { | 1652 if (!result) { |
1653 SkFAIL("Cannot invert matrix\n"); | 1653 SkFAIL("Cannot invert matrix\n"); |
1654 } | 1654 } |
1655 vmi.mapRect(&clipBounds); | 1655 vmi.mapRect(&clipBounds); |
1656 GrStrokeInfo strokeInfo = GrTest::TestStrokeInfo(random); | 1656 GrStrokeInfo strokeInfo = GrTest::TestStrokeInfo(random); |
1657 return TessellatingPathBatch::Create(color, path, strokeInfo, viewMatrix, cl
ipBounds); | 1657 return TessellatingPathBatch::Create(color, path, strokeInfo, viewMatrix, cl
ipBounds); |
1658 } | 1658 } |
1659 | 1659 |
1660 #endif | 1660 #endif |
OLD | NEW |