diff options
author | Robert Phillips <robertphillips@google.com> | 2017-04-06 11:18:49 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-06 20:03:40 +0000 |
commit | d7cda9a6f050c30e65b0744b3cfb45cecdc40834 (patch) | |
tree | 0c1cca24a20927e155ad306aa5ff43bca4713bcc /include/gpu | |
parent | cf1b022c53afda781ff76fe206d8c93966b1c267 (diff) |
Make GrCopySurfaceOp friendlier to GrSurfaceProxy
Change-Id: Iba8c068bd96ab154d466e485a9db31dd552138de
Reviewed-on: https://skia-review.googlesource.com/11325
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrCaps.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h index a7096e3fd9..0d05d4730d 100644 --- a/include/gpu/GrCaps.h +++ b/include/gpu/GrCaps.h @@ -17,7 +17,7 @@ #include "SkString.h" struct GrContextOptions; -class GrRenderTarget; +class GrRenderTargetProxy; /** * Represents the capabilities of a GrContext. @@ -187,13 +187,13 @@ public: /** * This is can be called before allocating a texture to be a dst for copySurface. This is only - * used for doing dst copies needed in blends, thus the src is always a GrRenderTarget. It will - * populate the origin, config, and flags fields of the desc such that copySurface can + * used for doing dst copies needed in blends, thus the src is always a GrRenderTargetProxy. It + * will populate the origin, config, and flags fields of the desc such that copySurface can * efficiently succeed. rectsMustMatch will be set to true if the copy operation must ensure * that the src and dest rects are identical. disallowSubrect will be set to true if copy rect * must equal src's bounds. */ - virtual bool initDescForDstCopy(const GrRenderTarget* src, GrSurfaceDesc* desc, + virtual bool initDescForDstCopy(const GrRenderTargetProxy* src, GrSurfaceDesc* desc, bool* rectsMustMatch, bool* disallowSubrect) const = 0; protected: |