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

Issue 25645006: Allow gradient optimization with perspective (Closed)

Created:
7 years, 2 months ago by Chris Dalton
Modified:
7 years, 2 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Allow gradient optimization with perspective Before, gradients would only interpolate the linear portion of the quadratic equation if there was no perspective. This updates them to do so even in the case that there is perspective. The rearrangement of math causes noise differences in the following gm tests: gradients_no_texture_gpu gradients_view_perspective_gpu gradients_local_perspective_gpu gradients_gpu Committed: http://code.google.com/p/skia/source/detail?r=11595

Patch Set 1 #

Patch Set 2 : updated skipped tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -265 lines) Patch
M expectations/gm/ignored-tests.txt View 1 1 chunk +5 lines, -0 lines 0 comments Download
M include/gpu/GrCoordTransform.h View 3 chunks +29 lines, -1 line 0 comments Download
M src/effects/gradients/SkGradientShaderPriv.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient.cpp View 5 chunks +134 lines, -158 lines 0 comments Download
M src/effects/gradients/SkTwoPointRadialGradient.cpp View 5 chunks +75 lines, -99 lines 0 comments Download
M src/gpu/GrEffect.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/gl/GrGLProgramEffects.h View 1 chunk +2 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGLProgramEffects.cpp View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Chris Dalton
The diff tool didn't notice that all those changes to the gradient files are just ...
7 years, 2 months ago (2013-10-03 20:54:04 UTC) #1
bsalomon
On 2013/10/03 20:54:04, Chris Dalton wrote: > The diff tool didn't notice that all those ...
7 years, 2 months ago (2013-10-03 21:01:36 UTC) #2
bsalomon
On 2013/10/03 21:01:36, bsalomon wrote: > On 2013/10/03 20:54:04, Chris Dalton wrote: > > The ...
7 years, 2 months ago (2013-10-03 21:43:35 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/cdalton@nvidia.com/25645006/7001
7 years, 2 months ago (2013-10-04 01:11:01 UTC) #4
commit-bot: I haz the power
7 years, 2 months ago (2013-10-04 01:20:13 UTC) #5
Message was sent while issue was closed.
Change committed as 11595

Powered by Google App Engine
This is Rietveld 408576698