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

Issue 2343993002: use SkData oriented picture serialize api (Closed)

Created:
4 years, 3 months ago by reed1
Modified:
4 years, 3 months ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, gcasto+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, cc-bugs_chromium.org, dtrainor+watch-blimp_chromium.org, scf+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use SkData oriented picture serialize api, allowing us to deprecate the older api behind the SK_SUPPORT_LEGACY_STREAM_DATA flag. BUG=647756 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/6cead0b4b4231d47784fa13b94fb91d4dd12080e Cr-Commit-Position: refs/heads/master@{#420479}

Patch Set 1 #

Patch Set 2 : fix webkit instance #

Total comments: 1

Patch Set 3 : remove another unused SkStream.h include #

Total comments: 6

Patch Set 4 : use std::move #

Patch Set 5 : use DCHECK_GT consistently #

Patch Set 6 : doh -- use 0u for template bad guesses #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -41 lines) Patch
M blimp/engine/renderer/blimp_engine_picture_cache.cc View 1 2 3 2 chunks +3 lines, -6 lines 0 comments Download
M blimp/test/support/compositor/picture_cache_test_support.cc View 1 2 3 4 5 3 chunks +4 lines, -7 lines 0 comments Download
M cc/blimp/picture_data_conversions_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -5 lines 0 comments Download
M cc/test/picture_cache_model.cc View 2 chunks +3 lines, -9 lines 0 comments Download
M skia/config/SkUserConfig.h View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp View 1 2 chunks +2 lines, -10 lines 0 comments Download

Messages

Total messages: 52 (35 generated)
reed1
4 years, 3 months ago (2016-09-15 23:18:41 UTC) #6
reed1
need OWNERS for cc/blimp and blimp/engine/renderer
4 years, 3 months ago (2016-09-16 12:51:50 UTC) #11
f(malita)
non-owner LGTM https://codereview.chromium.org/2343993002/diff/20001/blimp/engine/renderer/blimp_engine_picture_cache.cc File blimp/engine/renderer/blimp_engine_picture_cache.cc (right): https://codereview.chromium.org/2343993002/diff/20001/blimp/engine/renderer/blimp_engine_picture_cache.cc#newcode61 blimp/engine/renderer/blimp_engine_picture_cache.cc:61: cc::PictureData(picture->uniqueID(), data))); nit: std::move(data)
4 years, 3 months ago (2016-09-16 13:18:09 UTC) #15
Wez
nit: Could you clean up the CL description, please (I think it's just capitalization & ...
4 years, 3 months ago (2016-09-16 16:27:12 UTC) #18
Wez
https://codereview.chromium.org/2343993002/diff/40001/blimp/engine/renderer/blimp_engine_picture_cache.cc File blimp/engine/renderer/blimp_engine_picture_cache.cc (right): https://codereview.chromium.org/2343993002/diff/40001/blimp/engine/renderer/blimp_engine_picture_cache.cc#newcode55 blimp/engine/renderer/blimp_engine_picture_cache.cc:55: DCHECK_GE(data->size(), 0u); Should this be DCHECK_GT? Is it possible ...
4 years, 3 months ago (2016-09-16 16:34:03 UTC) #19
reed1
I suggest we move the question of zero-length-or-not serialized pictures to a separate CL, since ...
4 years, 3 months ago (2016-09-16 20:06:30 UTC) #21
Wez
https://codereview.chromium.org/2343993002/diff/40001/blimp/engine/renderer/blimp_engine_picture_cache.cc File blimp/engine/renderer/blimp_engine_picture_cache.cc (right): https://codereview.chromium.org/2343993002/diff/40001/blimp/engine/renderer/blimp_engine_picture_cache.cc#newcode55 blimp/engine/renderer/blimp_engine_picture_cache.cc:55: DCHECK_GE(data->size(), 0u); On 2016/09/16 20:06:29, reed1 wrote: > On ...
4 years, 3 months ago (2016-09-17 01:50:03 UTC) #26
Wez
blimp/ LGTM
4 years, 3 months ago (2016-09-17 01:50:35 UTC) #27
reed1
On 2016/09/17 01:50:03, Wez wrote: > https://codereview.chromium.org/2343993002/diff/40001/blimp/engine/renderer/blimp_engine_picture_cache.cc > File blimp/engine/renderer/blimp_engine_picture_cache.cc (right): > > https://codereview.chromium.org/2343993002/diff/40001/blimp/engine/renderer/blimp_engine_picture_cache.cc#newcode55 > ...
4 years, 3 months ago (2016-09-17 11:39:24 UTC) #28
reed1
4 years, 3 months ago (2016-09-19 12:34:01 UTC) #29
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/2343993002/100001
4 years, 3 months ago (2016-09-19 13:33:40 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/261956)
4 years, 3 months ago (2016-09-19 13:41:10 UTC) #39
reed1
** Presubmit ERRORS ** Missing LGTM from an OWNER for these files: cc/blimp/picture_data_conversions_unittest.cc cc/test/picture_cache_model.cc
4 years, 3 months ago (2016-09-20 18:49:34 UTC) #40
danakj
cc LGTM
4 years, 3 months ago (2016-09-21 23:40:34 UTC) #42
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/2343993002/100001
4 years, 3 months ago (2016-09-22 20:27:40 UTC) #48
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-22 22:16:47 UTC) #50
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 22:18:26 UTC) #52
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6cead0b4b4231d47784fa13b94fb91d4dd12080e
Cr-Commit-Position: refs/heads/master@{#420479}

Powered by Google App Engine
This is Rietveld 408576698