diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-05 13:28:55 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-05 13:28:55 +0000 |
commit | 19dd017a6256be636ccb550752bb563c4e7caeb5 (patch) | |
tree | 8a87fee0a9ef8956c71998edb95db2205b1c2719 /gyp | |
parent | a62efcc1e000e4b0ee4fdb3390cadd56452ce3c1 (diff) |
Fix a crash on stroking empty paths with nv_path_rendering enabled
Fix the crash by defining that GrPathRenderer::drawPath and
GrPathRenderer::stencilPath are called only with non-empty paths.
Adds a new test "GpuDrawPath" and tests the condition.
BUG=1477
R=bsalomon@google.com
Author: kkinnunen@nvidia.com
Review URL: https://chromiumcodereview.appspot.com/22173002
git-svn-id: http://skia.googlecode.com/svn/trunk@10528 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/tests.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/tests.gyp b/gyp/tests.gyp index a4ea32d948..b151031f53 100644 --- a/gyp/tests.gyp +++ b/gyp/tests.gyp @@ -62,6 +62,7 @@ '../tests/GLInterfaceValidation.cpp', '../tests/GLProgramsTest.cpp', '../tests/GpuBitmapCopyTest.cpp', + '../tests/GpuDrawPathTest.cpp', '../tests/GrContextFactoryTest.cpp', '../tests/GradientTest.cpp', '../tests/GrMemoryPoolTest.cpp', |