diff options
author | 2014-11-05 07:05:34 -0800 | |
---|---|---|
committer | 2014-11-05 07:05:34 -0800 | |
commit | 63b21962867af0f98e12a3ccbe5eef76b7ecc3aa (patch) | |
tree | de7d7e1dc8306de3ceee04f1235ac853b7b22623 /src/gpu/GrGpu.cpp | |
parent | 0737922ca249dde6187920f491fe2cf3a710cb68 (diff) |
Workaround for PowerVR clear issue.
BUG=skia:
Review URL: https://codereview.chromium.org/701573002
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r-- | src/gpu/GrGpu.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp index 8cccd35fff..88adb20b60 100644 --- a/src/gpu/GrGpu.cpp +++ b/src/gpu/GrGpu.cpp @@ -194,13 +194,13 @@ GrIndexBuffer* GrGpu::createInstancedIndexBuffer(const uint16_t* pattern, return buffer; } -void GrGpu::clear(const SkIRect* rect, - GrColor color, - bool canIgnoreRect, - GrRenderTarget* renderTarget) { +void GrGpu::onClear(const SkIRect* rect, + GrColor color, + bool canIgnoreRect, + GrRenderTarget* renderTarget) { SkASSERT(renderTarget); this->handleDirtyContext(); - this->onClear(renderTarget, rect, color, canIgnoreRect); + this->onGpuClear(renderTarget, rect, color, canIgnoreRect); } void GrGpu::clearStencilClip(const SkIRect& rect, |