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

Issue 20354003: Make SkImage_Gpu share it's pixelref with the surface to prevent premature return to scratch pool. (Closed)

Created:
7 years, 5 months ago by Justin Novosad
Modified:
7 years, 5 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Make SkImage_Gpu share it's pixelref with the surface to prevent premature return to scratch pool. BUG=crbug.com/263329 TEST=Surface unit test, function Test_crbug263329 Committed: http://code.google.com/p/skia/source/detail?r=10378

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -40 lines) Patch
M include/core/SkImage.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M src/image/SkImage_Gpu.cpp View 1 2 4 chunks +10 lines, -32 lines 0 comments Download
M src/image/SkSurface_Gpu.cpp View 1 1 chunk +1 line, -4 lines 0 comments Download
M tests/SurfaceTest.cpp View 1 2 2 chunks +37 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Justin Novosad
PTAL
7 years, 5 months ago (2013-07-25 17:18:53 UTC) #1
bsalomon
lgtm
7 years, 5 months ago (2013-07-25 17:26:50 UTC) #2
reed1
hmmm, is this the only way to fix it? I find SkBitmap a bit tricky, ...
7 years, 5 months ago (2013-07-25 17:30:17 UTC) #3
Justin Novosad
On 2013/07/25 17:30:17, reed1 wrote: > hmmm, is this the only way to fix it? ...
7 years, 5 months ago (2013-07-25 18:01:51 UTC) #4
reed1
How about we add a big comment in the public header stating something like: /** ...
7 years, 5 months ago (2013-07-25 18:14:13 UTC) #5
Justin Novosad
On 2013/07/25 18:14:13, reed1 wrote: > How about we add a big comment in the ...
7 years, 5 months ago (2013-07-25 18:30:14 UTC) #6
bsalomon
On 2013/07/25 18:30:14, junov wrote: > On 2013/07/25 18:14:13, reed1 wrote: > > How about ...
7 years, 5 months ago (2013-07-25 21:25:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/junov@chromium.org/20354003/28001
7 years, 5 months ago (2013-07-25 21:26:12 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-07-25 23:29:42 UTC) #9
Message was sent while issue was closed.
Change committed as 10378

Powered by Google App Engine
This is Rietveld 408576698