add SkClipStack::clipEmpty() as an optimized way to say clipDevRect(empty, intersect)
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 16 Aug 2012 15:59:59 +0000 (15:59 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 16 Aug 2012 15:59:59 +0000 (15:59 +0000)
commit0557d9ea94d5435a9072c9b4141a05190d648442
tree471f6656f89603509a8cec6cf96c6442aeab64d9
parente7249bd5cacf7fc5c0fd8c00ef656acea1e42ab4
add SkClipStack::clipEmpty() as an optimized way to say clipDevRect(empty, intersect)
if the caller knows up-front that it wants the clipstact to become empty.
Review URL: https://codereview.appspot.com/6443132

git-svn-id: http://skia.googlecode.com/svn/trunk@5127 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkClipStack.h
src/core/SkClipStack.cpp