/external/skia/src/gpu/ |
D | GrCopyRenderTask.cpp | 18 SkIPoint dstPoint, in Make() argument 26 dstPoint, in Make() 28 &dstPoint)) { in Make() 36 dstPoint, in Make() 44 SkIPoint dstPoint, in GrCopyRenderTask() argument 46 : fSrc(std::move(src)), fSrcRect(srcRect), fDstPoint(dstPoint), fOrigin(origin) { in GrCopyRenderTask() 88 SkIPoint dstPoint = fDstPoint; in onExecute() local 90 dstPoint.fY = dstSurface->height() - dstPoint.fY - srcRect.height(); in onExecute() 92 return flushState->gpu()->copySurface(dstSurface, srcSurface, srcRect, dstPoint); in onExecute()
|
D | GrCopyRenderTask.h | 23 SkIPoint dstPoint, 31 SkIPoint dstPoint,
|
D | GrSurfaceContext.h | 196 bool testCopy(sk_sp<GrSurfaceProxy> src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in testCopy() argument 197 return this->copy(std::move(src), srcRect, dstPoint) != nullptr; in testCopy() 259 sk_sp<GrRenderTask> copy(sk_sp<GrSurfaceProxy> src, SkIRect srcRect, SkIPoint dstPoint);
|
D | GrSurfaceProxy.cpp | 262 SkIPoint dstPoint; in Copy() local 266 dstPoint = {srcRect.fLeft, srcRect.fTop}; in Copy() 270 dstPoint = {0, 0}; in Copy() 292 if (dstContext && (copyTask = dstContext->copy(src, srcRect, dstPoint))) { in Copy() 314 if (dstContext && dstContext->blitTexture(std::move(view), srcRect, dstPoint)) { in Copy()
|
/external/skqp/src/gpu/ops/ |
D | GrCopySurfaceOp.h | 22 const SkIPoint& dstPoint); 45 const SkIRect& srcRect, const SkIPoint& dstPoint) in GrCopySurfaceOp() argument 49 , fDstPoint(dstPoint) { in GrCopySurfaceOp() 51 SkRect::MakeXYWH(SkIntToScalar(dstPoint.fX), SkIntToScalar(dstPoint.fY), in GrCopySurfaceOp()
|
D | GrCopySurfaceOp.cpp | 19 const SkIPoint& dstPoint, in clip_src_rect_and_dst_point() argument 23 *clippedDstPoint = dstPoint; in clip_src_rect_and_dst_point() 70 const SkIPoint& dstPoint) { in Make() argument 76 if (!clip_src_rect_and_dst_point(dstProxy, srcProxy, srcRect, dstPoint, in Make()
|
/external/skia/tests/ |
D | CopySurfaceTest.cpp | 79 for (const SkIPoint& dstPoint : kDstPoints) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 116 dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 120 std::move(srcView), srcRect, dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 124 SkIPoint dstOffset = { dstPoint.fX - srcRect.fLeft, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 125 dstPoint.fY - srcRect.fTop }; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 126 SkIRect copiedDstRect = SkIRect::MakeXYWH(dstPoint.fX, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 127 dstPoint.fY, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | CopySurfaceTest.cpp | 74 for (auto dstPoint : kDstPoints) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 109 bool result = dstContext->copy(src.get(), srcRect, dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 112 SkIPoint dstOffset = { dstPoint.fX - srcRect.fLeft, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 113 dstPoint.fY - srcRect.fTop }; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 114 SkIRect copiedDstRect = SkIRect::MakeXYWH(dstPoint.fX, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 115 dstPoint.fY, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.h | 32 const SkIPoint& dstPoint) override; 46 const SkIPoint& dstPoint) in CopyInfo() 47 : fSrc(src), fSrcOrigin(srcOrigin), fSrcRect(srcRect), fDstPoint(dstPoint) {} in CopyInfo() 76 const SkIPoint& dstPoint) override; 161 const SkIPoint& dstPoint, bool shouldDiscardDst) in CopyInfo() 165 , fDstPoint(dstPoint) in CopyInfo()
|
D | GrVkGpu.h | 215 const SkIPoint& dstPoint, bool canDiscardOutsideDstRect) override; 233 const SkIPoint& dstPoint); 239 const SkIPoint& dstPoint); 244 const SkIPoint& dstPoint); 255 const SkIPoint& dstPoint);
|
D | GrVkGpu.cpp | 483 const SkIPoint& dstPoint) { in resolveImage() argument 491 resolveInfo.dstOffset = {dstPoint.fX, dstPoint.fY, 0}; in resolveImage() 1819 const SkIPoint& dstPoint) { in copySurfaceAsCopyImage() argument 1844 int32_t dstY = dstPoint.fY; in copySurfaceAsCopyImage() 1850 dstY = dst->height() - dstPoint.fY - srcVkRect.height(); in copySurfaceAsCopyImage() 1858 copyRegion.dstOffset = { dstPoint.fX, dstY, 0 }; in copySurfaceAsCopyImage() 1869 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, dstPoint.fY, in copySurfaceAsCopyImage() 1879 const SkIPoint& dstPoint) { in copySurfaceAsBlit() argument 1904 dstRect.fLeft = dstPoint.fX; in copySurfaceAsBlit() 1905 dstRect.fRight = dstPoint.fX + srcRect.width(); in copySurfaceAsBlit() [all …]
|
D | GrVkCopyManager.cpp | 154 const SkIRect& srcRect, const SkIPoint& dstPoint, in copySurfaceAsDraw() argument 201 float dx0 = 2.f * dstPoint.fX / dw - 1.f; in copySurfaceAsDraw() 202 float dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f; in copySurfaceAsDraw() 203 float dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw() 204 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f; in copySurfaceAsDraw()
|
/external/skqp/src/gpu/gl/ |
D | GrGLGpuCommandBuffer.h | 25 const SkIPoint& dstPoint) override { in copy() argument 26 fGpu->copySurface(fTexture, fOrigin, src, srcOrigin, srcRect, dstPoint); in copy() 66 const SkIPoint& dstPoint) override { in copy() argument 67 fGpu->copySurface(fRenderTarget, fOrigin, src, srcOrigin, srcRect, dstPoint); in copy()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlCaps.h | 64 const SkIPoint& dstPoint) const; 68 const SkIRect& srcRect, const SkIPoint& dstPoint, 74 const SkIPoint& dstPoint) const; 80 const SkIPoint& dstPoint, 118 const SkIRect& srcRect, const SkIPoint& dstPoint) const override;
|
/external/skqp/src/gpu/ |
D | GrSurfaceContext.cpp | 79 bool GrSurfaceContext::copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in copy() argument 86 dstPoint)) { in copy() 91 src, srcRect, dstPoint); in copy()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.mm | 595 const SkIRect& srcRect, const SkIPoint& dstPoint) { 601 srcRect, dstPoint, dst == src)); 611 dstRect.fLeft = dstPoint.fX; 612 dstRect.fRight = dstPoint.fX + srcRect.width(); 623 dstRect.fTop = dstTex.height - dstPoint.fY - srcMtlRect.height(); 625 dstRect.fTop = dstPoint.fY; 646 const SkIRect& srcRect, const SkIPoint& dstPoint) { 653 srcRect, dstPoint, dst == src)); 700 transferRect, dstPoint, false)); 703 transferRect, dstPoint)) { [all …]
|
D | GrMtlGpuCommandBuffer.h | 31 const SkIPoint& dstPoint) override { in copy() argument 32 fGpu->copySurface(fTexture, fOrigin, src, srcOrigin, srcRect, dstPoint); in copy() 62 const SkIPoint& dstPoint) override;
|
D | GrMtlCopyManager.mm | 130 const SkIRect& srcRect, const SkIPoint& dstPoint, 160 float dx0 = 2.f * dstPoint.fX / dw - 1.f; 161 float dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f; 162 float dy0 = 2.f * dstPoint.fY / dh - 1.f; 163 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f;
|
D | GrMtlCaps.h | 51 const SkIRect& srcRect, const SkIPoint& dstPoint, 93 const SkIRect& srcRect, const SkIPoint& dstPoint) const override;
|
D | GrMtlGpu.h | 75 const SkIRect& srcRect, const SkIPoint& dstPoint); 82 const SkIRect& srcRect, const SkIPoint& dstPoint); 87 const SkIPoint& dstPoint,
|
D | GrMtlCaps.mm | 121 const SkIRect& srcRect, const SkIPoint& dstPoint, 133 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.x(), dstPoint.y(), 170 const SkIRect& srcRect, const SkIPoint& dstPoint) const { 187 srcRect, dstPoint, dst == src) ||
|
/external/skqp/src/gpu/mock/ |
D | GrMockGpuCommandBuffer.h | 23 const SkIPoint& dstPoint) override {} in copy() argument 44 const SkIPoint& dstPoint) override {} in copy() argument
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.h | 290 const SkIPoint& dstPoint) override; 326 const SkIPoint& dstPoint); 329 const SkIRect& srcRect, const SkIPoint& dstPoint); 332 const SkIPoint& dstPoint); 343 const SkIPoint& dstPoint);
|
/external/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 420 const SkIPoint& dstPoint) { in onCopySurface() argument 453 this->copySurfaceAsResolve(dst, src, srcRect, dstPoint); in onCopySurface() 458 this->copySurfaceAsCopyTexture(dst, src, dstTexResource, srcTexResource, srcRect, dstPoint); in onCopySurface() 468 const SkIRect& srcRect, const SkIPoint& dstPoint) { in copySurfaceAsCopyTexture() argument 505 dstPoint.fX, dstPoint.fY, in copySurfaceAsCopyTexture() 510 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, dstPoint.fY, in copySurfaceAsCopyTexture() 517 const SkIPoint& dstPoint) { in copySurfaceAsResolve() argument 521 this->resolveTexture(dst, dstPoint.fX, dstPoint.fY, srcRT, srcRect); in copySurfaceAsResolve() 522 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, dstPoint.fY, in copySurfaceAsResolve()
|
D | GrD3DGpu.h | 189 const SkIPoint& dstPoint) override; 243 const SkIPoint& dstPoint); 246 const SkIPoint& dstPoint);
|