Home
last modified time | relevance | path

Searched refs:copiedDstRect (Results 1 – 2 of 2) sorted by relevance

/external/skqp/tests/
DCopySurfaceTest.cpp114 SkIRect copiedDstRect = SkIRect::MakeXYWH(dstPoint.fX, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
125 copiedDstRect.fLeft += copiedSrcRect.fLeft - srcRect.fLeft; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
126 copiedDstRect.fTop += copiedSrcRect.fTop - srcRect.fTop; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
127 copiedDstRect.fRight -= copiedSrcRect.fRight - srcRect.fRight; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
128 copiedDstRect.fBottom -= copiedSrcRect.fBottom - in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
131 if (copiedDstRect.isEmpty() || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
132 !copiedDstRect.intersect(SkIRect::MakeWH(kW, kH))) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
160 if (copiedDstRect.contains(x, y)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DCopySurfaceTest.cpp126 SkIRect copiedDstRect = SkIRect::MakeXYWH(dstPoint.fX, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
137 copiedDstRect.fLeft += copiedSrcRect.fLeft - srcRect.fLeft; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
138 copiedDstRect.fTop += copiedSrcRect.fTop - srcRect.fTop; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
139 copiedDstRect.fRight -= copiedSrcRect.fRight - srcRect.fRight; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
140 copiedDstRect.fBottom -= copiedSrcRect.fBottom - in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
143 if (copiedDstRect.isEmpty() || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
144 !copiedDstRect.intersect(SkIRect::MakeWH(kW, kH))) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
177 if (copiedDstRect.contains(x, y)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()