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

Issue 308183002: Made root translation layer the root when using pinch virtual viewport. (Closed)

Created:
6 years, 6 months ago by bokan
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, abarth-chromium, jchaffraix+rendering, pdr., rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Made root translation layer the root when using pinch virtual viewport. The "root" translation layer was previously below the overlap controls host layer. This meant it was actually below the pinch viewport's scale layer. We really want the root translation layer to be at the root so that DevTools' screen emulation feature can scale and offset the entire tree. BUG=370035 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175496

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : Fixed unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -7 lines) Patch
M Source/core/frame/PinchViewport.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/frame/PinchViewport.cpp View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 3 chunks +9 lines, -1 line 0 comments Download
M Source/web/tests/PinchViewportTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
bokan
Alexandre: ptal Ian: mind double checking I'm not doing anything fishy compositor-wise? I've made sure ...
6 years, 6 months ago (2014-05-30 18:50:18 UTC) #1
dgozman
I see that you put overlay layer (which is usually an inspector overlay) under the ...
6 years, 6 months ago (2014-05-30 19:09:42 UTC) #2
bokan
On 2014/05/30 19:09:42, dgozman wrote: > I see that you put overlay layer (which is ...
6 years, 6 months ago (2014-05-30 19:22:37 UTC) #3
aelias_OOO_until_Jul13
The layer was optional because we want to avoid the layer tree bloat on every ...
6 years, 6 months ago (2014-06-03 01:11:22 UTC) #4
bokan
On 2014/06/03 01:11:22, aelias wrote: > The layer was optional because we want to avoid ...
6 years, 6 months ago (2014-06-03 16:14:58 UTC) #5
aelias_OOO_until_Jul13
I'd say it's worth the added complexity given that it affects the critical scrolling path. ...
6 years, 6 months ago (2014-06-03 19:02:49 UTC) #6
bokan
Thanks. Ian, could you PTAL at Source/core? Thanks.
6 years, 6 months ago (2014-06-03 19:17:47 UTC) #7
Ian Vollick
lgtm2 https://codereview.chromium.org/308183002/diff/1/Source/core/frame/PinchViewport.h File Source/core/frame/PinchViewport.h (right): https://codereview.chromium.org/308183002/diff/1/Source/core/frame/PinchViewport.h#newcode77 Source/core/frame/PinchViewport.h:77: return m_rootTransformLayer.get(); why two accessors for the same ...
6 years, 6 months ago (2014-06-04 13:22:12 UTC) #8
bokan
https://codereview.chromium.org/308183002/diff/1/Source/core/frame/PinchViewport.h File Source/core/frame/PinchViewport.h (right): https://codereview.chromium.org/308183002/diff/1/Source/core/frame/PinchViewport.h#newcode77 Source/core/frame/PinchViewport.h:77: return m_rootTransformLayer.get(); On 2014/06/04 13:22:12, Ian Vollick wrote: > ...
6 years, 6 months ago (2014-06-04 15:12:25 UTC) #9
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 6 months ago (2014-06-04 15:41:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/308183002/40001
6 years, 6 months ago (2014-06-04 15:42:52 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 17:18:54 UTC) #12
Message was sent while issue was closed.
Change committed as 175496

Powered by Google App Engine
This is Rietveld 408576698