Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Issue 22173002: Fix a crash on stroking empty paths with nv_path_rendering enabled (Closed)

Created:
7 years, 4 months ago by Kimmo Kinnunen
Modified:
7 years, 4 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

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=skia:1477 Committed: http://code.google.com/p/skia/source/detail?r=10528

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -9 lines) Patch
M gyp/tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 chunk +7 lines, -5 lines 0 comments Download
M src/gpu/GrContext.cpp View 5 chunks +12 lines, -0 lines 0 comments Download
M src/gpu/GrPathRenderer.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/gpu/gl/GrGLPath.cpp View 1 chunk +5 lines, -4 lines 0 comments Download
A tests/GpuDrawPathTest.cpp View 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kimmo Kinnunen
7 years, 4 months ago (2013-08-05 10:21:09 UTC) #1
bsalomon
lgtm
7 years, 4 months ago (2013-08-05 13:17:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/kkinnunen@nvidia.com/22173002/1
7 years, 4 months ago (2013-08-05 13:17:44 UTC) #3
commit-bot: I haz the power
7 years, 4 months ago (2013-08-05 13:29:00 UTC) #4
Message was sent while issue was closed.
Change committed as 10528

Powered by Google App Engine
This is Rietveld 408576698