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

Issue 759603002: Optimize highQualityFilter (Closed)

Created:
6 years ago by qiankun
Modified:
6 years ago
Reviewers:
humper, mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Optimize highQualityFilter portable version: before: 10M 1 806µs 807µs 810µs 821µs 1% █▂▁▁▃▁▁▁█▁ 8888 bitmap_BGRA_8888_A_scale_rotate_bicubic after: 10M 1 566µs 568µs 569µs 579µs 1% ▄▂▂█▂▁▁▁▃▁ 8888 bitmap_BGRA_8888_A_scale_rotate_bicubic SSE version: before: 10M 1 485µs 486µs 487µs 494µs 1% ▇▂▁▁▁▁█▂▁▁ 8888 bitmap_BGRA_8888_A_scale_rotate_bicubic after: 10M 1 419µs 420µs 421µs 430µs 1% ▅▃▂▁▁█▂▁▁▁ 8888 bitmap_BGRA_8888_A_scale_rotate_bicubic BUG=skia: Committed: https://skia.googlesource.com/skia/+/6ff4acedb58ab5ef83b8e598637976d592572630

Patch Set 1 #

Total comments: 4

Patch Set 2 : add const #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -15 lines) Patch
M src/core/SkBitmapFilter.cpp View 1 2 chunks +11 lines, -7 lines 2 comments Download
M src/opts/SkBitmapFilter_opts_SSE2.cpp View 1 2 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
qiankun
PTAL.
6 years ago (2014-11-25 10:40:14 UTC) #2
mtklein
Looks great. https://codereview.chromium.org/759603002/diff/1/src/core/SkBitmapFilter.cpp File src/core/SkBitmapFilter.cpp (right): https://codereview.chromium.org/759603002/diff/1/src/core/SkBitmapFilter.cpp#newcode32 src/core/SkBitmapFilter.cpp:32: SkBitmapFilter* filter = s.getBitmapFilter(); Can this be ...
6 years ago (2014-11-25 13:57:56 UTC) #3
humper
On 2014/11/25 13:57:56, mtklein wrote: > Looks great. > > https://codereview.chromium.org/759603002/diff/1/src/core/SkBitmapFilter.cpp > File src/core/SkBitmapFilter.cpp (right): ...
6 years ago (2014-11-25 14:00:07 UTC) #4
qiankun
https://codereview.chromium.org/759603002/diff/1/src/core/SkBitmapFilter.cpp File src/core/SkBitmapFilter.cpp (right): https://codereview.chromium.org/759603002/diff/1/src/core/SkBitmapFilter.cpp#newcode32 src/core/SkBitmapFilter.cpp:32: SkBitmapFilter* filter = s.getBitmapFilter(); On 2014/11/25 13:57:56, mtklein wrote: ...
6 years ago (2014-11-25 14:22:35 UTC) #5
reed1
https://codereview.chromium.org/759603002/diff/20001/src/core/SkBitmapFilter.cpp File src/core/SkBitmapFilter.cpp (right): https://codereview.chromium.org/759603002/diff/20001/src/core/SkBitmapFilter.cpp#newcode67 src/core/SkBitmapFilter.cpp:67: fr += combined_weight * SkGetPackedR32(c); boy oh boy, this ...
6 years ago (2014-11-25 14:34:33 UTC) #7
mtklein
lgtm https://codereview.chromium.org/759603002/diff/20001/src/core/SkBitmapFilter.cpp File src/core/SkBitmapFilter.cpp (right): https://codereview.chromium.org/759603002/diff/20001/src/core/SkBitmapFilter.cpp#newcode67 src/core/SkBitmapFilter.cpp:67: fr += combined_weight * SkGetPackedR32(c); On 2014/11/25 14:34:33, ...
6 years ago (2014-11-25 15:02:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/759603002/20001
6 years ago (2014-11-25 15:02:28 UTC) #10
commit-bot: I haz the power
6 years ago (2014-11-25 15:12:32 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/6ff4acedb58ab5ef83b8e598637976d592572630

Powered by Google App Engine
This is Rietveld 408576698