Home
last modified time | relevance | path

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

1234

/external/skia/src/gpu/
DGrCopyRenderTask.cpp18 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()
DGrCopyRenderTask.h23 SkIPoint dstPoint,
31 SkIPoint dstPoint,
DGrSurfaceContext.h196 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);
DGrSurfaceProxy.cpp262 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/
DGrCopySurfaceOp.h22 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()
DGrCopySurfaceOp.cpp19 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/
DCopySurfaceTest.cpp79 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/
DCopySurfaceTest.cpp74 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/
DGrVkGpuCommandBuffer.h32 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()
DGrVkGpu.h215 const SkIPoint& dstPoint, bool canDiscardOutsideDstRect) override;
233 const SkIPoint& dstPoint);
239 const SkIPoint& dstPoint);
244 const SkIPoint& dstPoint);
255 const SkIPoint& dstPoint);
DGrVkGpu.cpp483 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 …]
DGrVkCopyManager.cpp154 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/
DGrGLGpuCommandBuffer.h25 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/
DGrMtlCaps.h64 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/
DGrSurfaceContext.cpp79 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/
DGrMtlGpu.mm595 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 …]
DGrMtlGpuCommandBuffer.h31 const SkIPoint& dstPoint) override { in copy() argument
32 fGpu->copySurface(fTexture, fOrigin, src, srcOrigin, srcRect, dstPoint); in copy()
62 const SkIPoint& dstPoint) override;
DGrMtlCopyManager.mm130 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;
DGrMtlCaps.h51 const SkIRect& srcRect, const SkIPoint& dstPoint,
93 const SkIRect& srcRect, const SkIPoint& dstPoint) const override;
DGrMtlGpu.h75 const SkIRect& srcRect, const SkIPoint& dstPoint);
82 const SkIRect& srcRect, const SkIPoint& dstPoint);
87 const SkIPoint& dstPoint,
DGrMtlCaps.mm121 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/
DGrMockGpuCommandBuffer.h23 const SkIPoint& dstPoint) override {} in copy() argument
44 const SkIPoint& dstPoint) override {} in copy() argument
/external/skia/src/gpu/vk/
DGrVkGpu.h290 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/
DGrD3DGpu.cpp420 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()
DGrD3DGpu.h189 const SkIPoint& dstPoint) override;
243 const SkIPoint& dstPoint);
246 const SkIPoint& dstPoint);

1234