add SkEmptyShader, and return it from CreateBitmapShader if the bitmap is empty
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 5 Jul 2011 18:54:12 +0000 (18:54 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 5 Jul 2011 18:54:12 +0000 (18:54 +0000)
commit37a201231b8f6381938282675eb9abb50ab3b389
tree21788feb3881a72c82406a419f3c1674dd9478dc
parent1d6ee0bd4db7f3b676209341214641d9af5a965f
add SkEmptyShader, and return it from CreateBitmapShader if the bitmap is empty
(i.e. has no pixels at all)

git-svn-id: http://skia.googlecode.com/svn/trunk@1792 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkEmptyShader.h [new file with mode: 0644]
src/core/SkBitmapProcShader.cpp
src/core/SkShader.cpp