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

Issue 1472433002: skia: Holding onto the image in the benchmark causes issues (Closed)

Created:
5 years, 1 month ago by hendrikw
Modified:
5 years ago
Reviewers:
mtklein, bsalomon, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

skia: Holding onto the image in the benchmark causes issues Skia'a nanobench can hold onto an image, that causes the lifetime of GrGLGpu to extend past that of the GL interface. Kill reference to surface and image before killing the interface Committed: https://skia.googlesource.com/skia/+/4870e6d4c9ee76ee328969e82238c7adc371fd33

Patch Set 1 #

Total comments: 1

Patch Set 2 : add a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M bench/ImageBench.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
hendrikw
PTAL, thanks!
5 years, 1 month ago (2015-11-20 22:54:02 UTC) #2
reed1
5 years, 1 month ago (2015-11-22 15:13:25 UTC) #4
mtklein
other than a note, this lgtm https://codereview.chromium.org/1472433002/diff/1/bench/ImageBench.cpp File bench/ImageBench.cpp (right): https://codereview.chromium.org/1472433002/diff/1/bench/ImageBench.cpp#newcode43 bench/ImageBench.cpp:43: fRasterSurface.reset(nullptr); let's add ...
5 years, 1 month ago (2015-11-23 22:13:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472433002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472433002/20001
5 years, 1 month ago (2015-11-23 22:52:05 UTC) #8
commit-bot: I haz the power
5 years ago (2015-11-24 13:50:26 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/4870e6d4c9ee76ee328969e82238c7adc371fd33

Powered by Google App Engine
This is Rietveld 408576698