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

Issue 5500044: asColorMatrix() extractor for SkColorMatrixFilter, gm (Closed)

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

Description

Implement SkColorFilter::asColorMatrix() virtual, and override in SkColorMatrixFilter. Implement missing SkColorMatrixFilter::setMatrix() and setArray() functions (were in .h, just not implemented). Add a gm for color matrix filters.

Patch Set 1 #

Patch Set 2 : Fix comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -0 lines) Patch
gm/colormatrix.cpp View 1 chunk +104 lines, -0 lines 0 comments Download
gyp/gmslides.gypi View 1 chunk +1 line, -0 lines 0 comments Download
include/core/SkColorFilter.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
include/effects/SkColorMatrixFilter.h View 1 chunk +1 line, -0 lines 2 comments Download
src/core/SkColorFilter.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
src/effects/SkColorMatrixFilter.cpp View 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Stephen White
13 years ago (2011-12-20 16:39:06 UTC) #1
Stephen White
Fix comment
13 years ago (2011-12-20 16:53:25 UTC) #2
Stephen White
Ready for review.
13 years ago (2011-12-20 19:24:03 UTC) #3
reed1
lgtm w/ SK_OVERRIDE addition http://codereview.appspot.com/5500044/diff/8/include/effects/SkColorMatrixFilter.h File include/effects/SkColorMatrixFilter.h (right): http://codereview.appspot.com/5500044/diff/8/include/effects/SkColorMatrixFilter.h#newcode29 include/effects/SkColorMatrixFilter.h:29: virtual bool asColorMatrix(SkScalar matrix[20]); SK_OVERRIDE
13 years ago (2011-12-20 20:45:04 UTC) #4
Stephen White
http://codereview.appspot.com/5500044/diff/8/include/effects/SkColorMatrixFilter.h File include/effects/SkColorMatrixFilter.h (right): http://codereview.appspot.com/5500044/diff/8/include/effects/SkColorMatrixFilter.h#newcode29 include/effects/SkColorMatrixFilter.h:29: virtual bool asColorMatrix(SkScalar matrix[20]); On 2011/12/20 20:45:05, reed1 wrote: ...
13 years ago (2011-12-20 20:52:55 UTC) #5
Stephen White
13 years ago (2011-12-20 20:58:30 UTC) #6
Landed as r2909; closing.
Sign in to reply to this message.

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