/external/skia/src/gpu/ops/ |
H A D | GrCopySurfaceOp.cpp | 14 const SkIPoint& dstPoint, 18 *clippedDstPoint = dstPoint; 20 // clip the left edge to src and dst bounds, adjusting dstPoint if necessary 30 // clip the top edge to src and dst bounds, adjusting dstPoint if necessary 62 const SkIPoint& dstPoint) { 74 if (!ClipSrcRectAndDstPoint(dst, src, srcRect, dstPoint, &clippedSrcRect, &clippedDstPoint)) { 11 ClipSrcRectAndDstPoint(const GrSurface* dst, const GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint, SkIRect* clippedSrcRect, SkIPoint* clippedDstPoint) argument 61 Make(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument
|
H A D | GrCopySurfaceOp.h | 26 const SkIPoint& dstPoint, 31 const SkIPoint& dstPoint); 48 const SkIPoint& dstPoint) 49 : INHERITED(ClassID()), fDst(dst), fSrc(src), fSrcRect(srcRect), fDstPoint(dstPoint) { 51 SkRect::MakeXYWH(SkIntToScalar(dstPoint.fX), SkIntToScalar(dstPoint.fY), 47 GrCopySurfaceOp(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument
|
/external/skia/src/gpu/ |
H A D | GrTextureOpList.cpp | 82 const SkIPoint& dstPoint) { 83 std::unique_ptr<GrOp> op = GrCopySurfaceOp::Make(dst, src, srcRect, dstPoint); 79 copySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument
|
H A D | GrSurfaceContext.h | 47 * @param dstPoint the origin of the 'srcRect' in the destination coordinate space 50 * Note: Notionally, 'srcRect' is clipped to 'src's extent with 'dstPoint' being adjusted. 51 * Then the 'srcRect' offset by 'dstPoint' is clipped against the dst's extent. 55 bool copy(GrSurfaceProxy* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { argument 56 return this->onCopy(src, srcRect, dstPoint); 138 const SkIPoint& dstPoint) = 0;
|
H A D | GrTextureContext.cpp | 73 const SkIPoint& dstPoint) { 98 bool result = opList->copySurface(tex.get(), src.get(), srcRect, dstPoint); 71 onCopy(GrSurfaceProxy* srcProxy, const SkIRect& srcRect, const SkIPoint& dstPoint) argument
|
H A D | GrRenderTargetOpList.cpp | 228 const SkIPoint& dstPoint) { 229 std::unique_ptr<GrOp> op = GrCopySurfaceOp::Make(dst, src, srcRect, dstPoint); 225 copySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument
|
H A D | GrGpu.cpp | 270 const SkIPoint& dstPoint) { 280 return this->onCopySurface(dst, src, srcRect, dstPoint); 267 copySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument
|
H A D | GrRenderTargetContext.cpp | 136 const SkIPoint& dstPoint) { 155 return this->getOpList()->copySurface(rt.get(), src.get(), srcRect, dstPoint); 1805 SkIPoint dstPoint = {0, 0}; local 1806 this->getOpList()->copySurface(copy.get(), rt, copyRect, dstPoint); 134 onCopy(GrSurfaceProxy* srcProxy, const SkIRect& srcRect, const SkIPoint& dstPoint) argument
|
/external/skia/src/gpu/vk/ |
H A D | GrVkCopyManager.cpp | 145 const SkIPoint& dstPoint) { 187 float dx0 = 2.f * dstPoint.fX / dw - 1.f; 188 float dx1 = 2.f * (dstPoint.fX + w) / dw - 1.f; 189 float dy0 = 2.f * dstPoint.fY / dh - 1.f; 190 float dy1 = 2.f * (dstPoint.fY + h) / dh - 1.f; 141 copySurfaceAsDraw(GrVkGpu* gpu, GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument
|
H A D | GrVkGpu.cpp | 380 const SkIPoint& dstPoint) { 390 int32_t dstY = dstPoint.fY; 396 dstY = dst->height() - dstPoint.fY - srcVkRect.height(); 403 resolveInfo.dstOffset = { dstPoint.fX, dstY, 0 }; 1379 const SkIPoint& dstPoint) { 1398 int32_t dstY = dstPoint.fY; 1404 dstY = dst->height() - dstPoint.fY - srcVkRect.height(); 1412 copyRegion.dstOffset = { dstPoint.fX, dstY, 0 }; 1423 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, dstPoint 379 resolveImage(GrVkRenderTarget* dst, GrVkRenderTarget* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument 1374 copySurfaceAsCopyImage(GrSurface* dst, GrSurface* src, GrVkImage* dstImage, GrVkImage* srcImage, const SkIRect& srcRect, const SkIPoint& dstPoint) argument 1451 copySurfaceAsBlit(GrSurface* dst, GrSurface* src, GrVkImage* dstImage, GrVkImage* srcImage, const SkIRect& srcRect, const SkIPoint& dstPoint) argument 1540 copySurfaceAsResolve(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument 1550 onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGLGpu.cpp | 3317 const SkIPoint& dstPoint, 3369 (dstPoint.fX != srcRect.fLeft || dstPoint.fY != srcRect.fTop)) { 3470 const SkIPoint& dstPoint) { 3480 if (this->copySurfaceAsDraw(dst, src, srcRect, dstPoint)) { 3486 this->copySurfaceAsCopyTexSubImage(dst, src, srcRect, dstPoint); 3490 if (can_blit_framebuffer_for_copy_surface(dst, src, srcRect, dstPoint, this)) { 3491 return this->copySurfaceAsBlitFramebuffer(dst, src, srcRect, dstPoint); 3495 if (this->copySurfaceAsDraw(dst, src, srcRect, dstPoint)) { 3945 const SkIPoint& dstPoint) { 3314 can_blit_framebuffer_for_copy_surface(const GrSurface* dst, const GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint, const GrGLGpu* gpu) argument 3467 onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument 3942 copySurfaceAsDraw(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument 4032 copySurfaceAsCopyTexSubImage(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument 4069 copySurfaceAsBlitFramebuffer(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) argument [all...] |