Home
last modified time | relevance | path

Searched refs:dstPoint (Results 1 - 25 of 36) sorted by relevance

12

/third_party/skia/src/gpu/
H A DGrCopyRenderTask.cpp19 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 DGrCopyRenderTask.h16 * Copies pixels from srcRect in src to SkIRect::MakePtSize(dstPoint, srcRect.dimensions) in
23 SkIPoint dstPoint,
31 SkIPoint dstPoint,
H A DSurfaceContext.h176 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 DGrSurfaceProxy.cpp273 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 DGrCaps.h371 const SkIRect& srcRect, const SkIPoint& dstPoint) const;
616 const SkIRect& srcRect, const SkIPoint& dstPoint) const = 0;
H A DGrDrawingManager.h90 // dstProxy with top left at dstPoint. If the src rect is clipped by the src bounds then pixel
98 SkIPoint dstPoint,
H A DSurfaceFillContext.h94 * Draws the src texture with no matrix. The dstRect is the dstPoint with the width and height
100 const SkIPoint& dstPoint) = 0;
H A DGrCaps.cpp297 const SkIRect& srcRect, const SkIPoint& dstPoint) const { in canCopySurface()
305 return this->onCanCopySurface(dst, src, srcRect, dstPoint); in canCopySurface()
H A DGrGpu.h374 const SkIPoint& dstPoint);
817 const SkIPoint& dstPoint) = 0;
/third_party/skia/tests/
H A DCopySurfaceTest.cpp78 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 DGrMtlCaps.h63 const SkIRect& srcRect, const SkIPoint& dstPoint,
70 const SkIPoint& dstPoint,
124 const SkIRect& srcRect, const SkIPoint& dstPoint) const override;
H A DGrMtlGpu.h85 const SkIRect& srcRect, const SkIPoint& dstPoint);
88 const SkIPoint& dstPoint) override;
/third_party/skia/src/gpu/vk/
H A DGrVkGpu.h333 const SkIPoint& dstPoint) override;
372 const SkIPoint& dstPoint);
379 const SkIPoint& dstPoint);
382 const SkIPoint& dstPoint);
403 const SkIPoint& dstPoint);
H A DGrVkGpu.cpp704 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 DGrD3DGpu.h207 const SkIPoint& dstPoint) override;
261 const SkIPoint& dstPoint);
264 const SkIPoint& dstPoint);
H A DGrD3DGpu.cpp432 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 DGrD3DCaps.h137 const SkIRect& srcRect, const SkIPoint& dstPoint) const override;
/third_party/skia/src/gpu/geometry/
H A DGrRect.h100 * 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 DSurfaceFillContext_v1.cpp236 const SkIPoint& dstPoint) { in blitTexture()
243 dstPoint, in blitTexture()
234 blitTexture(GrSurfaceProxyView view, const SkIRect& srcRect, const SkIPoint& dstPoint) blitTexture() argument
H A DSurfaceFillContext_v1.h45 const SkIPoint& dstPoint) override;
/third_party/skia/src/gpu/gl/
H A DGrGLGpu.h364 const SkIPoint& dstPoint) override;
389 const SkIRect& srcRect, const SkIPoint& dstPoint);
391 const SkIPoint& dstPoint);
393 const SkIPoint& dstPoint);
H A DGrGLGpu.cpp2871 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 DGrGLCaps.h443 const SkIRect& srcRect, const SkIPoint& dstPoint) const;
534 const SkIRect& srcRect, const SkIPoint& dstPoint) const override;
/third_party/skia/src/gpu/dawn/
H A DGrDawnCaps.h62 const SkIRect& srcRect, const SkIPoint& dstPoint) const override {
/third_party/skia/src/gpu/mock/
H A DGrMockCaps.h151 const SkIRect& srcRect, const SkIPoint& dstPoint) const override {

Completed in 27 milliseconds

12