/src/skia/src/gpu/geometry/GrRect.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* |
2 | | * Copyright 2010 Google Inc. |
3 | | * |
4 | | * Use of this source code is governed by a BSD-style license that can be |
5 | | * found in the LICENSE file. |
6 | | */ |
7 | | |
8 | | #ifndef GrRect_DEFINED |
9 | | #define GrRect_DEFINED |
10 | | |
11 | | #include "include/core/SkMatrix.h" |
12 | | #include "include/core/SkRect.h" |
13 | | #include "include/core/SkTypes.h" |
14 | | #include "include/private/SkTo.h" |
15 | | |
16 | | struct GrIRect16 { |
17 | | int16_t fLeft, fTop, fRight, fBottom; |
18 | | |
19 | 0 | static GrIRect16 SK_WARN_UNUSED_RESULT MakeEmpty() { |
20 | 0 | GrIRect16 r; |
21 | 0 | r.setEmpty(); |
22 | 0 | return r; |
23 | 0 | } |
24 | | |
25 | 0 | static GrIRect16 SK_WARN_UNUSED_RESULT MakeWH(int16_t w, int16_t h) { |
26 | 0 | GrIRect16 r; |
27 | 0 | r.set(0, 0, w, h); |
28 | 0 | return r; |
29 | 0 | } |
30 | | |
31 | 1.00k | static GrIRect16 SK_WARN_UNUSED_RESULT MakeXYWH(int16_t x, int16_t y, int16_t w, int16_t h) { |
32 | 1.00k | GrIRect16 r; |
33 | 1.00k | r.set(x, y, x + w, y + h); |
34 | 1.00k | return r; |
35 | 1.00k | } |
36 | | |
37 | 0 | static GrIRect16 SK_WARN_UNUSED_RESULT Make(const SkIRect& ir) { |
38 | 0 | GrIRect16 r; |
39 | 0 | r.set(ir); |
40 | 0 | return r; |
41 | 0 | } |
42 | | |
43 | 0 | int width() const { return fRight - fLeft; } |
44 | 0 | int height() const { return fBottom - fTop; } |
45 | 0 | int area() const { return this->width() * this->height(); } |
46 | 0 | bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } |
47 | | |
48 | 0 | void setEmpty() { memset(this, 0, sizeof(*this)); } |
49 | | |
50 | 1.00k | void set(int16_t left, int16_t top, int16_t right, int16_t bottom) { |
51 | 1.00k | fLeft = left; |
52 | 1.00k | fTop = top; |
53 | 1.00k | fRight = right; |
54 | 1.00k | fBottom = bottom; |
55 | 1.00k | } |
56 | | |
57 | 0 | void set(const SkIRect& r) { |
58 | 0 | fLeft = SkToS16(r.fLeft); |
59 | 0 | fTop = SkToS16(r.fTop); |
60 | 0 | fRight = SkToS16(r.fRight); |
61 | 0 | fBottom = SkToS16(r.fBottom); |
62 | 0 | } |
63 | | |
64 | 1.00k | void offset(int16_t dx, int16_t dy) { |
65 | 1.00k | fLeft += dx; |
66 | 1.00k | fTop += dy; |
67 | 1.00k | fRight += dx; |
68 | 1.00k | fBottom += dy; |
69 | 1.00k | } |
70 | | }; |
71 | | |
72 | | /** Returns true if the rectangles have a nonzero area of overlap. It assumed that rects can be |
73 | | infinitely small but not "inverted". */ |
74 | 116k | static inline bool GrRectsOverlap(const SkRect& a, const SkRect& b) { |
75 | | // See skbug.com/6607 about the isFinite() checks. |
76 | 116k | SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); |
77 | 116k | SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); |
78 | 116k | return a.fRight > b.fLeft && a.fBottom > b.fTop && b.fRight > a.fLeft && b.fBottom > a.fTop; |
79 | 116k | } Unexecuted instantiation: GrTest.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: SkStrikeSpec.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrDirectContext.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrOpFlushState.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrAtlasManager.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrStrikeCache.cpp:GrRectsOverlap(SkRect const&, SkRect const&) GrOpsTask.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Line | Count | Source | 74 | 116k | static inline bool GrRectsOverlap(const SkRect& a, const SkRect& b) { | 75 | | // See skbug.com/6607 about the isFinite() checks. | 76 | 116k | SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); | 77 | 116k | SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); | 78 | 116k | return a.fRight > b.fLeft && a.fBottom > b.fTop && b.fRight > a.fLeft && b.fBottom > a.fTop; | 79 | 116k | } |
Unexecuted instantiation: GrAtlasTextOp.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrSimpleMeshDrawOpHelper.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrSmallPathAtlasMgr.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrSmallPathShapeData.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrTextureOp.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: SmallPathRenderer.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: Device_drawTexture.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: SurfaceFillContext_v1.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrCopyRenderTask.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrDirectContextPriv.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrDrawOpAtlas.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrBitmapTextGeoProc.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrDistanceFieldGeoProc.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrTextBlob.cpp:GrRectsOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: SkRemoteGlyphCache.cpp:GrRectsOverlap(SkRect const&, SkRect const&) |
80 | | |
81 | | /** Returns true if the rectangles overlap or share an edge or corner. It assumed that rects can be |
82 | | infinitely small but not "inverted". */ |
83 | 0 | static inline bool GrRectsTouchOrOverlap(const SkRect& a, const SkRect& b) { |
84 | | // See skbug.com/6607 about the isFinite() checks. |
85 | 0 | SkASSERT(!a.isFinite() || (a.fLeft <= a.fRight && a.fTop <= a.fBottom)); |
86 | 0 | SkASSERT(!b.isFinite() || (b.fLeft <= b.fRight && b.fTop <= b.fBottom)); |
87 | 0 | return a.fRight >= b.fLeft && a.fBottom >= b.fTop && b.fRight >= a.fLeft && b.fBottom >= a.fTop; |
88 | 0 | } Unexecuted instantiation: GrTest.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: SkStrikeSpec.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrDirectContext.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrOpFlushState.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrAtlasManager.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrStrikeCache.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrOpsTask.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrAtlasTextOp.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrSimpleMeshDrawOpHelper.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrSmallPathAtlasMgr.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrSmallPathShapeData.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrTextureOp.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: SmallPathRenderer.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: Device_drawTexture.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: SurfaceFillContext_v1.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrCopyRenderTask.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrDirectContextPriv.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrDrawOpAtlas.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrBitmapTextGeoProc.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrDistanceFieldGeoProc.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrTextBlob.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: SkRemoteGlyphCache.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) Unexecuted instantiation: GrOpsTask.cpp:GrRectsTouchOrOverlap(SkRect const&, SkRect const&) |
89 | | |
90 | | /** |
91 | | * Apply the transform from 'inRect' to 'outRect' to each point in 'inPts', storing the mapped point |
92 | | * into the parallel index of 'outPts'. |
93 | | */ |
94 | | static inline void GrMapRectPoints(const SkRect& inRect, const SkRect& outRect, |
95 | 0 | const SkPoint inPts[], SkPoint outPts[], int ptCount) { |
96 | 0 | SkMatrix::RectToRect(inRect, outRect).mapPoints(outPts, inPts, ptCount); |
97 | 0 | } Unexecuted instantiation: GrTest.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: SkStrikeSpec.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrDirectContext.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrOpFlushState.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrAtlasManager.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrStrikeCache.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrOpsTask.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrAtlasTextOp.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrSimpleMeshDrawOpHelper.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrSmallPathAtlasMgr.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrSmallPathShapeData.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrTextureOp.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: SmallPathRenderer.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: Device_drawTexture.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: SurfaceFillContext_v1.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrCopyRenderTask.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrDirectContextPriv.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrDrawOpAtlas.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrBitmapTextGeoProc.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrDistanceFieldGeoProc.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: GrTextBlob.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) Unexecuted instantiation: SkRemoteGlyphCache.cpp:GrMapRectPoints(SkRect const&, SkRect const&, SkPoint const*, SkPoint*, int) |
98 | | |
99 | | /** |
100 | | * Clips the srcRect and the dstPoint to the bounds of the srcSize and dstSize respectively. Returns |
101 | | * true if the srcRect and dstRect intersect the srcRect and dst rect (dstPoint with srcRect |
102 | | * width/height). Returns false otherwise. The clipped values are returned in clippedSrcRect and |
103 | | * clippedDstPoint. |
104 | | */ |
105 | | static inline bool GrClipSrcRectAndDstPoint(const SkISize& dstSize, |
106 | | const SkISize& srcSize, |
107 | | const SkIRect& srcRect, |
108 | | const SkIPoint& dstPoint, |
109 | | SkIRect* clippedSrcRect, |
110 | 11.3k | SkIPoint* clippedDstPoint) { |
111 | 11.3k | *clippedSrcRect = srcRect; |
112 | 11.3k | *clippedDstPoint = dstPoint; |
113 | | |
114 | | // clip the left edge to src and dst bounds, adjusting dstPoint if necessary |
115 | 11.3k | if (clippedSrcRect->fLeft < 0) { |
116 | 0 | clippedDstPoint->fX -= clippedSrcRect->fLeft; |
117 | 0 | clippedSrcRect->fLeft = 0; |
118 | 0 | } |
119 | 11.3k | if (clippedDstPoint->fX < 0) { |
120 | 0 | clippedSrcRect->fLeft -= clippedDstPoint->fX; |
121 | 0 | clippedDstPoint->fX = 0; |
122 | 0 | } |
123 | | |
124 | | // clip the top edge to src and dst bounds, adjusting dstPoint if necessary |
125 | 11.3k | if (clippedSrcRect->fTop < 0) { |
126 | 0 | clippedDstPoint->fY -= clippedSrcRect->fTop; |
127 | 0 | clippedSrcRect->fTop = 0; |
128 | 0 | } |
129 | 11.3k | if (clippedDstPoint->fY < 0) { |
130 | 0 | clippedSrcRect->fTop -= clippedDstPoint->fY; |
131 | 0 | clippedDstPoint->fY = 0; |
132 | 0 | } |
133 | | |
134 | | // clip the right edge to the src and dst bounds. |
135 | 11.3k | if (clippedSrcRect->fRight > srcSize.width()) { |
136 | 0 | clippedSrcRect->fRight = srcSize.width(); |
137 | 0 | } |
138 | 11.3k | if (clippedDstPoint->fX + clippedSrcRect->width() > dstSize.width()) { |
139 | 0 | clippedSrcRect->fRight = clippedSrcRect->fLeft + dstSize.width() - clippedDstPoint->fX; |
140 | 0 | } |
141 | | |
142 | | // clip the bottom edge to the src and dst bounds. |
143 | 11.3k | if (clippedSrcRect->fBottom > srcSize.height()) { |
144 | 0 | clippedSrcRect->fBottom = srcSize.height(); |
145 | 0 | } |
146 | 11.3k | if (clippedDstPoint->fY + clippedSrcRect->height() > dstSize.height()) { |
147 | 0 | clippedSrcRect->fBottom = clippedSrcRect->fTop + dstSize.height() - clippedDstPoint->fY; |
148 | 0 | } |
149 | | |
150 | | // The above clipping steps may have inverted the rect if it didn't intersect either the src or |
151 | | // dst bounds. |
152 | 11.3k | return !clippedSrcRect->isEmpty(); |
153 | 11.3k | } Unexecuted instantiation: GrTest.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: SkStrikeSpec.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrDirectContext.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrOpFlushState.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrAtlasManager.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrStrikeCache.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrOpsTask.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrAtlasTextOp.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrSimpleMeshDrawOpHelper.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrSmallPathAtlasMgr.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrSmallPathShapeData.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrTextureOp.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: SmallPathRenderer.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: Device_drawTexture.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: SurfaceFillContext_v1.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) GrCopyRenderTask.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Line | Count | Source | 110 | 11.3k | SkIPoint* clippedDstPoint) { | 111 | 11.3k | *clippedSrcRect = srcRect; | 112 | 11.3k | *clippedDstPoint = dstPoint; | 113 | | | 114 | | // clip the left edge to src and dst bounds, adjusting dstPoint if necessary | 115 | 11.3k | if (clippedSrcRect->fLeft < 0) { | 116 | 0 | clippedDstPoint->fX -= clippedSrcRect->fLeft; | 117 | 0 | clippedSrcRect->fLeft = 0; | 118 | 0 | } | 119 | 11.3k | if (clippedDstPoint->fX < 0) { | 120 | 0 | clippedSrcRect->fLeft -= clippedDstPoint->fX; | 121 | 0 | clippedDstPoint->fX = 0; | 122 | 0 | } | 123 | | | 124 | | // clip the top edge to src and dst bounds, adjusting dstPoint if necessary | 125 | 11.3k | if (clippedSrcRect->fTop < 0) { | 126 | 0 | clippedDstPoint->fY -= clippedSrcRect->fTop; | 127 | 0 | clippedSrcRect->fTop = 0; | 128 | 0 | } | 129 | 11.3k | if (clippedDstPoint->fY < 0) { | 130 | 0 | clippedSrcRect->fTop -= clippedDstPoint->fY; | 131 | 0 | clippedDstPoint->fY = 0; | 132 | 0 | } | 133 | | | 134 | | // clip the right edge to the src and dst bounds. | 135 | 11.3k | if (clippedSrcRect->fRight > srcSize.width()) { | 136 | 0 | clippedSrcRect->fRight = srcSize.width(); | 137 | 0 | } | 138 | 11.3k | if (clippedDstPoint->fX + clippedSrcRect->width() > dstSize.width()) { | 139 | 0 | clippedSrcRect->fRight = clippedSrcRect->fLeft + dstSize.width() - clippedDstPoint->fX; | 140 | 0 | } | 141 | | | 142 | | // clip the bottom edge to the src and dst bounds. | 143 | 11.3k | if (clippedSrcRect->fBottom > srcSize.height()) { | 144 | 0 | clippedSrcRect->fBottom = srcSize.height(); | 145 | 0 | } | 146 | 11.3k | if (clippedDstPoint->fY + clippedSrcRect->height() > dstSize.height()) { | 147 | 0 | clippedSrcRect->fBottom = clippedSrcRect->fTop + dstSize.height() - clippedDstPoint->fY; | 148 | 0 | } | 149 | | | 150 | | // The above clipping steps may have inverted the rect if it didn't intersect either the src or | 151 | | // dst bounds. | 152 | 11.3k | return !clippedSrcRect->isEmpty(); | 153 | 11.3k | } |
Unexecuted instantiation: GrDirectContextPriv.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrDrawOpAtlas.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrBitmapTextGeoProc.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrDistanceFieldGeoProc.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: GrTextBlob.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) Unexecuted instantiation: SkRemoteGlyphCache.cpp:GrClipSrcRectAndDstPoint(SkISize const&, SkISize const&, SkIRect const&, SkIPoint const&, SkIRect*, SkIPoint*) |
154 | | #endif |