fix up GrImmediateDrawTarget.cpp
TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1260023003
This commit is contained in:
parent
58fd2c8af4
commit
513f265877
@ -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) {
|
||||
|
@ -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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user