aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrGpu.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-05 19:57:55 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-05 19:57:55 +0000
commitfa6ac938e64fe11b442d05fe8a90ddac2d1951f9 (patch)
tree09e1bfdb59c0549a9cff72d1551376a25e262ce7 /gpu/src/GrGpu.cpp
parent322878907f6c5c5fb8abdbce7d348a3cd66ff2fa (diff)
Fixup rendering of empty paths (including inverted fills)
Add GM and Sample that draw empty paths with various styles and fills Review URL: http://codereview.appspot.com/5185047/ git-svn-id: http://skia.googlecode.com/svn/trunk@2414 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrGpu.cpp')
-rw-r--r--gpu/src/GrGpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/src/GrGpu.cpp b/gpu/src/GrGpu.cpp
index 7b98ffa0b0..850fa60c4e 100644
--- a/gpu/src/GrGpu.cpp
+++ b/gpu/src/GrGpu.cpp
@@ -596,8 +596,8 @@ bool GrGpu::setupClipAndFlushState(GrPrimitiveType type) {
fillInverted = false;
} else {
fill = clip.getPathFill(c);
- fillInverted = IsFillInverted(fill);
- fill = NonInvertedFill(fill);
+ fillInverted = GrIsFillInverted(fill);
+ fill = GrNonInvertedFill(fill);
clipPath = &clip.getPath(c);
pr = this->getClipPathRenderer(*clipPath, fill);
if (NULL == pr) {