Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(583)

Issue 6352071: SkLightingImageFilter cleanup (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by Stephen White
Modified:
12 years, 4 months ago
Reviewers:
reed, reed1, TomH
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Made the light color part of the light, rather than the filter, so computation is localized. Changed a couple of non-const refs in the image filter creation API const refs. Changed "const SkColor&" to "SkColor", since it's just a uint32_t anyway.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -76 lines) Patch
include/effects/SkLightingImageFilter.h View 1 chunk +9 lines, -12 lines 0 comments Download
src/effects/SkLightingImageFilter.cpp View 16 chunks +70 lines, -64 lines 0 comments Download

Messages

Total messages: 4
Stephen White
12 years, 4 months ago (2012-07-03 22:00:36 UTC) #1
reed1
lgtm We should write some benchmarks for each of our imagefilters, so we can easily ...
12 years, 4 months ago (2012-07-09 13:52:27 UTC) #2
TomH
LGTM
12 years, 4 months ago (2012-07-09 14:44:30 UTC) #3
Stephen White
12 years, 4 months ago (2012-07-09 18:24:50 UTC) #4
Landed in r4466; closing.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b