Home
last modified time | relevance | path

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

/third_party/skia/tests/
H A DCopySurfaceTest.cpp124 SkIRect copiedDstRect = SkIRect::MakeXYWH(dstPoint.fX, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
135 copiedDstRect.fLeft += copiedSrcRect.fLeft - srcRect.fLeft; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
136 copiedDstRect.fTop += copiedSrcRect.fTop - srcRect.fTop; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 copiedDstRect.fRight -= copiedSrcRect.fRight - srcRect.fRight; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
138 copiedDstRect.fBottom -= copiedSrcRect.fBottom - in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
141 if (copiedDstRect.isEmpty() || in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 !copiedDstRect.intersect(SkIRect::MakeWH(kW, kH))) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
170 // Validate that pixels inside copiedDstRect received the correct in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
175 if (copiedDstRect.contains(x, y)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()

Completed in 1 milliseconds