Home
last modified time | relevance | path

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

/external/skia/src/gpu/batches/
DGrCopySurfaceBatch.h26 const SkIPoint& dstPoint,
31 const SkIPoint& dstPoint);
52 const SkIPoint& dstPoint) in GrCopySurfaceBatch() argument
57 , fDstPoint(dstPoint) { in GrCopySurfaceBatch()
58 fBounds = SkRect::MakeXYWH(SkIntToScalar(dstPoint.fX), SkIntToScalar(dstPoint.fY), in GrCopySurfaceBatch()
DGrCopySurfaceBatch.cpp15 const SkIPoint& dstPoint, in ClipSrcRectAndDstPoint() argument
19 *clippedDstPoint = dstPoint; in ClipSrcRectAndDstPoint()
63 const SkIPoint& dstPoint) { in Create() argument
70 if (!ClipSrcRectAndDstPoint(dst, src, srcRect, dstPoint, &clippedSrcRect, &clippedDstPoint)) { in Create()
/external/skia/tests/
DCopySurfaceTest.cpp62 for (auto dstPoint : kDstPoints) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
84 bool result = context->copySurface(dst, src, srcRect, dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
87 SkIPoint dstOffset = { dstPoint.fX - srcRect.fLeft, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
88 dstPoint.fY - srcRect.fTop }; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
89 SkIRect copiedDstRect = SkIRect::MakeXYWH(dstPoint.fX, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
90 dstPoint.fY, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/opencv3/modules/core/misc/java/test/
DPointTest.java22 Point dstPoint = truth.clone(); in testClone() local
23 assertEquals(truth, dstPoint); in testClone()
DPoint3Test.java27 Point3 dstPoint = p1.cross(p2); in testCross() local
29 assertEquals(truth, dstPoint); in testCross()
/external/skia/src/gpu/vk/
DGrVkGpu.h77 const SkIPoint& dstPoint) override;
191 const SkIPoint& dstPoint);
196 const SkIPoint& dstPoint);
DGrVkGpu.cpp986 const SkIPoint& dstPoint) { in copySurfaceAsCopyImage() argument
1028 int32_t dstY = dstPoint.fY; in copySurfaceAsCopyImage()
1034 dstY = dst->height() - dstPoint.fY - srcVkRect.height(); in copySurfaceAsCopyImage()
1042 copyRegion.dstOffset = { dstPoint.fX, dstY, 0 }; in copySurfaceAsCopyImage()
1063 const SkIPoint& dstPoint) { in copySurfaceAsDraw() argument
1070 const SkIPoint& dstPoint) { in onCopySurface() argument
1072 this->copySurfaceAsCopyImage(dst, src, srcRect, dstPoint); in onCopySurface()
1077 this->copySurfaceAsDraw(dst, src, srcRect, dstPoint); in onCopySurface()
/external/skia/src/gpu/gl/
DGrGLGpu.h221 const SkIPoint& dstPoint) override;
243 const SkIPoint& dstPoint);
247 const SkIPoint& dstPoint);
251 const SkIPoint& dstPoint);
DGrGLGpu.cpp3335 const SkIPoint& dstPoint) { in onCopySurface() argument
3345 this->copySurfaceAsDraw(dst, src, srcRect, dstPoint); in onCopySurface()
3350 this->copySurfaceAsCopyTexSubImage(dst, src, srcRect, dstPoint); in onCopySurface()
3355 return this->copySurfaceAsBlitFramebuffer(dst, src, srcRect, dstPoint); in onCopySurface()
3359 this->copySurfaceAsDraw(dst, src, srcRect, dstPoint); in onCopySurface()
3663 const SkIPoint& dstPoint) { in copySurfaceAsDraw() argument
3676 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, dstPoint.fY, w, h); in copySurfaceAsDraw()
3694 GrGLfloat dx0 = 2.f * dstPoint.fX / dw - 1.f; in copySurfaceAsDraw()
3695 GrGLfloat dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f; in copySurfaceAsDraw()
3696 GrGLfloat dy0 = 2.f * dstPoint.fY / dh - 1.f; in copySurfaceAsDraw()
[all …]
/external/skia/src/gpu/
DGrDrawTarget.cpp180 SkIPoint dstPoint = {0, 0}; in setupDstReadIfNecessary() local
181 this->copySurface(copy, rt, copyRect, dstPoint); in setupDstReadIfNecessary()
412 const SkIPoint& dstPoint) { in copySurface() argument
413 GrBatch* batch = GrCopySurfaceBatch::Create(dst, src, srcRect, dstPoint); in copySurface()
DGrGpu.h339 const SkIPoint& dstPoint);
574 const SkIPoint& dstPoint) = 0;
DGrContext.cpp515 const SkIPoint& dstPoint) { in copySurface() argument
529 if (!GrCopySurfaceBatch::ClipSrcRectAndDstPoint(dst, src, srcRect, dstPoint, in copySurface()
546 if (!drawContext->copySurface(src, srcRect, dstPoint)) { in copySurface()
DGrGpu.cpp257 const SkIPoint& dstPoint) { in copySurface() argument
260 return this->onCopySurface(dst, src, srcRect, dstPoint); in copySurface()
DGrDrawTarget.h150 const SkIPoint& dstPoint);
DGrDrawContext.cpp99 bool GrDrawContext::copySurface(GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in copySurface() argument
105 return this->getDrawTarget()->copySurface(fRenderTarget, src, srcRect, dstPoint); in copySurface()
DGrTest.cpp317 const SkIPoint& dstPoint) override { return false; }; in onCopySurface() argument
/external/skia/include/gpu/
DGrDrawContext.h50 bool copySurface(GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint);
DGrContext.h285 const SkIPoint& dstPoint);