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

Issue 663233002: More genericity: overload isPaintOpaque(SkPaint, SkBitmap) (Closed)

Created:
6 years, 2 months ago by Rémi Piotaix
Modified:
6 years, 2 months ago
Reviewers:
Justin Novosad, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

More genericity: overload isPaintOpaque(SkPaint, SkBitmap) Instead of taking a Bitmap as an argument this version takes only the type of content (None/Opaque/Transparent). This will be used to check the opaqueness of a SkPaint that draws a SkImage. BUG=skia:3042 Committed: https://skia.googlesource.com/skia/+/46c248da267d315d500d2296a205cf22077b3e87

Patch Set 1 #

Patch Set 2 : Corrections from comments #

Patch Set 3 : Rename enum #

Total comments: 6

Patch Set 4 : Rename enum #

Patch Set 5 : Revert last patchset #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -8 lines) Patch
M src/core/SkPaintPriv.h View 1 2 4 1 chunk +20 lines, -0 lines 0 comments Download
M src/core/SkPaintPriv.cpp View 1 2 4 4 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
Rémi Piotaix
PTAL This CL will be used to resubmit https://codereview.chromium.org/613673005/
6 years, 2 months ago (2014-10-20 20:33:37 UTC) #2
reed1
1. Can you add dox per line of the enum, explaining what each means? 2. ...
6 years, 2 months ago (2014-10-20 21:07:08 UTC) #3
Justin Novosad
On 2014/10/20 21:07:08, reed1 wrote: > 2. nit: global enums have their full type as ...
6 years, 2 months ago (2014-10-20 21:19:07 UTC) #4
reed1
On 2014/10/20 21:19:07, junov wrote: > On 2014/10/20 21:07:08, reed1 wrote: > > 2. nit: ...
6 years, 2 months ago (2014-10-21 13:15:18 UTC) #5
Rémi Piotaix
On 2014/10/20 21:07:08, reed1 wrote: > 1. Can you add dox per line of the ...
6 years, 2 months ago (2014-10-21 19:35:20 UTC) #6
reed1
https://codereview.chromium.org/663233002/diff/40001/src/core/SkPaintPriv.h File src/core/SkPaintPriv.h (right): https://codereview.chromium.org/663233002/diff/40001/src/core/SkPaintPriv.h#newcode16 src/core/SkPaintPriv.h:16: enum SkPaintBitmapOpacity { The comments here seem to focus ...
6 years, 2 months ago (2014-10-21 19:44:06 UTC) #7
Rémi Piotaix
https://codereview.chromium.org/663233002/diff/40001/src/core/SkPaintPriv.h File src/core/SkPaintPriv.h (right): https://codereview.chromium.org/663233002/diff/40001/src/core/SkPaintPriv.h#newcode16 src/core/SkPaintPriv.h:16: enum SkPaintBitmapOpacity { On 2014/10/21 19:44:05, reed1 wrote: > ...
6 years, 2 months ago (2014-10-21 20:01:32 UTC) #8
reed1
Ah! I'm an idiot. I was totally misunderstanding this API. Sorry.
6 years, 2 months ago (2014-10-21 20:43:36 UTC) #9
reed1
Now I (think I) understand it. lgtm sorry for the churn.
6 years, 2 months ago (2014-10-21 20:44:54 UTC) #10
Rémi Piotaix
On 2014/10/21 20:44:54, reed1 wrote: > Now I (think I) understand it. > > lgtm ...
6 years, 2 months ago (2014-10-21 21:19:23 UTC) #11
reed1
I hereby remove myself for all further bikesheding :) Deferring to juno
6 years, 2 months ago (2014-10-21 21:56:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663233002/80001
6 years, 2 months ago (2014-10-22 15:27:09 UTC) #14
Justin Novosad
On 2014/10/21 21:56:59, reed1 wrote: > I hereby remove myself for all further bikesheding :) ...
6 years, 2 months ago (2014-10-22 15:27:46 UTC) #15
Justin Novosad
lgtm
6 years, 2 months ago (2014-10-22 15:28:12 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 15:35:50 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 46c248da267d315d500d2296a205cf22077b3e87

Powered by Google App Engine
This is Rietveld 408576698