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

Issue 1021663002: cc: Fix skewport math (Closed)

Created:
5 years, 9 months ago by enne (OOO)
Modified:
5 years, 9 months ago
Reviewers:
vmpstr
CC:
brianderson, cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Fix skewport math Previously, if the viewport ever moved farther than the skewport limits in a single frame, the skewport math would break. It would first intersect with the max skewport (becoming empty) and then unioning with the viewport (becoming the viewport). By moving the union first, it prevents this empty condition, leaving a valid skewport in the right direction. This addresses a case where prepainting wasn't happening when it should have. BUG=446645 Committed: https://crrev.com/23fa8b248a7ba2a743653967e598bd309822dac0 Cr-Commit-Position: refs/heads/master@{#321428}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove duplicate dcheck #

Patch Set 3 : Fix for empty viewport #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -4 lines) Patch
M cc/resources/picture_layer_tiling.cc View 1 2 2 chunks +8 lines, -3 lines 0 comments Download
M cc/resources/picture_layer_tiling_unittest.cc View 2 chunks +18 lines, -1 line 0 comments Download

Messages

Total messages: 22 (10 generated)
enne (OOO)
https://codereview.chromium.org/1021663002/diff/1/cc/resources/picture_layer_tiling_unittest.cc File cc/resources/picture_layer_tiling_unittest.cc (right): https://codereview.chromium.org/1021663002/diff/1/cc/resources/picture_layer_tiling_unittest.cc#newcode604 cc/resources/picture_layer_tiling_unittest.cc:604: // Shrink the skewport in all directions. Just added ...
5 years, 9 months ago (2015-03-18 23:08:36 UTC) #2
vmpstr
lgtm! https://codereview.chromium.org/1021663002/diff/1/cc/resources/picture_layer_tiling.cc File cc/resources/picture_layer_tiling.cc (right): https://codereview.chromium.org/1021663002/diff/1/cc/resources/picture_layer_tiling.cc#newcode606 cc/resources/picture_layer_tiling.cc:606: DCHECK(skewport.Contains(visible_rect_in_content_space)); <_< https://codereview.chromium.org/1021663002/diff/1/cc/resources/picture_layer_tiling_unittest.cc File cc/resources/picture_layer_tiling_unittest.cc (right): https://codereview.chromium.org/1021663002/diff/1/cc/resources/picture_layer_tiling_unittest.cc#newcode618 cc/resources/picture_layer_tiling_unittest.cc:618: ...
5 years, 9 months ago (2015-03-18 23:11:51 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021663002/20001
5 years, 9 months ago (2015-03-18 23:18:08 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/37684)
5 years, 9 months ago (2015-03-19 00:50:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021663002/20001
5 years, 9 months ago (2015-03-19 04:43:33 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/37793)
5 years, 9 months ago (2015-03-19 05:50:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021663002/20001
5 years, 9 months ago (2015-03-19 14:47:00 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/37898)
5 years, 9 months ago (2015-03-19 16:00:43 UTC) #16
vmpstr
On 2015/03/19 16:00:43, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 9 months ago (2015-03-19 16:26:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021663002/40001
5 years, 9 months ago (2015-03-19 18:51:28 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-19 20:46:00 UTC) #21
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 20:46:54 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/23fa8b248a7ba2a743653967e598bd309822dac0
Cr-Commit-Position: refs/heads/master@{#321428}

Powered by Google App Engine
This is Rietveld 408576698