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 1996683003: Srcover for sprite blitters. (Closed)

Created:
4 years, 7 months ago by herb_g
Modified:
4 years, 7 months ago
Reviewers:
msarett, mtklein, reed1
CC:
reviews_skia.org, Brian Osman, f(malita)
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Srcover for sprite blitters. In order for this code to run, the gDefaultProfileIsSRGB flag needs to be true. min base min exp percent name 5601856 4689911 0.837207 top25desk_espn.skp_1 3491515 3202806 0.917311 top25desk_facebook.skp_1 5110247 4865740 0.952154 top25desk_weather_com.skp_1 605445 585520 0.96709 top25desk_techcrunch_com.skp_1 1007151 986193 0.979191 top25desk_wikipedia__1_tab_.skp_1 5951286 5889979 0.989699 top25desk_sports_yahoo_com_.skp_1 2825583 2804853 0.992663 top25desk_plus_google_com_11003.skp_1 8839265 8823249 0.998188 top25desk_twitter.skp_1 4169125 4168882 0.999942 top25desk_docs___1_open_documen.skp_1 6615327 6620663 1.00081 top25desk_youtube_com.skp_1 4613903 4647583 1.0073 top25desk_wordpress.skp_1 2532280 2554154 1.00864 top25desk_ebay_com.skp_1 4015689 4063584 1.01193 top25desk_google_com__hl_en_q_b.skp_1 9427478 9579203 1.01609 top25desk_answers_yahoo_com.skp_1 7403901 7542770 1.01876 top25desk_booking_com.skp_1 12249953 12528353 1.02273 top25desk_google_com_search_q_c.skp_1 1078648 1111050 1.03004 top25desk_games_yahoo_com.skp_1 7232627 7481555 1.03442 top25desk_pinterest.skp_1 2996819 3112091 1.03846 top25desk_google_com_calendar_.skp_1 2181531 2271677 1.04132 top25desk_amazon_com.skp_1 925245 987545 1.06733 top25desk_blogger.skp_1 4143359 4442607 1.07222 top25desk_linkedin.skp_1 4370962 4744580 1.08548 top25desk_news_yahoo_com.skp_1 4284025 4735094 1.10529 top25desk_mail_google_com_mail_.skp_1 [mtklein] We measured the noise here to be [-5%, +8%], so most of these changes fall within the noise. We manually confirmed the two above that noise window (yahoo and mail) are also noise... srcover_srgb_srgb() did not figure prominently in their profiles. The espn and facebook improvements look real. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1996683003 Committed: https://skia.googlesource.com/skia/+/a62038c478be1d668b3a1cea6b6974ddb5d90281

Patch Set 1 #

Patch Set 2 : Simplify blitter chooser. #

Patch Set 3 : Remove srgb default. #

Total comments: 1

Patch Set 4 : Combine classes. #

Patch Set 5 : Remove spurious files. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -18 lines) Patch
M src/core/SkBlitter_Sprite.cpp View 1 2 3 6 chunks +51 lines, -18 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
herb_g
Simplify blitter chooser.
4 years, 7 months ago (2016-05-20 15:37:53 UTC) #2
herb_g
Remove srgb default.
4 years, 7 months ago (2016-05-20 15:39:54 UTC) #3
herb_g
4 years, 7 months ago (2016-05-20 15:42:14 UTC) #6
msarett
https://codereview.chromium.org/1996683003/diff/40001/src/core/SkBlitter_Sprite.cpp File src/core/SkBlitter_Sprite.cpp (right): https://codereview.chromium.org/1996683003/diff/40001/src/core/SkBlitter_Sprite.cpp#newcode109 src/core/SkBlitter_Sprite.cpp:109: if (dst.info().profileType() != src.info().profileType() Can you check the gDefaultProfileIsSRGB ...
4 years, 7 months ago (2016-05-20 15:46:58 UTC) #8
herb_g
On 2016/05/20 15:46:58, msarett wrote: > https://codereview.chromium.org/1996683003/diff/40001/src/core/SkBlitter_Sprite.cpp > File src/core/SkBlitter_Sprite.cpp (right): > > https://codereview.chromium.org/1996683003/diff/40001/src/core/SkBlitter_Sprite.cpp#newcode109 > ...
4 years, 7 months ago (2016-05-20 16:13:53 UTC) #9
msarett
On 2016/05/20 16:13:53, herb_g wrote: > On 2016/05/20 15:46:58, msarett wrote: > > > https://codereview.chromium.org/1996683003/diff/40001/src/core/SkBlitter_Sprite.cpp ...
4 years, 7 months ago (2016-05-20 16:38:48 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996683003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996683003/40001
4 years, 7 months ago (2016-05-20 21:14:41 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-20 21:35:11 UTC) #14
herb_g
Combine classes.
4 years, 7 months ago (2016-05-24 21:21:41 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996683003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996683003/60001
4 years, 7 months ago (2016-05-24 21:23:28 UTC) #18
herb_g
Remove spurious files.
4 years, 7 months ago (2016-05-24 21:25:57 UTC) #19
herb_g
PTAL
4 years, 7 months ago (2016-05-24 21:26:27 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996683003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996683003/80001
4 years, 7 months ago (2016-05-24 21:26:28 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-24 21:48:16 UTC) #24
mtklein
I can't help but see neutral performance results here. Some speedups, some slowdowns, overall sum ...
4 years, 7 months ago (2016-05-25 13:38:59 UTC) #26
mtklein
lgtm
4 years, 7 months ago (2016-05-26 17:27:56 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996683003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996683003/80001
4 years, 7 months ago (2016-05-26 17:43:18 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 17:56:22 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/a62038c478be1d668b3a1cea6b6974ddb5d90281

Powered by Google App Engine
This is Rietveld 408576698