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

Issue 23592021: Fix stroked oval and rrect rendering on Ubuntu-x86-Release. (Closed)

Created:
7 years, 3 months ago by jvanverth1
Modified:
7 years, 3 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix stroked oval and rrect rendering on Ubuntu-x86-Release. The Ubuntu-x86 compiler was optimizing out a case where I was reseting the isStroked boolean based on the new inner radii. This changes it to check the radii at the time the effect is created, which tricks the compiler into doing the right thing. Committed: http://code.google.com/p/skia/source/detail?r=11035

Patch Set 1 #

Total comments: 4

Patch Set 2 : Make sure we don't render rrect centers when stroked. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M src/gpu/GrOvalRenderer.cpp View 1 7 chunks +10 lines, -9 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
jvanverth1
7 years, 3 months ago (2013-08-29 16:19:40 UTC) #1
robertphillips
Questions. https://codereview.chromium.org/23592021/diff/1/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/23592021/diff/1/src/gpu/GrOvalRenderer.cpp#newcode374 src/gpu/GrOvalRenderer.cpp:374: innerRadius = radius - halfWidth; Did you try ...
7 years, 3 months ago (2013-08-29 17:01:14 UTC) #2
jvanverth1
https://codereview.chromium.org/23592021/diff/1/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/23592021/diff/1/src/gpu/GrOvalRenderer.cpp#newcode374 src/gpu/GrOvalRenderer.cpp:374: innerRadius = radius - halfWidth; On 2013/08/29 17:01:14, robertphillips ...
7 years, 3 months ago (2013-08-29 18:16:52 UTC) #3
jvanverth1
Updated based on Robert's comments. https://codereview.chromium.org/23592021/diff/6001/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/23592021/diff/6001/src/gpu/GrOvalRenderer.cpp#newcode690 src/gpu/GrOvalRenderer.cpp:690: isStroked = (isStroked && ...
7 years, 3 months ago (2013-08-30 12:59:08 UTC) #4
robertphillips
lgtm
7 years, 3 months ago (2013-08-30 13:00:27 UTC) #5
bsalomon
On 2013/08/30 13:00:27, robertphillips wrote: > lgtm lgtm
7 years, 3 months ago (2013-08-30 13:12:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/jvanverth@google.com/23592021/6001
7 years, 3 months ago (2013-08-30 16:25:04 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 16:34:56 UTC) #8
Message was sent while issue was closed.
Change committed as 11035

Powered by Google App Engine
This is Rietveld 408576698