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

Issue 626113004: CC: Have GPU-raster tiles exactly match the viewport. (Closed)

Created:
6 years, 2 months ago by epenner
Modified:
6 years, 2 months ago
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@CC_cleanup_tile_grid_size
Project:
chromium
Visibility:
Public.

Description

CC: Have GPU-raster tiles exactly match the viewport. The previous logic doesn't account for divide truncation and border texels, resulting in an additional visible tile with only a couple of rows visible. This is hidden by the URL bar sometimes, but it still affects full-screen, web-apps and desktop browsers. BUG=365877 Committed: https://crrev.com/30d771737be5a083038f141eec2e6331f69bc47f Cr-Commit-Position: refs/heads/master@{#299201}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Rebase. #

Patch Set 4 : Use border constant. #

Patch Set 5 : #

Patch Set 6 : Rebase. #

Total comments: 1

Patch Set 7 : Fix tests for min-size. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -23 lines) Patch
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 6 2 chunks +12 lines, -9 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 6 3 chunks +10 lines, -13 lines 0 comments Download
M cc/resources/picture_layer_tiling.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/picture_layer_tiling.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (2 generated)
epenner
Ptal. This needs to land first but looks like it will land shortly: https://codereview.chromium.org/605773004/
6 years, 2 months ago (2014-10-09 03:47:58 UTC) #2
ernstm
On 2014/10/09 03:47:58, epenner wrote: > Ptal. > > This needs to land first but ...
6 years, 2 months ago (2014-10-09 22:05:48 UTC) #3
epenner
Rebased this on the last one. Ptal for Enne or Vlad for landing this one.
6 years, 2 months ago (2014-10-09 23:53:35 UTC) #4
enne (OOO)
https://codereview.chromium.org/626113004/diff/110001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/626113004/diff/110001/cc/layers/picture_layer_impl_unittest.cc#newcode4423 cc/layers/picture_layer_impl_unittest.cc:4423: // Tile-height doubles to 50% when width shrinks to ...
6 years, 2 months ago (2014-10-10 00:06:05 UTC) #5
epennerAtGoogle
> I guess I'm trying to say this relative 50% is kind of weird and ...
6 years, 2 months ago (2014-10-10 00:34:55 UTC) #6
epennerAtGoogle
Thinking a bit about the trade-off: Without something really fancy, I think the trade-off currently ...
6 years, 2 months ago (2014-10-10 01:19:06 UTC) #7
ernstm
On 2014/10/10 01:19:06, epennerAtGoogle wrote: > Thinking a bit about the trade-off: > > Without ...
6 years, 2 months ago (2014-10-10 17:38:06 UTC) #8
enne (OOO)
On 2014/10/10 at 01:19:06, epenner wrote: > In terms of fancy future solutions, I figure ...
6 years, 2 months ago (2014-10-10 17:54:00 UTC) #9
epennerAtGoogle
> I think the relative threshold is nice, because it is device independent. Maybe > ...
6 years, 2 months ago (2014-10-10 18:46:33 UTC) #10
enne (OOO)
I don't have a clean approach in mind either for static sizes. :) lgtm % ...
6 years, 2 months ago (2014-10-10 18:55:50 UTC) #11
ernstm
On 2014/10/10 18:55:50, enne wrote: > I don't have a clean approach in mind either ...
6 years, 2 months ago (2014-10-10 20:39:49 UTC) #12
epennerAtGoogle
Landing. I realized I didn't upload before for divisor of 1 and min-height being 256. ...
6 years, 2 months ago (2014-10-10 20:59:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/626113004/290001
6 years, 2 months ago (2014-10-10 21:01:20 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:290001)
6 years, 2 months ago (2014-10-10 22:15:11 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-10-10 22:16:23 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/30d771737be5a083038f141eec2e6331f69bc47f
Cr-Commit-Position: refs/heads/master@{#299201}

Powered by Google App Engine
This is Rietveld 408576698