commit | 6f7fbc9fbb584b9b9fa6ed3a677d71ecd49aafce | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Feb 01 19:12:40 2011 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Feb 01 19:12:40 2011 +0000 |
tree | 4c5cc5e7e00780b179bfd3995eb6f2cfc64797df | |
parent | fb697e7a37adf34cbafaedb94cc373e7b6d1fa57 [diff] |
Adds ability to draw rects using a unit square vertex buffer. Useful when matrix/uniform changes are less expensive than sending new verts. Adds optional matrix parameters to GrContext drawRect and drawRectToRect so that non-axis-aligned matrices can be drawn using these functions. codereview Issue 4105049 git-svn-id: http://skia.googlecode.com/svn/trunk@749 2bbb7eff-a529-9590-31e7-b0007b416f81