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

Issue 189963004: Fix the rendering error of SkDraw::drawVertices in gpu path for solid color (Closed)

Created:
6 years, 9 months ago by yunchao
Modified:
6 years, 6 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Fix the rendering error of SkDraw::drawVertices in gpu path for solid color. If both textures and vertex-colors are NULL, drawVertices should stroke hairlines with the paint's color. This behavior is a useful debugging mode to visualize the mesh. BUG=skia:2266 Committed: http://code.google.com/p/skia/source/detail?r=14985

Patch Set 1 : #

Patch Set 2 : drawVertices should stroke hairlines if both textures and colors are NULL #

Total comments: 4

Patch Set 3 : update document for SkVertState.h, and fix a small bug" #

Total comments: 2

Patch Set 4 : code rebase + update comments according to Brian's suggestions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -128 lines) Patch
M gyp/core.gypi View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M include/core/SkCanvas.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A include/core/SkVertState.h View 1 2 3 1 chunk +58 lines, -0 lines 0 comments Download
M src/core/SkDraw.cpp View 1 2 3 3 chunks +2 lines, -128 lines 0 comments Download
A src/core/SkVertState.cpp View 1 1 chunk +106 lines, -0 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 2 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
yunchao
6 years, 9 months ago (2014-03-07 13:57:25 UTC) #1
yunchao
On 2014/03/07 13:57:25, Richard Ho wrote: Still have some minor rendering error for vertices_80.png(vertices.png is ...
6 years, 7 months ago (2014-05-12 05:49:37 UTC) #2
yunchao
On 2014/05/12 05:49:37, Richard Ho wrote: > On 2014/03/07 13:57:25, Richard Ho wrote: > > ...
6 years, 7 months ago (2014-05-14 15:54:56 UTC) #3
bsalomon
https://codereview.chromium.org/189963004/diff/80001/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/189963004/diff/80001/gyp/common_variables.gypi#newcode152 gyp/common_variables.gypi:152: 'skia_default_gcc_optimization_level': 0, # -O3 is this an accident? https://codereview.chromium.org/189963004/diff/80001/include/core/SkVertState.h ...
6 years, 7 months ago (2014-05-15 13:13:33 UTC) #4
yunchao
https://codereview.chromium.org/189963004/diff/80001/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/189963004/diff/80001/gyp/common_variables.gypi#newcode152 gyp/common_variables.gypi:152: 'skia_default_gcc_optimization_level': 0, # -O3 On 2014/05/15 13:13:33, bsalomon wrote: ...
6 years, 7 months ago (2014-05-15 14:15:53 UTC) #5
yunchao
On 2014/05/15 14:15:53, Richard Ho wrote: > https://codereview.chromium.org/189963004/diff/80001/gyp/common_variables.gypi > File gyp/common_variables.gypi (right): > > https://codereview.chromium.org/189963004/diff/80001/gyp/common_variables.gypi#newcode152 ...
6 years, 7 months ago (2014-05-19 07:30:02 UTC) #6
yunchao
On 2014/05/19 07:30:02, Richard Ho wrote: > On 2014/05/15 14:15:53, Richard Ho wrote: > > ...
6 years, 7 months ago (2014-05-20 15:39:59 UTC) #7
yunchao
On 2014/05/20 15:39:59, Richard Ho wrote: > On 2014/05/19 07:30:02, Richard Ho wrote: > > ...
6 years, 6 months ago (2014-05-29 13:08:01 UTC) #8
bsalomon
lgtm with some suggestions for the comments. Also, please add any affected tests to ignored-tests.txt ...
6 years, 6 months ago (2014-05-29 18:27:03 UTC) #9
yunchao
The CQ bit was checked by yunchao.he@intel.com
6 years, 6 months ago (2014-05-30 10:02:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/yunchao.he@intel.com/189963004/160001
6 years, 6 months ago (2014-05-30 10:02:51 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 10:08:32 UTC) #12
Message was sent while issue was closed.
Change committed as 14985

Powered by Google App Engine
This is Rietveld 408576698