Home
last modified time | relevance | path

Searched refs:dstPoint (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/gpu/ops/
DGrCopySurfaceOp.h26 const SkIPoint& dstPoint,
31 const SkIPoint& dstPoint);
48 const SkIPoint& dstPoint) in GrCopySurfaceOp() argument
49 : INHERITED(ClassID()), fDst(dst), fSrc(src), fSrcRect(srcRect), fDstPoint(dstPoint) { in GrCopySurfaceOp()
51 SkRect::MakeXYWH(SkIntToScalar(dstPoint.fX), SkIntToScalar(dstPoint.fY), in GrCopySurfaceOp()
DGrCopySurfaceOp.cpp14 const SkIPoint& dstPoint, in ClipSrcRectAndDstPoint() argument
18 *clippedDstPoint = dstPoint; in ClipSrcRectAndDstPoint()
62 const SkIPoint& dstPoint) { in Make() argument
74 if (!ClipSrcRectAndDstPoint(dst, src, srcRect, dstPoint, &clippedSrcRect, &clippedDstPoint)) { in Make()
/external/skia/tests/
DCopySurfaceTest.cpp68 for (auto dstPoint : kDstPoints) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
97 bool result = dstContext->copy(src.get(), srcRect, dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 SkIPoint dstOffset = { dstPoint.fX - srcRect.fLeft, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
101 dstPoint.fY - srcRect.fTop }; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
102 SkIRect copiedDstRect = SkIRect::MakeXYWH(dstPoint.fX, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
103 dstPoint.fY, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/vk/
DGrVkGpu.h77 const SkIPoint& dstPoint) override;
221 const SkIPoint& dstPoint);
228 const SkIPoint& dstPoint);
233 const SkIPoint& dstPoint);
249 const SkIPoint& dstPoint);
DGrVkGpu.cpp380 const SkIPoint& dstPoint) { in resolveImage() argument
390 int32_t dstY = dstPoint.fY; in resolveImage()
396 dstY = dst->height() - dstPoint.fY - srcVkRect.height(); in resolveImage()
403 resolveInfo.dstOffset = { dstPoint.fX, dstY, 0 }; in resolveImage()
1379 const SkIPoint& dstPoint) { in copySurfaceAsCopyImage() argument
1398 int32_t dstY = dstPoint.fY; in copySurfaceAsCopyImage()
1404 dstY = dst->height() - dstPoint.fY - srcVkRect.height(); in copySurfaceAsCopyImage()
1412 copyRegion.dstOffset = { dstPoint.fX, dstY, 0 }; in copySurfaceAsCopyImage()
1423 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, dstPoint.fY, in copySurfaceAsCopyImage()
1456 const SkIPoint& dstPoint) { in copySurfaceAsBlit() argument
[all …]
DGrVkCopyManager.cpp145 const SkIPoint& dstPoint) { in copySurfaceAsDraw() argument
187 float dx0 = 2.f * dstPoint.fX / dw - 1.f; in copySurfaceAsDraw()
188 float dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f; in copySurfaceAsDraw()
189 float dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw()
190 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f; in copySurfaceAsDraw()
DGrVkCopyManager.h33 const SkIPoint& dstPoint);
/external/skia/src/gpu/
DGrSurfaceContext.h55 bool copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in copy() argument
56 return this->onCopy(src, srcRect, dstPoint); in copy()
138 const SkIPoint& dstPoint) = 0;
DGrTextureOpList.cpp82 const SkIPoint& dstPoint) { in copySurface() argument
83 std::unique_ptr<GrOp> op = GrCopySurfaceOp::Make(dst, src, srcRect, dstPoint); in copySurface()
DGrTextureContext.cpp73 const SkIPoint& dstPoint) { in onCopy() argument
98 bool result = opList->copySurface(tex.get(), src.get(), srcRect, dstPoint); in onCopy()
DGrTextureOpList.h57 const SkIPoint& dstPoint);
DGrTextureContext.h49 bool onCopy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) override;
DGrRenderTargetOpList.h104 const SkIPoint& dstPoint);
DGrGpu.h332 const SkIPoint& dstPoint);
593 const SkIPoint& dstPoint) = 0;
DGrRenderTargetOpList.cpp228 const SkIPoint& dstPoint) { in copySurface() argument
229 std::unique_ptr<GrOp> op = GrCopySurfaceOp::Make(dst, src, srcRect, dstPoint); in copySurface()
DGrGpu.cpp270 const SkIPoint& dstPoint) { in copySurface() argument
280 return this->onCopySurface(dst, src, srcRect, dstPoint); in copySurface()
DGrRenderTargetContext.h471 bool onCopy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) override;
DGrRenderTargetContext.cpp136 const SkIPoint& dstPoint) { in onCopy() argument
155 return this->getOpList()->copySurface(rt.get(), src.get(), srcRect, dstPoint); in onCopy()
1805 SkIPoint dstPoint = {0, 0}; in setupDstTexture() local
1806 this->getOpList()->copySurface(copy.get(), rt, copyRect, dstPoint); in setupDstTexture()
/external/skia/src/gpu/gl/
DGrGLGpu.h232 const SkIPoint& dstPoint) override;
260 const SkIPoint& dstPoint);
264 const SkIPoint& dstPoint);
268 const SkIPoint& dstPoint);
DGrGLGpu.cpp3317 const SkIPoint& dstPoint, in can_blit_framebuffer_for_copy_surface() argument
3369 (dstPoint.fX != srcRect.fLeft || dstPoint.fY != srcRect.fTop)) { in can_blit_framebuffer_for_copy_surface()
3470 const SkIPoint& dstPoint) { in onCopySurface() argument
3480 if (this->copySurfaceAsDraw(dst, src, srcRect, dstPoint)) { in onCopySurface()
3486 this->copySurfaceAsCopyTexSubImage(dst, src, srcRect, dstPoint); in onCopySurface()
3490 if (can_blit_framebuffer_for_copy_surface(dst, src, srcRect, dstPoint, this)) { in onCopySurface()
3491 return this->copySurfaceAsBlitFramebuffer(dst, src, srcRect, dstPoint); in onCopySurface()
3495 if (this->copySurfaceAsDraw(dst, src, srcRect, dstPoint)) { in onCopySurface()
3945 const SkIPoint& dstPoint) { in copySurfaceAsDraw() argument
3967 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, dstPoint.fY, w, h); in copySurfaceAsDraw()
[all …]
/external/skia/tools/gpu/
DGrTest.cpp301 const SkIPoint& dstPoint) override { return false; } in onCopySurface() argument