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

Issue 957433002: Remove SSE2 ColorRect32 code/files (Closed)

Created:
5 years, 10 months ago by henrik.smiding
Modified:
5 years, 10 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Remove SSE2 ColorRect32 code/files Removes the disabled SSE2 optimization of ColorRect32 and deletes the two files containing the code. Measured on both Core Haswell and Atom Silvermont, and only got some miniscule improvement compared to the default implementation. Also tried to write a new, ultimate, version of this optimization, but only got ~5% improvement on ColorRect32-heavy tests. Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>; Committed: https://skia.googlesource.com/skia/+/3704df347a585fdde78117fcedbee3c289b63e33

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added back declaration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -162 lines) Patch
M gyp/opts.gypi View 1 chunk +0 lines, -1 line 0 comments Download
D src/opts/SkBlitRect_opts_SSE2.h View 1 chunk +0 lines, -21 lines 0 comments Download
D src/opts/SkBlitRect_opts_SSE2.cpp View 1 chunk +0 lines, -132 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 1 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
henrik.smiding
Please tell me if I need to add something to the chrome_changes file as well, ...
5 years, 10 months ago (2015-02-24 16:26:15 UTC) #2
mtklein
Please just put back the PlatformColorRectProcFactory declaration before submitting. Otherwise, this LGTM. Chrome should pick ...
5 years, 10 months ago (2015-02-24 16:34:23 UTC) #3
mtklein
(Another option is to completely remove all the references to PlatformColorRectProcFactory, given that it always ...
5 years, 10 months ago (2015-02-24 16:36:29 UTC) #4
henrik.smiding
On 2015/02/24 16:36:29, mtklein wrote: > (Another option is to completely remove all the references ...
5 years, 10 months ago (2015-02-25 09:41:46 UTC) #5
henrik.smiding
https://codereview.chromium.org/957433002/diff/1/src/opts/opts_check_x86.cpp File src/opts/opts_check_x86.cpp (left): https://codereview.chromium.org/957433002/diff/1/src/opts/opts_check_x86.cpp#oldcode265 src/opts/opts_check_x86.cpp:265: SkBlitRow::ColorRectProc PlatformColorRectProcFactory(); // suppress warning On 2015/02/24 16:34:23, mtklein ...
5 years, 10 months ago (2015-02-25 09:41:56 UTC) #6
mtklein
> Ok, I was hoping it was an old leftover, since the corresponding arm-file didn't ...
5 years, 10 months ago (2015-02-25 13:23:31 UTC) #7
henrik.smiding
On 2015/02/25 13:23:31, mtklein wrote: > > Ok, I was hoping it was an old ...
5 years, 10 months ago (2015-02-25 15:18:49 UTC) #8
mtklein
lgtm
5 years, 10 months ago (2015-02-25 15:30:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/957433002/20001
5 years, 10 months ago (2015-02-25 15:30:52 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 15:37:19 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/3704df347a585fdde78117fcedbee3c289b63e33

Powered by Google App Engine
This is Rietveld 408576698