| Index: src/gpu/GrDrawTarget.h
|
| diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
|
| index 552314bca352f634879991bcfa3247c5340383b3..dd2224bdbdd49f8cd5f5dde6ee331245a512cc68 100644
|
| --- a/src/gpu/GrDrawTarget.h
|
| +++ b/src/gpu/GrDrawTarget.h
|
| @@ -854,14 +854,6 @@
|
|
|
| GrDeviceCoordTexture fDstCopy;
|
| };
|
| -
|
| - // Makes a copy of the dst if it is necessary for the draw. Returns false if a copy is required
|
| - // but couldn't be made. Otherwise, returns true. This method needs to be protected because it
|
| - // needs to be accessed by GLPrograms to setup a correct drawstate
|
| - bool setupDstReadIfNecessary(DrawInfo* info) {
|
| - return this->setupDstReadIfNecessary(&info->fDstCopy, info->getDevBounds());
|
| - }
|
| - bool setupDstReadIfNecessary(GrDeviceCoordTexture* dstCopy, const SkRect* drawBounds);
|
|
|
| private:
|
| // A subclass can optionally overload this function to be notified before
|
| @@ -921,6 +913,13 @@
|
| void releasePreviousVertexSource();
|
| void releasePreviousIndexSource();
|
|
|
| + // Makes a copy of the dst if it is necessary for the draw. Returns false if a copy is required
|
| + // but couldn't be made. Otherwise, returns true.
|
| + bool setupDstReadIfNecessary(DrawInfo* info) {
|
| + return this->setupDstReadIfNecessary(&info->fDstCopy, info->getDevBounds());
|
| + }
|
| + bool setupDstReadIfNecessary(GrDeviceCoordTexture* dstCopy, const SkRect* drawBounds);
|
| +
|
| // Check to see if this set of draw commands has been sent out
|
| virtual bool isIssued(uint32_t drawID) { return true; }
|
|
|
|
|