skia2/include/private
Greg Daniel 84ea04949c Reland "Remove support for copyAsDraw in gpu copySurface."
This reverts commit c5167c053b.

Reason for revert: fixed

Original change's description:
> Revert "Remove support for copyAsDraw in gpu copySurface."
>
> This reverts commit 6565506463.
>
> Reason for revert: seems to break things?
>
> Original change's description:
> > Remove support for copyAsDraw in gpu copySurface.
> >
> > The major changes on a higher lever are:
> > 1) The majority of all copies now go through GrSurfaceProxy::Copy which
> > takes in a proxy and returns a new one with the data copied to it. This
> > is the most common use case within Ganesh.
> >
> > 2) The backend copy calls no longer do draws, require origins to be the
> > same, and won't do any swizzling or adjustment of subrects. They are
> > all implemented to be dumb copy this data to this other spot.
> >
> > 3) The GrSurfaceContext copy call has now been moved to priv and renamed
> > copyNoDraw, and a new priv copyAsDraw was added to GrRenderTargetContext.
> >
> > 4) WritePixels and ReplaceRenderTarget both need to specifiy the destination
> > of copies. They are the only users (besides the GrSurfaceProxy::Copy) which
> > call the priv methods on GrSurfaceContext.
> >
> > Change-Id: Iaf1eb3a73ccaf39a75af77e281dae594f809186f
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/217459
> > Reviewed-by: Brian Salomon <bsalomon@google.com>
> > Commit-Queue: Greg Daniel <egdaniel@google.com>
>
> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com
>
> Change-Id: Id43aa8aa1451e794342e930441d9975b90e6b59f
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/218549
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Greg Daniel <egdaniel@google.com>

TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com

Change-Id: I1a96f85ae2ff7622a6b57406755d478e7fbcf56e
No-Presubmit: true
No-Tree-Checks: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/218797
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
2019-06-06 13:56:31 +00:00
..
GrAuditTrail.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrColor.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrContext_Base.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrGLTypesPriv.h Add API to invalidate GL texture parameters from GrBackendTexture. 2019-06-05 13:50:25 +00:00
GrImageContext.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrOpList.h Revert "Clear and discard stencil buffers on tilers" 2019-05-15 15:17:19 +00:00
GrProxyRef.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrRecordingContext.h Reduce opList splitting by default in Skia 2019-05-01 15:24:08 +00:00
GrRenderTargetProxy.h Remove GrInternalSurfaceFlags::kNoPendingIO as it is no longer needed 2019-04-25 13:37:59 +00:00
GrResourceKey.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrSharedEnums.h sksl enum support 2017-11-13 14:36:40 +00:00
GrSingleOwner.h Add thread safety annotations for SkMutex 2019-05-13 15:44:33 +00:00
GrSkSLFPFactoryCache.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrSurfaceProxy.h Reland "Remove support for copyAsDraw in gpu copySurface." 2019-06-06 13:56:31 +00:00
GrTextureProxy.h Remove GrInternalSurfaceFlags::kNoPendingIO as it is no longer needed 2019-04-25 13:37:59 +00:00
GrTypesPriv.h Experimental: Add R_16 and RG_1616 to Ganesh 2019-06-06 11:57:14 +00:00
GrVkTypesPriv.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkBitmaskEnum.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkChecksum.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkColorData.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkDeferredDisplayList.h Move ccpr headers for display list out of include/private. 2019-05-20 14:50:56 +00:00
SkEncodedInfo.h Move skcms.h to include/third_party/skcms 2019-04-29 15:02:45 +00:00
SkFixed.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFloatBits.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFloatingPoint.h Color matrix effect rewritten as .fp 2019-05-31 14:25:05 +00:00
SkHalf.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkImageInfoPriv.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkMacros.h SkTypes: more into SkMacros 2018-06-12 20:24:43 +00:00
SkMalloc.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkMutex.h Add thread safety annotations for SkMutex 2019-05-13 15:44:33 +00:00
SkNoncopyable.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNx_neon.h minor Sk4px cleanup 2018-12-18 20:46:25 +00:00
SkNx_sse.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkNx.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkOnce.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkPathRef.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSafe32.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSafe_math.h Guard against buggy ucrt\math.h. 2016-11-28 15:40:23 +00:00
SkSemaphore.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkShadowFlags.h Remove deprecated drawShadow interfaces 2018-02-28 19:07:29 +00:00
SkSpinlock.h Add thread safety annotations. 2019-05-10 13:40:38 +00:00
SkTArray.h IWYU for SkTLogic.h 2019-05-02 21:17:37 +00:00
SkTDArray.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTemplates.h IWYU for SkTLogic.h 2019-05-02 21:17:37 +00:00
SkTFitsIn.h Add support for MSVC run-time checks (and control flow guard) 2019-02-04 20:55:24 +00:00
SkTHash.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkThreadAnnotations.h Add thread safety annotations for SkMutex 2019-05-13 15:44:33 +00:00
SkThreadID.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkTLogic.h IWYU for SkTLogic.h 2019-05-02 21:17:37 +00:00
SkTo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkVx.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkWeakRefCnt.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00