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

Issue 2168933002: Update SkImage_NewFromTexture test (Closed)

Created:
4 years, 5 months ago by Brian Osman
Modified:
4 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Update SkImage_NewFromTexture test, to just test release procs of SkImage::MakeFromTexture. Previous code included an old pattern, and may be responsible for intermittent Mac bot failure BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2168933002 Committed: https://skia.googlesource.com/skia/+/db2cb10f4d2a33acab7bc1aef9d9d6cc566143f9

Patch Set 1 #

Total comments: 2

Patch Set 2 : Restore testing of ReleaseProc #

Total comments: 1

Patch Set 3 : Switch to testing-only texture API #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -44 lines) Patch
M tests/ImageTest.cpp View 1 2 2 chunks +16 lines, -44 lines 0 comments Download

Messages

Total messages: 28 (18 generated)
Brian Osman
4 years, 5 months ago (2016-07-21 15:01:18 UTC) #7
robertphillips
https://codereview.chromium.org/2168933002/diff/1/tests/ImageTest.cpp File tests/ImageTest.cpp (left): https://codereview.chromium.org/2168933002/diff/1/tests/ImageTest.cpp#oldcode800 tests/ImageTest.cpp:800: // Now exercise the release proc Do we test, ...
4 years, 5 months ago (2016-07-21 15:11:30 UTC) #8
bsalomon
https://codereview.chromium.org/2168933002/diff/1/tests/ImageTest.cpp File tests/ImageTest.cpp (left): https://codereview.chromium.org/2168933002/diff/1/tests/ImageTest.cpp#oldcode800 tests/ImageTest.cpp:800: // Now exercise the release proc On 2016/07/21 15:11:30, ...
4 years, 5 months ago (2016-07-21 15:16:00 UTC) #9
Brian Osman
I will try and strip this test down to produce something that just tests the ...
4 years, 5 months ago (2016-07-21 18:53:02 UTC) #10
Brian Osman
Stripped this down to just testing the release proc. Also, the previous version didn't have ...
4 years, 5 months ago (2016-07-21 20:32:03 UTC) #16
bsalomon
https://codereview.chromium.org/2168933002/diff/20001/tests/ImageTest.cpp File tests/ImageTest.cpp (left): https://codereview.chromium.org/2168933002/diff/20001/tests/ImageTest.cpp#oldcode780 tests/ImageTest.cpp:780: backendDesc.fTextureHandle = tex->getTextureHandle(); Can we get rid of 'tex' ...
4 years, 5 months ago (2016-07-21 20:57:44 UTC) #17
Brian Osman
Updated to use TestingOnlyBackendTexture API...
4 years, 5 months ago (2016-07-22 13:57:04 UTC) #21
bsalomon
lgtm
4 years, 5 months ago (2016-07-22 14:06:42 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2168933002/40001
4 years, 5 months ago (2016-07-22 14:21:13 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 14:22:07 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/db2cb10f4d2a33acab7bc1aef9d9d6cc566143f9

Powered by Google App Engine
This is Rietveld 408576698