Trim the copy of the dst made for dst-reading effects using the clip and dev-bounds...
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 1 Apr 2013 12:49:31 +0000 (12:49 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 1 Apr 2013 12:49:31 +0000 (12:49 +0000)
commitbb5c46591c50d05418467cd1c4e927ceb85c2ba9
treea82f0f7b695901adfffa91721b29238803c8cb84
parentd55846d100bb09448b398b41798bd4ab100a753a
Trim the copy of the dst made for dst-reading effects using the clip and dev-bounds of draw.

Adds dev bounds to circles and rects drawn by GrDrawTarget base class (GrIODB already provides rect bounds).

Author: bsalomon@google.com

Reviewed By: robertphilips@google.com,jvanverth@google.com,robertphillips@google.com

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

git-svn-id: http://skia.googlecode.com/svn/trunk@8453 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkTLazy.h
src/gpu/GrDrawState.h
src/gpu/GrDrawTarget.cpp
src/gpu/GrDrawTarget.h
src/gpu/GrOvalRenderer.cpp