diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-05 19:26:51 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-09-05 19:26:51 +0000 |
commit | 5242ed761fc60470f31ffa6ea529c2a2f6afe6f5 (patch) | |
tree | 9228d3512c6b5527fc557990c9cba69d7b50c1c6 /include/gpu | |
parent | 40039a350bc7c1d650e1f0ba18f17734c5c3ba3e (diff) |
Add device-independent rendering of ovals, take two.
This permits GPU support for arbitrary matrices. The only exception is
not all stroked ovals are supported, as thin ovals + fat strokes do not
produce elliptical borders.
R=bsalomon@google.com, robertphillips@google.com
Author: jvanverth@google.com
Review URL: https://chromiumcodereview.appspot.com/23701013
git-svn-id: http://skia.googlecode.com/svn/trunk@11115 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrOvalRenderer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gpu/GrOvalRenderer.h b/include/gpu/GrOvalRenderer.h index 08d3d3d935..8c47e9a350 100644 --- a/include/gpu/GrOvalRenderer.h +++ b/include/gpu/GrOvalRenderer.h @@ -41,6 +41,9 @@ private: bool drawEllipse(GrDrawTarget* target, bool useAA, const SkRect& ellipse, const SkStrokeRec& stroke); + bool drawDIEllipse(GrDrawTarget* target, bool useAA, + const SkRect& ellipse, + const SkStrokeRec& stroke); void drawCircle(GrDrawTarget* target, bool useAA, const SkRect& circle, const SkStrokeRec& stroke); |