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

Issue 533323002: Use SkBitmapCache to optimize readPixels on a texture-backed bitmap (Closed)

Created:
6 years, 3 months ago by Rémi Piotaix
Modified:
6 years, 3 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Use SkBitmapCache to optimize readPixels on a texture-backed bitmap BUG=skia:2786 Committed: https://skia.googlesource.com/skia/+/0e9770515cab45decb56a5926d1741b71854fb4c

Patch Set 1 #

Patch Set 2 : Fail if unable to allocate pixels #

Total comments: 10

Patch Set 3 : Corrections #

Total comments: 2

Patch Set 4 : Correcting nit #

Patch Set 5 : Nit #

Patch Set 6 : Rebase master #

Patch Set 7 : Fix bug: use extractSubset causes cache miss in SkBitmapDevice #

Patch Set 8 : Rebase master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -20 lines) Patch
M src/core/SkBitmapDevice.cpp View 1 2 3 4 5 6 7 2 chunks +9 lines, -2 lines 0 comments Download
M src/gpu/SkGrPixelRef.cpp View 1 2 3 4 5 3 chunks +49 lines, -18 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
Rémi Piotaix
Re-implementation of https://codereview.chromium.org/428773002 in a better way. This is breaking chromium on the test fast/canvas/webgl/canvas-test.html ...
6 years, 3 months ago (2014-09-04 18:35:41 UTC) #2
reed1
https://codereview.chromium.org/533323002/diff/20001/src/gpu/SkGrPixelRef.cpp File src/gpu/SkGrPixelRef.cpp (right): https://codereview.chromium.org/533323002/diff/20001/src/gpu/SkGrPixelRef.cpp#newcode158 src/gpu/SkGrPixelRef.cpp:158: static bool tryAllocBitmapPixels(SkBitmap& bitmap) { style: skia passes mutable ...
6 years, 3 months ago (2014-09-04 18:49:59 UTC) #3
Rémi Piotaix
https://codereview.chromium.org/533323002/diff/20001/src/gpu/SkGrPixelRef.cpp File src/gpu/SkGrPixelRef.cpp (right): https://codereview.chromium.org/533323002/diff/20001/src/gpu/SkGrPixelRef.cpp#newcode158 src/gpu/SkGrPixelRef.cpp:158: static bool tryAllocBitmapPixels(SkBitmap& bitmap) { On 2014/09/04 18:49:59, reed1 ...
6 years, 3 months ago (2014-09-05 21:37:36 UTC) #4
reed1
defers to brian https://codereview.chromium.org/533323002/diff/40001/src/gpu/SkGrPixelRef.cpp File src/gpu/SkGrPixelRef.cpp (right): https://codereview.chromium.org/533323002/diff/40001/src/gpu/SkGrPixelRef.cpp#newcode194 src/gpu/SkGrPixelRef.cpp:194: bool readPixelsOk = fSurface->readPixels(bounds.fLeft, bounds.fTop, bounds.width(), ...
6 years, 3 months ago (2014-09-08 12:29:58 UTC) #5
bsalomon
On 2014/09/08 12:29:58, reed1 wrote: > defers to brian > > https://codereview.chromium.org/533323002/diff/40001/src/gpu/SkGrPixelRef.cpp > File src/gpu/SkGrPixelRef.cpp ...
6 years, 3 months ago (2014-09-08 13:37:03 UTC) #6
Rémi Piotaix
https://codereview.chromium.org/533323002/diff/40001/src/gpu/SkGrPixelRef.cpp File src/gpu/SkGrPixelRef.cpp (right): https://codereview.chromium.org/533323002/diff/40001/src/gpu/SkGrPixelRef.cpp#newcode194 src/gpu/SkGrPixelRef.cpp:194: bool readPixelsOk = fSurface->readPixels(bounds.fLeft, bounds.fTop, bounds.width(), bounds.height(), On 2014/09/08 ...
6 years, 3 months ago (2014-09-08 14:26:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/piotaixr@chromium.org/533323002/80001
6 years, 3 months ago (2014-09-08 14:27:37 UTC) #9
commit-bot: I haz the power
Failed to apply patch for src/gpu/SkGrPixelRef.cpp: While running git apply --index -p1; error: patch failed: ...
6 years, 3 months ago (2014-09-08 14:27:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/piotaixr@chromium.org/533323002/100001
6 years, 3 months ago (2014-09-08 15:00:47 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 95fd68e5ccd242a91e6dd827dd695f18661efbe6
6 years, 3 months ago (2014-09-08 15:07:51 UTC) #14
f(malita)
On 2014/09/08 15:07:51, I haz the power (commit-bot) wrote: > Committed patchset #6 (id:100001) as ...
6 years, 3 months ago (2014-09-09 14:52:13 UTC) #15
f(malita)
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/551523003/ by fmalita@chromium.org. ...
6 years, 3 months ago (2014-09-09 15:11:47 UTC) #16
Rémi Piotaix
On 2014/09/09 15:11:47, Florin Malita wrote: > A revert of this CL (patchset #6 id:100001) ...
6 years, 3 months ago (2014-09-17 23:14:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/533323002/140001
6 years, 3 months ago (2014-09-17 23:15:49 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 23:24:09 UTC) #20
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as 0e9770515cab45decb56a5926d1741b71854fb4c

Powered by Google App Engine
This is Rietveld 408576698