aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRectanizer.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-17 21:39:28 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-17 21:39:28 +0000
commit5dd567c2a55c16c8bc2668902cdfce1734dfae8f (patch)
treeb97bb6c3a6fce526e0a69eb82053e64c9b8b4668 /src/gpu/GrRectanizer.h
parenta308883003e36cbff4d1c4c2d2e7fceb3eea95b1 (diff)
Add getRectCount to SkRegtion
It is useful to know how many rects comprise a region, since in some situations we can optimize code based on the complexity of the region. For instance, if we use SkRegion for tracking invalidation we might opt to use the region bounds as invalidation instead of iterating over each rect. R=reed@google.com, tomhudson@chromium.org, caryclark@google.com, robertphillips@google.com Author: vmpstr@chromium.org Review URL: https://chromiumcodereview.appspot.com/19366008 git-svn-id: http://skia.googlecode.com/svn/trunk@10129 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrRectanizer.h')
0 files changed, 0 insertions, 0 deletions