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

Issue 6851111: change SkDrawFilter::filter to return a bool, where false means don't-draw (Closed)

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

Description

change SkDrawFilter::filter to return a bool, where false means don't-draw Committed: https://code.google.com/p/skia/source/detail?r=6551

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -14 lines) Patch
M gm/gmmain.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M include/core/SkDrawFilter.h View 1 chunk +6 lines, -3 lines 1 comment Download
M include/effects/SkPaintFlagsDrawFilter.h View 1 chunk +1 line, -2 lines 0 comments Download
M samplecode/SampleApp.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M samplecode/SampleLayers.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M src/core/SkCanvas.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M src/effects/SkPaintFlagsDrawFilter.cpp View 3 chunks +2 lines, -3 lines 0 comments Download
M tools/PictureRenderer.cpp View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 2
reed1
11 years, 7 months ago (2012-11-26 20:15:42 UTC) #1
Leon
11 years, 7 months ago (2012-11-26 20:20:58 UTC) #2
lgtm

https://codereview.appspot.com/6851111/diff/1/include/core/SkDrawFilter.h
File include/core/SkDrawFilter.h (right):

https://codereview.appspot.com/6851111/diff/1/include/core/SkDrawFilter.h#new...
include/core/SkDrawFilter.h:39: kTypeCount = kText_Type + 1
Is this the new preferred way to count enums?
Sign in to reply to this message.

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