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

Issue 2039813007: Add raw pixel serialization fallback for SkImages that cannot be encoded. (Closed)

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

Description

Add raw pixel serialization fallback for SkImages that cannot be encoded. This fixes serialize-8888 for 2 GMs on Mac that I'm now unblacklisting. I think another was already fixed, and two more were Windows-only. Seems safe to use encoded_size=1 as another sentinel here (like we already use =0); I can't imagine any encoded image format that can encode an image in a single byte. I suspect this is the root of the referenced bug too, but this is a good idea even if not. BUG=chromium:601851 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2039813007 CQ_EXTRA_TRYBOTS=client.skia:Test-Win-MSVC-GCE-CPU-AVX2-x86_64-Release-Trybot,Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-Trybot;client.skia.android:Test-Android-GCC-Nexus5-CPU-NEON-Arm7-Release-Trybot,Test-Android-GCC-Nexus9-CPU-Denver-Arm64-Release-Trybot Committed: https://skia.googlesource.com/skia/+/96e4e1ca5a7dbe08b396817da30adfa3ecfd438c

Patch Set 1 #

Patch Set 2 : update DM blacklists #

Patch Set 3 : Linux -> Ubuntu #

Patch Set 4 : fixed only on Mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -275 lines) Patch
M src/core/SkReadBuffer.cpp View 1 chunk +20 lines, -3 lines 0 comments Download
M src/core/SkWriteBuffer.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M tools/dm_flags.json View 1 2 3 36 chunks +48 lines, -264 lines 0 comments Download
M tools/dm_flags.py View 1 2 3 3 chunks +10 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039813007/1
4 years, 6 months ago (2016-06-08 19:31:41 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/9034) Build-Win-MSVC-x86_64-Debug-Trybot on ...
4 years, 6 months ago (2016-06-08 19:33:11 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039813007/20001
4 years, 6 months ago (2016-06-08 20:47:17 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039813007/40001
4 years, 6 months ago (2016-06-08 21:12:35 UTC) #13
mtklein_C
Please just have a look at src/... I may need to keep flailing at tools/ ...
4 years, 6 months ago (2016-06-08 21:16:20 UTC) #16
reed1
lgtm
4 years, 6 months ago (2016-06-08 23:33:16 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2039813007/60001
4 years, 6 months ago (2016-06-09 16:12:56 UTC) #22
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 17:38:11 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/96e4e1ca5a7dbe08b396817da30adfa3ecfd438c

Powered by Google App Engine
This is Rietveld 408576698