/third_party/skia/src/gpu/ |
H A D | GrCopyRenderTask.cpp | 19 SkIPoint dstPoint, in Make() 27 dstPoint, in Make() 29 &dstPoint)) { in Make() 37 dstPoint, in Make() 45 SkIPoint dstPoint, in GrCopyRenderTask() 47 : fSrc(std::move(src)), fSrcRect(srcRect), fDstPoint(dstPoint), fOrigin(origin) { in GrCopyRenderTask() 89 SkIPoint dstPoint = fDstPoint; in onExecute() local 91 dstPoint.fY = dstSurface->height() - dstPoint.fY - srcRect.height(); in onExecute() 93 return flushState->gpu()->copySurface(dstSurface, srcSurface, srcRect, dstPoint); in onExecute() 15 Make(GrDrawingManager* drawingMgr, sk_sp<GrSurfaceProxy> src, SkIRect srcRect, sk_sp<GrSurfaceProxy> dst, SkIPoint dstPoint, GrSurfaceOrigin origin) Make() argument 41 GrCopyRenderTask(GrDrawingManager* drawingMgr, sk_sp<GrSurfaceProxy> src, SkIRect srcRect, sk_sp<GrSurfaceProxy> dst, SkIPoint dstPoint, GrSurfaceOrigin origin) GrCopyRenderTask() argument [all...] |
H A D | GrCopyRenderTask.h | 16 * Copies pixels from srcRect in src to SkIRect::MakePtSize(dstPoint, srcRect.dimensions) in 23 SkIPoint dstPoint, 31 SkIPoint dstPoint,
|
H A D | SurfaceContext.h | 176 bool testCopy(sk_sp<GrSurfaceProxy> src, const SkIRect& srcRect, const SkIPoint& dstPoint) { in testCopy() argument 177 return this->copy(std::move(src), srcRect, dstPoint) != nullptr; in testCopy() 230 * @param dstPoint the origin of the 'srcRect' in the destination coordinate space 234 * Note: Notionally, 'srcRect' is clipped to 'src's extent with 'dstPoint' being adjusted. 235 * Then the 'srcRect' offset by 'dstPoint' is clipped against the dst's extent. 240 sk_sp<GrRenderTask> copy(sk_sp<GrSurfaceProxy> src, SkIRect srcRect, SkIPoint dstPoint);
|
H A D | GrSurfaceProxy.cpp | 273 SkIPoint dstPoint; in Copy() local 277 dstPoint = {srcRect.fLeft, srcRect.fTop}; in Copy() 281 dstPoint = {0, 0}; in Copy() 302 if (dstContext && (copyTask = dstContext->copy(src, srcRect, dstPoint))) { in Copy() 323 if (dstContext && dstContext->blitTexture(std::move(view), srcRect, dstPoint)) { in Copy()
|
H A D | GrCaps.h | 371 const SkIRect& srcRect, const SkIPoint& dstPoint) const; 616 const SkIRect& srcRect, const SkIPoint& dstPoint) const = 0;
|
H A D | GrDrawingManager.h | 90 // dstProxy with top left at dstPoint. If the src rect is clipped by the src bounds then pixel 98 SkIPoint dstPoint,
|
H A D | SurfaceFillContext.h | 94 * Draws the src texture with no matrix. The dstRect is the dstPoint with the width and height 100 const SkIPoint& dstPoint) = 0;
|
H A D | GrCaps.cpp | 297 const SkIRect& srcRect, const SkIPoint& dstPoint) const { in canCopySurface() 305 return this->onCanCopySurface(dst, src, srcRect, dstPoint); in canCopySurface()
|
H A D | GrGpu.h | 374 const SkIPoint& dstPoint); 817 const SkIPoint& dstPoint) = 0;
|
/third_party/skia/tests/ |
H A D | CopySurfaceTest.cpp | 78 for (const SkIPoint& dstPoint : kDstPoints) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 114 dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 118 std::move(srcView), srcRect, dstPoint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 122 SkIPoint dstOffset = { dstPoint.fX - srcRect.fLeft, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 123 dstPoint.fY - srcRect.fTop }; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 124 SkIRect copiedDstRect = SkIRect::MakeXYWH(dstPoint.fX, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 125 dstPoint.fY, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlCaps.h | 63 const SkIRect& srcRect, const SkIPoint& dstPoint, 70 const SkIPoint& dstPoint, 124 const SkIRect& srcRect, const SkIPoint& dstPoint) const override;
|
H A D | GrMtlGpu.h | 85 const SkIRect& srcRect, const SkIPoint& dstPoint); 88 const SkIPoint& dstPoint) override;
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkGpu.h | 333 const SkIPoint& dstPoint) override; 372 const SkIPoint& dstPoint); 379 const SkIPoint& dstPoint); 382 const SkIPoint& dstPoint); 403 const SkIPoint& dstPoint);
|
H A D | GrVkGpu.cpp | 704 const SkIPoint& dstPoint) { in resolveImage() 716 resolveInfo.dstOffset = {dstPoint.fX, dstPoint.fY, 0}; in resolveImage() 2291 const SkIPoint& dstPoint) { in copySurfaceAsCopyImage() 2331 copyRegion.dstOffset = { dstPoint.fX, dstPoint.fY, 0 }; in copySurfaceAsCopyImage() 2344 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, dstPoint.fY, in copySurfaceAsCopyImage() 2355 const SkIPoint& dstPoint) { in copySurfaceAsBlit() 2396 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint in copySurfaceAsBlit() 703 resolveImage(GrSurface* dst, GrVkRenderTarget* src, const SkIRect& srcRect, const SkIPoint& dstPoint) resolveImage() argument 2286 copySurfaceAsCopyImage(GrSurface* dst, GrSurface* src, GrVkImage* dstImage, GrVkImage* srcImage, const SkIRect& srcRect, const SkIPoint& dstPoint) copySurfaceAsCopyImage() argument 2350 copySurfaceAsBlit(GrSurface* dst, GrSurface* src, GrVkImage* dstImage, GrVkImage* srcImage, const SkIRect& srcRect, const SkIPoint& dstPoint) copySurfaceAsBlit() argument 2421 copySurfaceAsResolve(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) copySurfaceAsResolve() argument 2435 onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) onCopySurface() argument [all...] |
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DGpu.h | 207 const SkIPoint& dstPoint) override; 261 const SkIPoint& dstPoint); 264 const SkIPoint& dstPoint);
|
H A D | GrD3DGpu.cpp | 432 const SkIPoint& dstPoint) { in onCopySurface() 465 this->copySurfaceAsResolve(dst, src, srcRect, dstPoint); in onCopySurface() 470 this->copySurfaceAsCopyTexture(dst, src, dstTexResource, srcTexResource, srcRect, dstPoint); in onCopySurface() 480 const SkIRect& srcRect, const SkIPoint& dstPoint) { in copySurfaceAsCopyTexture() 517 dstPoint.fX, dstPoint.fY, in copySurfaceAsCopyTexture() 522 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint.fX, dstPoint.fY, in copySurfaceAsCopyTexture() 529 const SkIPoint& dstPoint) { in copySurfaceAsResolve() 533 this->resolveTexture(dst, dstPoint in copySurfaceAsResolve() 431 onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) onCopySurface() argument 477 copySurfaceAsCopyTexture(GrSurface* dst, GrSurface* src, GrD3DTextureResource* dstResource, GrD3DTextureResource* srcResource, const SkIRect& srcRect, const SkIPoint& dstPoint) copySurfaceAsCopyTexture() argument 528 copySurfaceAsResolve(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) copySurfaceAsResolve() argument [all...] |
H A D | GrD3DCaps.h | 137 const SkIRect& srcRect, const SkIPoint& dstPoint) const override;
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrRect.h | 100 * Clips the srcRect and the dstPoint to the bounds of the srcSize and dstSize respectively. Returns 101 * true if the srcRect and dstRect intersect the srcRect and dst rect (dstPoint with srcRect 108 const SkIPoint& dstPoint, in GrClipSrcRectAndDstPoint() 112 *clippedDstPoint = dstPoint; in GrClipSrcRectAndDstPoint() 114 // clip the left edge to src and dst bounds, adjusting dstPoint if necessary in GrClipSrcRectAndDstPoint() 124 // clip the top edge to src and dst bounds, adjusting dstPoint if necessary in GrClipSrcRectAndDstPoint() 105 GrClipSrcRectAndDstPoint(const SkISize& dstSize, const SkISize& srcSize, const SkIRect& srcRect, const SkIPoint& dstPoint, SkIRect* clippedSrcRect, SkIPoint* clippedDstPoint) GrClipSrcRectAndDstPoint() argument
|
/third_party/skia/src/gpu/v1/ |
H A D | SurfaceFillContext_v1.cpp | 236 const SkIPoint& dstPoint) { in blitTexture() 243 dstPoint, in blitTexture() 234 blitTexture(GrSurfaceProxyView view, const SkIRect& srcRect, const SkIPoint& dstPoint) blitTexture() argument
|
H A D | SurfaceFillContext_v1.h | 45 const SkIPoint& dstPoint) override;
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLGpu.h | 364 const SkIPoint& dstPoint) override; 389 const SkIRect& srcRect, const SkIPoint& dstPoint); 391 const SkIPoint& dstPoint); 393 const SkIPoint& dstPoint);
|
H A D | GrGLGpu.cpp | 2871 const SkIPoint& dstPoint, in can_blit_framebuffer_for_copy_surface() 2905 src->getBoundsRect(), true, srcRect, dstPoint); in can_blit_framebuffer_for_copy_surface() 3034 const SkIPoint& dstPoint) { in onCopySurface() 3042 if (this->copySurfaceAsDraw(dst, drawToMultisampleFBO, src, srcRect, dstPoint)) { in onCopySurface() 3048 this->copySurfaceAsCopyTexSubImage(dst, src, srcRect, dstPoint); in onCopySurface() 3052 if (can_blit_framebuffer_for_copy_surface(dst, src, srcRect, dstPoint, this->glCaps())) { in onCopySurface() 3053 return this->copySurfaceAsBlitFramebuffer(dst, src, srcRect, dstPoint); in onCopySurface() 3059 if (this->copySurfaceAsDraw(dst, drawToMultisampleFBO, src, srcRect, dstPoint)) { in onCopySurface() 3335 const SkIRect& srcRect, const SkIPoint& dstPoint) { in copySurfaceAsDraw() 3366 SkIRect dstRect = SkIRect::MakeXYWH(dstPoint in copySurfaceAsDraw() 2868 can_blit_framebuffer_for_copy_surface(const GrSurface* dst, const GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint, const GrGLCaps& caps) can_blit_framebuffer_for_copy_surface() argument 3033 onCopySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) onCopySurface() argument 3334 copySurfaceAsDraw(GrSurface* dst, bool drawToMultisampleFBO, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) copySurfaceAsDraw() argument 3413 copySurfaceAsCopyTexSubImage(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) copySurfaceAsCopyTexSubImage() argument 3434 copySurfaceAsBlitFramebuffer(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) copySurfaceAsBlitFramebuffer() argument [all...] |
H A D | GrGLCaps.h | 443 const SkIRect& srcRect, const SkIPoint& dstPoint) const; 534 const SkIRect& srcRect, const SkIPoint& dstPoint) const override;
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnCaps.h | 62 const SkIRect& srcRect, const SkIPoint& dstPoint) const override {
|
/third_party/skia/src/gpu/mock/ |
H A D | GrMockCaps.h | 151 const SkIRect& srcRect, const SkIPoint& dstPoint) const override {
|