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

Issue 18666005: ARM Skia NEON patches - 11 - Blitter_RGB16 (Closed)

Created:
7 years, 5 months ago by kevin.petit.not.used.account
Modified:
7 years, 4 months ago
Reviewers:
tomhudson, djsollen, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

ARM Skia NEON patches - 11 - Blitter_RGB16 Blitter_RGB16: fixes and improvements - fix alpha calculation: it was still using the old version of SkAlpha255To256. 11 more tests pass in gm. - clean a lot the code: the existing code was "a bit" messy with a lot of duplicated hardcoded constants, got rid of all this. - improve speed a little: part of it as a side-effect of the change in the way alpha is calculated but also by grouping loads and stores. One "issue" was present and still remains: the NEON code doesn't give the same result as the black blitter on black. It accounts for dozens of mismatches in gm. Is this considered "not too bad"? Would you be interested in a NEON version of the black blitter? The current comments seem to indicate that the black blitter is here only to give a performance boost when NEON is not presents so I didn't write a NEON version. BUG= Committed: http://code.google.com/p/skia/source/detail?r=10635

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -55 lines) Patch
M src/core/SkBlitter_RGB16.cpp View 2 chunks +45 lines, -55 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
djsollen
7 years, 5 months ago (2013-07-15 12:55:59 UTC) #1
kevin.petit.not.used.account
ping
7 years, 5 months ago (2013-07-25 18:18:37 UTC) #2
tomhudson
Sorry for the lack of response, if I'm going to do more than rubberstamp this ...
7 years, 5 months ago (2013-07-25 20:56:47 UTC) #3
reed1
General answer about the black blitter: 1. black text (which uses the mask blits) is ...
7 years, 5 months ago (2013-07-25 21:22:56 UTC) #4
kevin.petit.not.used.account
On 2013/07/25 21:22:56, reed1 wrote: > General answer about the black blitter: [...] OK, I'll ...
7 years, 4 months ago (2013-08-07 10:35:10 UTC) #5
reed1
If this code maintains the invariants I listed earlier (#1 and #2), then lgtm
7 years, 4 months ago (2013-08-07 12:34:41 UTC) #6
kevin.petit.not.used.account
I've just done the math: they are maintained.
7 years, 4 months ago (2013-08-08 10:43:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/kevin.petit.arm@gmail.com/18666005/1
7 years, 4 months ago (2013-08-08 10:44:09 UTC) #8
commit-bot: I haz the power
7 years, 4 months ago (2013-08-08 10:51:46 UTC) #9
Message was sent while issue was closed.
Change committed as 10635

Powered by Google App Engine
This is Rietveld 408576698