Add blend optimization helpers and use to convert rect draws to clears.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 6 Aug 2013 15:07:23 +0000 (15:07 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 6 Aug 2013 15:07:23 +0000 (15:07 +0000)
commitc1cdf21ab88b63c07990e6bbce559397bf207b47
tree9015cb2d6736d628a5a08a34d291cb53acc882d3
parent0b82fbcb464fa480c3fb59bed7524518ed9b32ce
Add blend optimization helpers and use to convert rect draws to clears.

Committed: http://code.google.com/p/skia/source/detail?r=10537

R=robertphillips@google.com, jvanverth@google.com, reed@google.com

Author: bsalomon@google.com

Review URL: https://chromiumcodereview.appspot.com/21877006

git-svn-id: http://skia.googlecode.com/svn/trunk@10562 2bbb7eff-a529-9590-31e7-b0007b416f81
gyp/gpu.gypi
include/core/SkMatrix.h
include/core/SkRect.h
include/gpu/GrPaint.h
include/gpu/GrSurface.h
src/gpu/GrBlend.cpp [new file with mode: 0644]
src/gpu/GrBlend.h [new file with mode: 0644]
src/gpu/GrContext.cpp
src/gpu/GrDrawState.h
src/gpu/GrPaint.cpp