aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawTarget.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-02-11 11:42:31 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-11 11:42:31 -0800
commit7ea5e28065e5eb797e95f5d81c1a65cf3209d741 (patch)
treeb239caa1224b79d021154265e44ebbc4a945b7d1 /src/gpu/GrDrawTarget.h
parente1745a1efc02de4964a430cf9fd02d7652b3ed5e (diff)
Make copySurface work for texture dsts, return a bool, & add unit test.
Diffstat (limited to 'src/gpu/GrDrawTarget.h')
-rw-r--r--src/gpu/GrDrawTarget.h2
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);