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

Issue 15995033: cc: Low quality support for low res tiles (Closed)

Created:
7 years, 6 months ago by vmpstr
Modified:
7 years, 6 months ago
Reviewers:
jamesr, reveman
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

cc: Low quality support for low res tiles This adds low quality for low res tiles. When a low res tile becomes something else, then the reraster is scheduled. BUG=180196 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204747

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 8

Patch Set 4 : review #

Total comments: 3

Patch Set 5 : update #

Patch Set 6 : typo fix #

Total comments: 3

Patch Set 7 : change #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 27

Patch Set 10 : update #

Patch Set 11 : unittest fix #

Total comments: 17

Patch Set 12 : review #

Total comments: 3

Patch Set 13 : nit fixes #

Patch Set 14 : rebase #

Patch Set 15 : compile fix #

Patch Set 16 : rebase fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -114 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +18 lines, -10 lines 0 comments Download
M cc/resources/managed_tile_state.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M cc/resources/managed_tile_state.cc View 1 2 3 4 5 6 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M cc/resources/picture.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/picture.cc View 1 2 3 2 chunks +1 line, -21 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M cc/resources/picture_layer_tiling_set.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/picture_layer_tiling_set_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -2 lines 0 comments Download
M cc/resources/picture_pile_impl.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M cc/resources/tile.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +28 lines, -7 lines 0 comments Download
M cc/resources/tile_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +16 lines, -0 lines 0 comments Download
M cc/resources/tile_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 21 chunks +169 lines, -62 lines 0 comments Download
M cc/test/skia_common.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/skia_benchmarking_extension.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
vmpstr
PTAL. https://codereview.chromium.org/15995033/diff/2001/cc/resources/tile_manager.h File cc/resources/tile_manager.h (right): https://codereview.chromium.org/15995033/diff/2001/cc/resources/tile_manager.h#newcode127 cc/resources/tile_manager.h:127: unsigned raster_flags; This is here temporarily, until tasks ...
7 years, 6 months ago (2013-06-03 23:34:22 UTC) #1
reveman
I can't help to think that this would be cleaner if we moved the raster_task ...
7 years, 6 months ago (2013-06-04 16:17:12 UTC) #2
vmpstr
PTAL. On 2013/06/04 16:17:12, David Reveman wrote: > I can't help to think that this ...
7 years, 6 months ago (2013-06-04 16:58:58 UTC) #3
vmpstr
https://codereview.chromium.org/15995033/diff/14/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/15995033/diff/14/cc/resources/tile_manager.cc#newcode476 cc/resources/tile_manager.cc:476: unsigned required_raster_flags = DetermineRasterFlags(tile); On 2013/06/04 16:17:12, David Reveman ...
7 years, 6 months ago (2013-06-04 16:59:08 UTC) #4
reveman
https://codereview.chromium.org/15995033/diff/14/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/15995033/diff/14/cc/resources/tile_manager.cc#newcode476 cc/resources/tile_manager.cc:476: unsigned required_raster_flags = DetermineRasterFlags(tile); On 2013/06/04 16:59:08, vmpstr wrote: ...
7 years, 6 months ago (2013-06-04 20:16:08 UTC) #5
vmpstr
PTAL. The new version uses a map of raster mode -> tile version. The only ...
7 years, 6 months ago (2013-06-04 22:26:04 UTC) #6
reveman
https://codereview.chromium.org/15995033/diff/19001/cc/resources/managed_tile_state.h File cc/resources/managed_tile_state.h (right): https://codereview.chromium.org/15995033/diff/19001/cc/resources/managed_tile_state.h#newcode125 cc/resources/managed_tile_state.h:125: TileVersion tile_version; Why not just replace |tile_version| with: typedef ...
7 years, 6 months ago (2013-06-05 14:25:13 UTC) #7
vmpstr
PTAL. I addressed most comments in the new patch.
7 years, 6 months ago (2013-06-05 16:33:34 UTC) #8
reveman
I think this is starting to look very good. https://codereview.chromium.org/15995033/diff/29001/cc/resources/managed_tile_state.h File cc/resources/managed_tile_state.h (right): https://codereview.chromium.org/15995033/diff/29001/cc/resources/managed_tile_state.h#newcode122 cc/resources/managed_tile_state.h:122: ...
7 years, 6 months ago (2013-06-05 18:01:32 UTC) #9
vmpstr
PTAL. https://codereview.chromium.org/15995033/diff/29001/cc/resources/managed_tile_state.h File cc/resources/managed_tile_state.h (right): https://codereview.chromium.org/15995033/diff/29001/cc/resources/managed_tile_state.h#newcode122 cc/resources/managed_tile_state.h:122: PicturePileImpl::Analysis picture_pile_analysis; On 2013/06/05 18:01:32, David Reveman wrote: ...
7 years, 6 months ago (2013-06-06 01:54:20 UTC) #10
vmpstr
https://codereview.chromium.org/15995033/diff/39001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/15995033/diff/39001/cc/resources/tile_manager.cc#newcode479 cc/resources/tile_manager.cc:479: if (tile->IsReadyToDraw(&ready_mode) && (ready_mode > desired_mode)) That should read ...
7 years, 6 months ago (2013-06-06 02:08:35 UTC) #11
reveman
https://codereview.chromium.org/15995033/diff/29001/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/15995033/diff/29001/cc/resources/tile_manager.cc#newcode760 cc/resources/tile_manager.cc:760: tile_version.forced_upload_ = false; On 2013/06/06 01:54:20, vmpstr wrote: > ...
7 years, 6 months ago (2013-06-06 06:02:02 UTC) #12
vmpstr
PTAL. https://codereview.chromium.org/15995033/diff/39001/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/15995033/diff/39001/cc/layers/picture_layer_impl.cc#newcode233 cc/layers/picture_layer_impl.cc:233: iter->IsReadyToDraw(&raster_mode); On 2013/06/06 06:02:02, David Reveman wrote: > ...
7 years, 6 months ago (2013-06-06 15:20:21 UTC) #13
reveman
I like it. lgtm. https://codereview.chromium.org/15995033/diff/44001/cc/resources/managed_tile_state.cc File cc/resources/managed_tile_state.cc (right): https://codereview.chromium.org/15995033/diff/44001/cc/resources/managed_tile_state.cc#newcode63 cc/resources/managed_tile_state.cc:63: tile_versions[raster_mode].resource_.get() != 0); nit: we ...
7 years, 6 months ago (2013-06-06 15:40:13 UTC) #14
vmpstr
+jamesr for content/renderer OWNER's review. Please take a look.
7 years, 6 months ago (2013-06-06 18:20:00 UTC) #15
jamesr
lgtm
7 years, 6 months ago (2013-06-06 18:25:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/15995033/54001
7 years, 6 months ago (2013-06-06 23:02:32 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-06 23:56:49 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/15995033/73001
7 years, 6 months ago (2013-06-07 00:38:21 UTC) #19
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) chrome_frame_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=159229
7 years, 6 months ago (2013-06-07 06:41:40 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vmpstr@chromium.org/15995033/73001
7 years, 6 months ago (2013-06-07 06:48:15 UTC) #21
commit-bot: I haz the power
Change committed as 204747
7 years, 6 months ago (2013-06-07 08:11:52 UTC) #22
Tom Hudson
There was discussion on IRC of reverting this because it's hitting warning-as-error in FreeUnusedResourcesForTile() on ...
7 years, 6 months ago (2013-06-07 12:14:41 UTC) #23
tyoshino (SeeGerritForStatus)
7 years, 6 months ago (2013-06-07 12:51:47 UTC) #24
Message was sent while issue was closed.
On 2013/06/07 12:14:41, Tom Hudson wrote:
> There was discussion on IRC of reverting this because it's hitting
> warning-as-error in FreeUnusedResourcesForTile() on a ChromeOS build: if
> Tile::IsReadyToDraw() returns false, used_mode is uninitialized. It looks like
> it's an overzealous warning, but will probably need to be fixed up anyway.

Fixed. Please review https://codereview.chromium.org/16268021/

Powered by Google App Engine
This is Rietveld 408576698