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

Issue 610603003: cc: Removed DCHECK that asserted MapPoint returns clipped as true (Closed)

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

Description

cc: Removed DCHECK that asserted MapPoint returns clipped as true When we apply a perspective to a div, we could end up with a situation where the mapped points end up behind the view. When this happened we would DCHECK, but since this a valid scenario and the rendered results look correct (as far as I can tell), I'm removing the DCHECK. Please see http://jsfiddle.net/kkryf2v4/ for an example where we animate from non-clipped to clipped div. BUG=416367 Committed: https://crrev.com/06aebb2f4b89f7bb0a511fa12881e919a860287a Cr-Commit-Position: refs/heads/master@{#297082}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added a comment eplaining why we ignore clipped #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M cc/output/gl_renderer.cc View 1 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
hendrikw
PTAL, thanks!
6 years, 2 months ago (2014-09-26 20:55:53 UTC) #2
danakj
https://codereview.chromium.org/610603003/diff/1/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (left): https://codereview.chromium.org/610603003/diff/1/cc/output/gl_renderer.cc#oldcode1426 cc/output/gl_renderer.cc:1426: DCHECK(!clipped); If it's clipped then the coordinates returned by ...
6 years, 2 months ago (2014-09-26 21:09:19 UTC) #4
hendrikw
On 2014/09/26 21:09:19, danakj wrote: > https://codereview.chromium.org/610603003/diff/1/cc/output/gl_renderer.cc > File cc/output/gl_renderer.cc (left): > > https://codereview.chromium.org/610603003/diff/1/cc/output/gl_renderer.cc#oldcode1426 > ...
6 years, 2 months ago (2014-09-26 21:11:31 UTC) #5
hendrikw
On 2014/09/26 21:11:31, Hendrik wrote: > On 2014/09/26 21:09:19, danakj wrote: > > https://codereview.chromium.org/610603003/diff/1/cc/output/gl_renderer.cc > ...
6 years, 2 months ago (2014-09-26 21:15:02 UTC) #6
danakj
On 2014/09/26 21:15:02, Hendrik wrote: > On 2014/09/26 21:11:31, Hendrik wrote: > > On 2014/09/26 ...
6 years, 2 months ago (2014-09-26 21:21:58 UTC) #7
hendrikw
On 2014/09/26 21:21:58, danakj wrote: > On 2014/09/26 21:15:02, Hendrik wrote: > > On 2014/09/26 ...
6 years, 2 months ago (2014-09-26 21:34:04 UTC) #8
hendrikw
On 2014/09/26 21:34:04, Hendrik wrote: > On 2014/09/26 21:21:58, danakj wrote: > > On 2014/09/26 ...
6 years, 2 months ago (2014-09-26 21:47:23 UTC) #9
danakj
ok LGTM https://codereview.chromium.org/610603003/diff/1/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (left): https://codereview.chromium.org/610603003/diff/1/cc/output/gl_renderer.cc#oldcode1425 cc/output/gl_renderer.cc:1425: bottom_right = MathUtil::MapPoint(device_transform, bottom_right, &clipped); can you ...
6 years, 2 months ago (2014-09-26 23:04:34 UTC) #10
hendrikw
Updated comment
6 years, 2 months ago (2014-09-26 23:15:07 UTC) #11
danakj
Thanks! LGTM
6 years, 2 months ago (2014-09-26 23:30:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/610603003/20001
6 years, 2 months ago (2014-09-26 23:31:45 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 7541b6443a24fd77ffb6ef75babe24762e4b16d9
6 years, 2 months ago (2014-09-27 00:29:27 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-09-27 00:30:04 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/06aebb2f4b89f7bb0a511fa12881e919a860287a
Cr-Commit-Position: refs/heads/master@{#297082}

Powered by Google App Engine
This is Rietveld 408576698