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

Issue 240433002: Modify sample buffer size for larger displays. (Closed)

Created:
6 years, 8 months ago by henrik.smiding
Modified:
6 years, 7 months ago
CC:
skia-review_googlegroups.com, epoger
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Modify sample buffer size for larger displays. Increases the intermediate buffer size for sample pixel indexes, used in the sample proc function calls. If the operation is bigger than the buffer it's split into multiple calls, creating overhead. This would especially impact the performance of SIMD optimizations. Also, aligns the start address of the buffer to 16 bytes, to enable more efficient SIMD optimizations. Author: henrik.smiding@intel.com Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>; Committed: http://code.google.com/p/skia/source/detail?r=14825 Committed: http://code.google.com/p/skia/source/detail?r=14872

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added align macro #

Total comments: 2

Patch Set 3 : Changed to a single large value #

Patch Set 4 : Larger value. More detailed description #

Patch Set 5 : Better description #

Patch Set 6 : Windows build fix #

Patch Set 7 : Alternative fix #

Patch Set 8 : Added ignore tests #

Patch Set 9 : Rebase #

Patch Set 10 : Fixed ignore-tests syntax #

Patch Set 11 : Rererebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -4 lines) Patch
M expectations/gm/ignored-tests.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +31 lines, -0 lines 0 comments Download
M include/core/SkPostConfig.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M src/core/SkBitmapProcShader.cpp View 1 2 3 4 5 6 7 8 3 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 47 (0 generated)
henrik.smiding
6 years, 8 months ago (2014-04-16 16:38:34 UTC) #1
tomhudson
We at least need Derek, and maybe somebody deeper in Android, to verify that ANDROID_LARGE_MEMORY_DEVICE ...
6 years, 8 months ago (2014-04-17 13:42:50 UTC) #2
henrik.smiding
On 2014/04/17 13:42:50, tomhudson wrote: > We at least need Derek, and maybe somebody deeper ...
6 years, 8 months ago (2014-04-18 17:33:49 UTC) #3
tomhudson
Derek or Leon (+scroggo@) can sign off on Android repercussions or will know if we ...
6 years, 8 months ago (2014-04-22 09:49:29 UTC) #4
scroggo
On 2014/04/17 13:42:50, tomhudson wrote: > We at least need Derek, and maybe somebody deeper ...
6 years, 8 months ago (2014-04-22 15:18:40 UTC) #5
henrik.smiding
https://codereview.chromium.org/240433002/diff/1/src/core/SkBitmapProcShader.cpp File src/core/SkBitmapProcShader.cpp (right): https://codereview.chromium.org/240433002/diff/1/src/core/SkBitmapProcShader.cpp#newcode239 src/core/SkBitmapProcShader.cpp:239: __declspec(align(16)) uint32_t buffer[BUF_MAX + TEST_BUFFER_EXTRA]; On 2014/04/22 15:18:40, scroggo ...
6 years, 8 months ago (2014-04-23 13:34:46 UTC) #6
reed1
I'm ok boosting the 128 to something larger. 1. Why not just always make it ...
6 years, 8 months ago (2014-04-23 14:38:25 UTC) #7
djsollen
https://codereview.chromium.org/240433002/diff/20001/src/core/SkBitmapProcShader.cpp File src/core/SkBitmapProcShader.cpp (right): https://codereview.chromium.org/240433002/diff/20001/src/core/SkBitmapProcShader.cpp#newcode214 src/core/SkBitmapProcShader.cpp:214: #ifdef ANDROID_LARGE_MEMORY_DEVICE my goal is to remove ANDROID_LARGE_MEMORY_DEVICE so ...
6 years, 8 months ago (2014-04-23 14:40:53 UTC) #8
henrik.smiding
https://codereview.chromium.org/240433002/diff/20001/src/core/SkBitmapProcShader.cpp File src/core/SkBitmapProcShader.cpp (right): https://codereview.chromium.org/240433002/diff/20001/src/core/SkBitmapProcShader.cpp#newcode214 src/core/SkBitmapProcShader.cpp:214: #ifdef ANDROID_LARGE_MEMORY_DEVICE On 2014/04/23 14:40:53, djsollen wrote: > my ...
6 years, 8 months ago (2014-04-23 15:20:21 UTC) #9
henrik.smiding
On 2014/04/23 14:38:25, reed1 wrote: > I'm ok boosting the 128 to something larger. > ...
6 years, 8 months ago (2014-04-25 16:35:37 UTC) #10
tomhudson
Firing off some test trybots, and if those come back then performance trybots; if those ...
6 years, 7 months ago (2014-04-29 11:39:24 UTC) #11
djsollen
if those bots come back green I'm fine landing the change.
6 years, 7 months ago (2014-04-29 12:09:48 UTC) #12
tomhudson
Henrik: there are some mismatches on Linux that we'd have to work on, but Windows ...
6 years, 7 months ago (2014-04-29 12:13:03 UTC) #13
henrik.smiding
On 2014/04/29 12:13:03, tomhudson wrote: > Henrik: there are some mismatches on Linux that we'd ...
6 years, 7 months ago (2014-04-30 08:45:00 UTC) #14
henrik.smiding
On 2014/04/30 08:45:00, henrik.smiding wrote: > On 2014/04/29 12:13:03, tomhudson wrote: > > Henrik: there ...
6 years, 7 months ago (2014-05-06 13:17:34 UTC) #15
tomhudson
On 2014/05/06 13:17:34, henrik.smiding wrote: > On 2014/04/30 08:45:00, henrik.smiding wrote: > > I have ...
6 years, 7 months ago (2014-05-07 10:19:44 UTC) #16
henrik.smiding
Ping, anyone? Could the gm base references be automatically regenerated?
6 years, 7 months ago (2014-05-12 11:53:41 UTC) #17
epoger
On 2014/05/12 11:53:41, henrik.smiding wrote: > Ping, anyone? > Could the gm base references be ...
6 years, 7 months ago (2014-05-14 15:08:32 UTC) #18
scroggo
On 2014/05/14 15:08:32, epoger wrote: > On 2014/05/12 11:53:41, henrik.smiding wrote: > > Ping, anyone? ...
6 years, 7 months ago (2014-05-14 15:26:56 UTC) #19
henrik.smiding
On 2014/05/14 15:26:56, scroggo wrote: > On 2014/05/14 15:08:32, epoger wrote: > > On 2014/05/12 ...
6 years, 7 months ago (2014-05-15 13:47:44 UTC) #20
scroggo
lgtm
6 years, 7 months ago (2014-05-15 14:04:43 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/240433002/140001
6 years, 7 months ago (2014-05-15 14:04:58 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 14:05:02 UTC) #23
commit-bot: I haz the power
Presubmit check for 240433002-140001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 7 months ago (2014-05-15 14:05:02 UTC) #24
henrik.smiding
On 2014/05/15 14:05:02, I haz the power (commit-bot) wrote: > Presubmit check for 240433002-140001 failed ...
6 years, 7 months ago (2014-05-20 16:31:59 UTC) #25
bsalomon
public header lgtm
6 years, 7 months ago (2014-05-20 17:25:53 UTC) #26
henrik.smiding
The CQ bit was checked by henrik.smiding@intel.com
6 years, 7 months ago (2014-05-21 08:27:06 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/240433002/140001
6 years, 7 months ago (2014-05-21 08:27:26 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-21 08:27:28 UTC) #29
commit-bot: I haz the power
Failed to apply patch for expectations/gm/ignored-tests.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-21 08:27:29 UTC) #30
henrik.smiding
On 2014/05/21 08:27:29, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
6 years, 7 months ago (2014-05-21 12:40:05 UTC) #31
scroggo
On 2014/05/21 12:40:05, henrik.smiding wrote: > On 2014/05/21 08:27:29, I haz the power (commit-bot) wrote: ...
6 years, 7 months ago (2014-05-21 13:39:49 UTC) #32
henrik.smiding
On 2014/05/21 13:39:49, scroggo wrote: > On 2014/05/21 12:40:05, henrik.smiding wrote: > > On 2014/05/21 ...
6 years, 7 months ago (2014-05-21 15:02:11 UTC) #33
henrik.smiding
The CQ bit was checked by henrik.smiding@intel.com
6 years, 7 months ago (2014-05-21 15:10:01 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/240433002/160001
6 years, 7 months ago (2014-05-21 15:10:53 UTC) #35
scroggo
On 2014/05/21 15:02:11, henrik.smiding wrote: > Thanks, didn't know that. > Who do I check ...
6 years, 7 months ago (2014-05-21 15:15:20 UTC) #36
commit-bot: I haz the power
Change committed as 14825
6 years, 7 months ago (2014-05-21 15:16:17 UTC) #37
scroggo
A revert of this CL has been created in https://codereview.chromium.org/297803005/ by scroggo@google.com. The reason for ...
6 years, 7 months ago (2014-05-21 16:24:38 UTC) #38
henrik.smiding
On 2014/05/21 16:24:38, scroggo wrote: > A revert of this CL has been created in ...
6 years, 7 months ago (2014-05-22 14:28:03 UTC) #39
scroggo
The CQ bit was checked by scroggo@google.com
6 years, 7 months ago (2014-05-23 13:32:17 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/240433002/180001
6 years, 7 months ago (2014-05-23 13:32:27 UTC) #41
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 13:32:31 UTC) #42
commit-bot: I haz the power
Failed to apply patch for expectations/gm/ignored-tests.txt: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-23 13:32:32 UTC) #43
henrik.smiding
The CQ bit was checked by henrik.smiding@intel.com
6 years, 7 months ago (2014-05-23 16:00:10 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/240433002/200001
6 years, 7 months ago (2014-05-23 16:00:30 UTC) #45
commit-bot: I haz the power
Change committed as 14872
6 years, 7 months ago (2014-05-23 16:05:47 UTC) #46
scroggo
6 years, 7 months ago (2014-05-23 19:11:18 UTC) #47
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/294023016/ by scroggo@google.com.

The reason for reverting is: This also changes verylargebitmap, and the
difference appears to be meaningful. Henrik, I have emailed you the images that
differ..

Powered by Google App Engine
This is Rietveld 408576698