diff options
author | 2016-02-11 11:42:31 -0800 | |
---|---|---|
committer | 2016-02-11 11:42:31 -0800 | |
commit | 7ea5e28065e5eb797e95f5d81c1a65cf3209d741 (patch) | |
tree | b239caa1224b79d021154265e44ebbc4a945b7d1 /src/gpu/GrDrawTarget.h | |
parent | e1745a1efc02de4964a430cf9fd02d7652b3ed5e (diff) |
Make copySurface work for texture dsts, return a bool, & add unit test.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1684313002
Review URL: https://codereview.chromium.org/1684313002
Diffstat (limited to 'src/gpu/GrDrawTarget.h')
-rw-r--r-- | src/gpu/GrDrawTarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h index 55c11da667..a850efd842 100644 --- a/src/gpu/GrDrawTarget.h +++ b/src/gpu/GrDrawTarget.h @@ -144,7 +144,7 @@ public: * depending on the type of surface, configs, etc, and the backend-specific * limitations. */ - void copySurface(GrSurface* dst, + bool copySurface(GrSurface* dst, GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint); |