/external/skia/src/gpu/ops/ |
D | GrCopySurfaceOp.h | 26 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()
|
D | GrCopySurfaceOp.cpp | 14 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/ |
D | CopySurfaceTest.cpp | 68 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/ |
D | GrVkGpu.h | 77 const SkIPoint& dstPoint) override; 221 const SkIPoint& dstPoint); 228 const SkIPoint& dstPoint); 233 const SkIPoint& dstPoint); 249 const SkIPoint& dstPoint);
|
D | GrVkGpu.cpp | 380 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 …]
|
D | GrVkCopyManager.cpp | 145 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()
|
D | GrVkCopyManager.h | 33 const SkIPoint& dstPoint);
|
/external/skia/src/gpu/ |
D | GrSurfaceContext.h | 55 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;
|
D | GrTextureOpList.cpp | 82 const SkIPoint& dstPoint) { in copySurface() argument 83 std::unique_ptr<GrOp> op = GrCopySurfaceOp::Make(dst, src, srcRect, dstPoint); in copySurface()
|
D | GrTextureContext.cpp | 73 const SkIPoint& dstPoint) { in onCopy() argument 98 bool result = opList->copySurface(tex.get(), src.get(), srcRect, dstPoint); in onCopy()
|
D | GrTextureOpList.h | 57 const SkIPoint& dstPoint);
|
D | GrTextureContext.h | 49 bool onCopy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) override;
|
D | GrRenderTargetOpList.h | 104 const SkIPoint& dstPoint);
|
D | GrGpu.h | 332 const SkIPoint& dstPoint); 593 const SkIPoint& dstPoint) = 0;
|
D | GrRenderTargetOpList.cpp | 228 const SkIPoint& dstPoint) { in copySurface() argument 229 std::unique_ptr<GrOp> op = GrCopySurfaceOp::Make(dst, src, srcRect, dstPoint); in copySurface()
|
D | GrGpu.cpp | 270 const SkIPoint& dstPoint) { in copySurface() argument 280 return this->onCopySurface(dst, src, srcRect, dstPoint); in copySurface()
|
D | GrRenderTargetContext.h | 471 bool onCopy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) override;
|
D | GrRenderTargetContext.cpp | 136 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/ |
D | GrGLGpu.h | 232 const SkIPoint& dstPoint) override; 260 const SkIPoint& dstPoint); 264 const SkIPoint& dstPoint); 268 const SkIPoint& dstPoint);
|
D | GrGLGpu.cpp | 3317 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/ |
D | GrTest.cpp | 301 const SkIPoint& dstPoint) override { return false; } in onCopySurface() argument
|