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

Issue 392143002: Fix flipped views on Mac (Closed)

Created:
6 years, 5 months ago by ccameron
Modified:
6 years, 5 months ago
Reviewers:
Andre, piman
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@rwhelper_monstrosity
Project:
chromium
Visibility:
Public.

Description

Fix flipped views on Mac Setting a layer-hosting NSView's CALayer's geometry flipping has a lot of unexpected side-effects, and is proving unsafe, especially if that NSView will have sub-views. Add a level of indirection where the hosted layer is not flipped, but it has a sub-layer that is flipped, off of which the layers for composited content are attached. BUG=392952 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283862

Patch Set 1 #

Patch Set 2 : Comments and cleanup #

Patch Set 3 : Incorporate review feedback #

Patch Set 4 : Do layers directly #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -17 lines) Patch
M content/browser/compositor/OWNERS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/compositor/browser_compositor_view_private_mac.h View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M content/browser/compositor/browser_compositor_view_private_mac.mm View 1 2 3 5 chunks +15 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 chunks +17 lines, -6 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
ccameron
This ends up being a simpler way to solve the problem. It appears that messing ...
6 years, 5 months ago (2014-07-16 03:11:02 UTC) #1
Andre
On 2014/07/16 03:11:02, ccameron1 wrote: > This ends up being a simpler way to solve ...
6 years, 5 months ago (2014-07-16 17:16:38 UTC) #2
ccameron
Added the comment above declaration of flipped_layer_. Adding myself to OWNERS as well, and adding ...
6 years, 5 months ago (2014-07-16 17:49:01 UTC) #3
piman
lgtm
6 years, 5 months ago (2014-07-16 17:54:30 UTC) #4
ccameron
Thanks!
6 years, 5 months ago (2014-07-16 18:27:30 UTC) #5
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 5 months ago (2014-07-16 18:27:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/392143002/40001
6 years, 5 months ago (2014-07-16 18:31:54 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 21:46:05 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 23:03:42 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/50054)
6 years, 5 months ago (2014-07-16 23:03:43 UTC) #10
ccameron
On 2014/07/16 23:03:43, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 5 months ago (2014-07-16 23:39:27 UTC) #11
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 5 months ago (2014-07-17 01:56:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/392143002/60001
6 years, 5 months ago (2014-07-17 02:00:22 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 05:07:25 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 05:13:21 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/80464) ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/28690) linux_chromium_chromeos_clang_dbg ...
6 years, 5 months ago (2014-07-17 05:13:22 UTC) #16
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 5 months ago (2014-07-17 06:03:42 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/392143002/60001
6 years, 5 months ago (2014-07-17 06:10:52 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 06:16:02 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 06:22:18 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/80474) ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/28700) linux_chromium_chromeos_clang_dbg ...
6 years, 5 months ago (2014-07-17 06:22:19 UTC) #21
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 5 months ago (2014-07-17 07:23:32 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/392143002/60001
6 years, 5 months ago (2014-07-17 07:26:57 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 07:31:46 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 07:33:47 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/28711) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/29563)
6 years, 5 months ago (2014-07-17 07:33:48 UTC) #26
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 5 months ago (2014-07-17 08:59:18 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/392143002/60001
6 years, 5 months ago (2014-07-17 09:01:17 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 09:06:53 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 09:09:20 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/28726) win8_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win8_chromium_rel/builds/4139) linux_gpu ...
6 years, 5 months ago (2014-07-17 09:09:21 UTC) #31
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 5 months ago (2014-07-17 17:23:08 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/392143002/60001
6 years, 5 months ago (2014-07-17 17:25:00 UTC) #33
ccameron
The CQ bit was checked by ccameron@chromium.org
6 years, 5 months ago (2014-07-17 17:32:14 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/392143002/80001
6 years, 5 months ago (2014-07-17 17:33:28 UTC) #35
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 20:42:50 UTC) #36
Message was sent while issue was closed.
Change committed as 283862

Powered by Google App Engine
This is Rietveld 408576698