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

Issue 463663002: Support an ALPHA_8 UIResourceBitmap format (Closed)

Created:
6 years, 4 months ago by jdduke (slow)
Modified:
6 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, qsr+mojo_chromium.org, sievers+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, epenner
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Support an ALPHA_8 UIResourceBitmap format Add an ALPHA_8 UIResourceFormat corresponding to the kAlpha_8_SkColorType. Also plumb this format to its corresponding ALPHA_8 OpenGL format. This is in preparation for the UIResource-backed Android L overscroll effect, https://codereview.chromium.org/367173003/. BUG=389744 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289428

Patch Set 1 #

Total comments: 2

Patch Set 2 : Cleanup #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -6 lines) Patch
M cc/resources/resource_format.h View 1 chunk +1 line, -0 lines 5 comments Download
M cc/resources/resource_format.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/resource_provider.h View 3 chunks +3 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M cc/resources/texture_uploader_unittest.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M cc/resources/ui_resource_bitmap.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M cc/resources/ui_resource_bitmap.cc View 2 chunks +23 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +10 lines, -2 lines 0 comments Download
M content/browser/compositor/overlay_candidate_validator_ozone.cc View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/public/interfaces/surfaces/surfaces.mojom View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jdduke (slow)
aelias@: PTAL. This works really well with the overscroll effect, and was much less work ...
6 years, 4 months ago (2014-08-11 22:24:30 UTC) #1
jdduke (slow)
https://codereview.chromium.org/463663002/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/463663002/diff/1/cc/resources/resource_provider.cc#newcode90 cc/resources/resource_provider.cc:90: case ALPHA_8: I wasn't sure if this is a ...
6 years, 4 months ago (2014-08-11 22:32:15 UTC) #2
aelias_OOO_until_Jul13
This looks fine to me. https://codereview.chromium.org/463663002/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/463663002/diff/1/cc/resources/resource_provider.cc#newcode90 cc/resources/resource_provider.cc:90: case ALPHA_8: On 2014/08/11 ...
6 years, 4 months ago (2014-08-11 23:28:48 UTC) #3
jdduke (slow)
Thanks in advance for owner review. ccameron@: cc/resources, content/browser/compositor davemoore@: mojo/services/public
6 years, 4 months ago (2014-08-12 00:09:45 UTC) #4
jamesr
mojo/ lgtm
6 years, 4 months ago (2014-08-12 00:15:58 UTC) #5
jdduke (slow)
epenner@: Could you review the changes to cc/resources? Thanks.
6 years, 4 months ago (2014-08-13 16:52:35 UTC) #6
danakj
https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h File cc/resources/resource_format.h (right): https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h#newcode18 cc/resources/resource_format.h:18: ALPHA_8, May I ask so I can answer this ...
6 years, 4 months ago (2014-08-13 17:17:28 UTC) #7
jdduke (slow)
https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h File cc/resources/resource_format.h (right): https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h#newcode18 cc/resources/resource_format.h:18: ALPHA_8, On 2014/08/13 17:17:27, danakj wrote: > May I ...
6 years, 4 months ago (2014-08-13 18:01:57 UTC) #8
jdduke (slow)
https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h File cc/resources/resource_format.h (right): https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h#newcode18 cc/resources/resource_format.h:18: ALPHA_8, On 2014/08/13 18:01:57, jdduke wrote: > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 18:07:15 UTC) #9
danakj
https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h File cc/resources/resource_format.h (right): https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h#newcode18 cc/resources/resource_format.h:18: ALPHA_8, On 2014/08/13 18:07:15, jdduke wrote: > On 2014/08/13 ...
6 years, 4 months ago (2014-08-13 18:46:06 UTC) #10
jdduke (slow)
https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h File cc/resources/resource_format.h (right): https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h#newcode18 cc/resources/resource_format.h:18: ALPHA_8, On 2014/08/13 18:46:06, danakj wrote: > Which blending ...
6 years, 4 months ago (2014-08-13 18:53:37 UTC) #11
danakj
On 2014/08/13 18:53:37, jdduke wrote: > https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h > File cc/resources/resource_format.h (right): > > https://codereview.chromium.org/463663002/diff/20001/cc/resources/resource_format.h#newcode18 > ...
6 years, 4 months ago (2014-08-13 22:01:47 UTC) #12
jdduke (slow)
Hmm, just kidding, epenner@ is out of town. Sorry for the noise, davemoore@ would you ...
6 years, 4 months ago (2014-08-13 22:06:26 UTC) #13
aelias_OOO_until_Jul13
Yeah, I think Jared's point was just that there are many ways to achieve the ...
6 years, 4 months ago (2014-08-13 22:08:27 UTC) #14
jdduke (slow)
On 2014/08/13 22:01:47, danakj wrote: > SrcATop means that only draws where the destination is ...
6 years, 4 months ago (2014-08-13 22:08:57 UTC) #15
danakj
Cool, thanks for all the explanation, cc LGTM
6 years, 4 months ago (2014-08-13 22:17:37 UTC) #16
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 4 months ago (2014-08-13 23:09:54 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/463663002/20001
6 years, 4 months ago (2014-08-13 23:11:40 UTC) #18
jdduke (slow)
Thanks for review!
6 years, 4 months ago (2014-08-14 00:05:07 UTC) #19
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 00:44:11 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (20001) as 289428

Powered by Google App Engine
This is Rietveld 408576698