diff options
author | 2011-04-27 19:55:29 +0000 | |
---|---|---|
committer | 2011-04-27 19:55:29 +0000 | |
commit | 6aa25c3f555dc2a6711365d14279db3ec909e064 (patch) | |
tree | 812992d91c5188d65e321b95eb3e12f7bdcfdc42 /gpu/src/GrGpu.cpp | |
parent | c4654ba2e80b200d693894477d07460c45aaa307 (diff) |
Make Gr clear take a rect for a partial-clear
Review URL: http://codereview.appspot.com/4442093/
git-svn-id: http://skia.googlecode.com/svn/trunk@1203 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrGpu.cpp')
-rw-r--r-- | gpu/src/GrGpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/src/GrGpu.cpp b/gpu/src/GrGpu.cpp index c05a04a27d..cb782040c9 100644 --- a/gpu/src/GrGpu.cpp +++ b/gpu/src/GrGpu.cpp @@ -173,9 +173,9 @@ GrIndexBuffer* GrGpu::createIndexBuffer(uint32_t size, bool dynamic) { return this->onCreateIndexBuffer(size, dynamic); } -void GrGpu::clear(GrColor color) { +void GrGpu::clear(const GrIRect* rect, GrColor color) { this->handleDirtyContext(); - this->onClear(color); + this->onClear(rect, color); } void GrGpu::forceRenderTargetFlush() { |