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

Issue 18375003: Fix for Ovals/RRects on N4 missing interior rectangles. (Closed)

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

Description

Fix for Ovals/RRects on N4 missing interior rectangles. Clamp square of gradiant length to non-zero value so it can be passed to inversesqrt(). Also adds some fixes to rrect setup to avoid crossing zero. Skia issue #1372 R=bsalomon@google.com, robertphillips@google.com Committed: https://code.google.com/p/skia/source/detail?r=9864

Patch Set 1 #

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

Messages

Total messages: 7 (0 generated)
jvanverth1
No real performance difference on MacOS with this change: rrects_3_stroke_4 GPU 13.11 13.17 -0.06 -0.5% ...
7 years, 5 months ago (2013-07-01 18:32:17 UTC) #1
robertphillips
lgtm https://codereview.chromium.org/18375003/diff/1/src/gpu/GrOvalRenderer.cpp File src/gpu/GrOvalRenderer.cpp (right): https://codereview.chromium.org/18375003/diff/1/src/gpu/GrOvalRenderer.cpp#newcode224 src/gpu/GrOvalRenderer.cpp:224: builder->fsCodeAppend("\tfloat grad_dot = dot(grad, grad);\n"); comment here as ...
7 years, 5 months ago (2013-07-01 18:35:41 UTC) #2
bsalomon
Should we try measuring the perf on a mobile GPU where perf may be more ...
7 years, 5 months ago (2013-07-01 18:36:02 UTC) #3
jvanverth1
On 2013/07/01 18:36:02, bsalomon wrote: > Should we try measuring the perf on a mobile ...
7 years, 5 months ago (2013-07-01 18:42:47 UTC) #4
jvanverth1
Here are the results for ovals, running on the nexus-s: ovals_1 GPU 121.57 129.34 -7.77 ...
7 years, 5 months ago (2013-07-01 22:25:38 UTC) #5
bsalomon
On 2013/07/01 22:25:38, JimVV wrote: > Here are the results for ovals, running on the ...
7 years, 5 months ago (2013-07-02 13:09:33 UTC) #6
jvanverth1
7 years, 5 months ago (2013-07-02 14:46:09 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 manually as r9864 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698