aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleEmboss.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-21 05:42:57 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-21 05:42:57 +0000
commit0b45dc45d67144421904555ccf53782cc8d9969d (patch)
treec6dd7dbc1fa04b3b90797f325093b542ed777026 /samplecode/SampleEmboss.cpp
parent25c7127c904aa6e03209220e8ecb7128d3595f11 (diff)
fix the visual difference of raster vs gpu -- inverse_paths
If a path has no verbs, it is empty. If a path has verbs, but both the width and height of the bounds are zero. the path is empty too. This situation happens when you add an empty rect or circle... , say a rect{x, y, width, height} = {100, 100, 0, 0}, to a path. For 8888 config, drawPath() checked the bounds. For gpu config, it doesn't. BUG=skia:2176 R=reed@google.com, bsalomon@google.com, schenney@chromium.org Author: yunchao.he@intel.com Review URL: https://codereview.chromium.org/166023002 git-svn-id: http://skia.googlecode.com/svn/trunk@13526 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleEmboss.cpp')
0 files changed, 0 insertions, 0 deletions