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

Issue 773203003: Turn on MPD threading in nanobench. (Closed)

Created:
6 years ago by mtklein_C
Modified:
6 years ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Turn on MPD threading in nanobench. Seems okay after this small patch to skip lockPixels() / unlockPixels(). BUG=skia:3149 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu13.10-GCE-NoGPU-x86_64-Release-TSAN-Trybot Committed: https://skia.googlesource.com/skia/+/4f10844149bbc05f0259a1b3199c2f995756ed60

Patch Set 1 #

Patch Set 2 : sp #

Patch Set 3 : stack-copy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M bench/nanobench.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/core/SkBitmapProcShader.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/773203003/20001
6 years ago (2014-12-03 20:33:17 UTC) #2
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years ago (2014-12-03 20:33:18 UTC) #3
mtklein
6 years ago (2014-12-03 20:34:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/773203003/20001
6 years ago (2014-12-03 20:34:17 UTC) #9
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years ago (2014-12-03 20:34:18 UTC) #10
robertphillips
lgtm
6 years ago (2014-12-03 20:35:58 UTC) #11
mtklein
FYI, switched to a stack copy of the bitmap so that non-texture non-plain-pixel bitmaps (e.g. ...
6 years ago (2014-12-03 20:41:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/773203003/40001
6 years ago (2014-12-03 20:42:16 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/4f10844149bbc05f0259a1b3199c2f995756ed60
6 years ago (2014-12-03 21:07:44 UTC) #15
reed2
I wonder if we can make the copy of the bitmap in the constructor of ...
6 years ago (2014-12-04 11:45:47 UTC) #17
mtklein
On 2014/12/04 11:45:47, reed2 wrote: > I wonder if we can make the copy of ...
6 years ago (2014-12-04 14:23:06 UTC) #18
reed1
On 2014/12/04 14:23:06, mtklein wrote: > On 2014/12/04 11:45:47, reed2 wrote: > > I wonder ...
6 years ago (2014-12-04 14:29:27 UTC) #19
mtklein
6 years ago (2014-12-04 14:33:32 UTC) #20
Message was sent while issue was closed.
> "bubbled this check up all the way to the SkBitmapProcState constructor" --
yes,
> that is what I intended by "context" construction. I will try a CL that does
> that.

Now I'm confused.  Just to be super clear, either of
SkBitmapProcShader::SkBitmapProcShader or SkBitmapProcShader::onCreateContext
are fine places to do this check.  SkBitmapProcShader::onCreateContext is where
we're doing it today.  There'd be no copy needed in
SkBitmapProcShader::SkBitmapProcShader.

Powered by Google App Engine
This is Rietveld 408576698