fix up GrImmediateDrawTarget.cpp

TBR=bsalomon@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/1260023003
This commit is contained in:
joshualitt 2015-07-27 11:41:15 -07:00 committed by Commit bot
parent 58fd2c8af4
commit 513f265877
2 changed files with 11 additions and 0 deletions

View File

@ -52,6 +52,13 @@ void GrImmediateDrawTarget::onClear(const SkIRect* rect, GrColor color,
this->getGpu()->clear(rect, color, canIgnoreRect, renderTarget);
}
void GrImmediateDrawTarget::onCopySurface(GrSurface* dst,
GrSurface* src,
const SkIRect& srcRect,
const SkIPoint& dstPoint) {
this->getGpu()->copySurface(dst, src, srcRect, dstPoint);
}
void GrImmediateDrawTarget::clearStencilClip(const SkIRect& rect,
bool insideClip,
GrRenderTarget* renderTarget) {

View File

@ -67,6 +67,10 @@ private:
GrColor color,
bool canIgnoreRect,
GrRenderTarget* renderTarget) override;
void onCopySurface(GrSurface* dst,
GrSurface* src,
const SkIRect& srcRect,
const SkIPoint& dstPoint) override;
bool isIssued(uint32_t drawID) override { return drawID != fDrawID; }