Skip to content

Instantly share code, notes, and snippets.

@Gankra
Created September 3, 2019 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gankra/23ca658595f97c27945ae26f0ca43373 to your computer and use it in GitHub Desktop.
Save Gankra/23ca658595f97c27945ae26f0ca43373 to your computer and use it in GitHub Desktop.
Painting --- compositing layer tree:
LayerManager (0x164ce420400) --- in 3D-sorted rendering order
ContainerLayerMLGPU (0x164c4441800) [shadow-visible=< (x=0, y=0, w=3205, h=2017); (x=0, y=2017, w=3162, h=4826); >] [visible=< (x=0, y=0, w=3205, h=2016); >] [opaqueContent] [metrics0={ [metrics={ [cb=(x=0.000000, y=0.000000, w=3205.000000, h=2016.000000)] [sr=(x=0.000000, y=0.000000, w=1282.000000, h=806.400024)] [s=(0,0)] [dp=(x=0.000000, y=0.000000, w=1282.000000, h=806.400024)] [cdp=(x=0.000000, y=0.000000, w=0.000000, h=0.000000)] [scrollId=3] [z=2.5] }] [color=rgba(0, 0, 0, 0.000000)] }] [presShellResolution=1]
PaintedLayerMLGPU (0x164c4445800) [shadow-visible=< (x=0, y=0, w=3205, h=2016); >] [visible=< (x=0, y=0, w=3205, h=2016); >] { hitregion=< (x=0, y=0, w=3205, h=2016); > dispatchtocontentregion=< (x=100, y=2, w=2660, h=83); >} [opaqueContent] [valid=< (x=0, y=0, w=3205, h=2016); >]
ContentHost (0x164c440da60) [buffer-rect=(x=0, y=0, w=3205, h=2016)] [buffer-rotation=(0,0)]
ShmemTextureHost (0x164c445e2e0) [size=(w=3205, h=2016)] [format=SurfaceFormat::B8G8R8X8] [flags=]
RefLayerMLGPU (0x164c4447800) [shadow-clip=(x=0, y=187, w=3205, h=1829)] [shadow-transform=[ 1 0; 0 1; 0 187; ]] [shadow-visible=< (x=0, y=0, w=3205, h=1830); (x=0, y=1830, w=3162, h=4826); >] [clip=(x=0, y=187, w=3205, h=1829)] [transform=[ 1 0; 0 1; 0 187; ]] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=0, w=3205, h=1829); >] [presShellResolution=1] [id=4294967305]
ContainerLayerMLGPU (0x164c4449800) [shadow-visible=< (x=0, y=0, w=3205, h=1830); (x=0, y=1830, w=3162, h=4826); >] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=0, w=3205, h=1830); >] [opaqueContent] [presShellResolution=1]
PaintedLayerMLGPU (0x164c4450000) [shadow-clip=(x=0, y=0, w=0, h=0)] [clip=(x=0, y=0, w=0, h=0)] [effective-transform=[ 1 0; 0 1; 0 187; ]] [not visible]
ContentHost (0x164c44f89d0) [buffer-rect=(x=0, y=0, w=0, h=0)] [buffer-rotation=(0,0)]
ColorLayerMLGPU (0x164ce425000) [shadow-visible=< (x=0, y=0, w=3162, h=1830); >] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=0, w=3162, h=1830); >] { hitregion=< (x=0, y=0, w=3205, h=1830); >} [opaqueContent] [color=rgba(255, 255, 255, 1.000000)] [bounds=(x=0, y=0, w=3205, h=1830)]
ContainerLayerMLGPU (0x164c4444000) [shadow-clip=(x=0, y=0, w=3205, h=1830)] [shadow-visible=< (x=3162, y=0, w=43, h=1830); >] [clip=(x=0, y=0, w=3205, h=1830)] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=3162, y=0, w=43, h=1830); >] [opaqueContent] [scrollbar] [presShellResolution=1]
PaintedLayerMLGPU (0x164c4446800) [shadow-visible=< (x=3162, y=0, w=43, h=1830); >] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=3162, y=0, w=43, h=1830); >] { hitregion=< (x=3162, y=0, w=43, h=1830); >} [opaqueContent] [valid=< (x=3162, y=0, w=43, h=1830); >]
ContentHost (0x164c44f8660) [buffer-rect=(x=3162, y=0, w=43, h=1830)] [buffer-rotation=(0,0)]
TextureHost (0x164c440f700) [size=(w=43, h=1830)] [format=SurfaceFormat::B8G8R8X8] [flags=]
ContainerLayerMLGPU (0x164c4444800) [shadow-clip=(x=3162, y=43, w=43, h=1744)] [shadow-visible=< (x=3162, y=43, w=43, h=129); >] [clip=(x=3162, y=43, w=43, h=1744)] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=3162, y=43, w=43, h=129); >] [opaqueContent] [vscrollbar=4] [presShellResolution=1]
PaintedLayerMLGPU (0x164c4445000) [shadow-transform=[ 1 0; 0 1; 3162 43; ]] [shadow-visible=< (x=0, y=0, w=43, h=129); >] [transform=[ 1 0; 0 1; 3162 43; ]] [effective-transform=[ 1 0; 0 1; 3162 230; ]] [visible=< (x=0, y=0, w=43, h=129); >] { hitregion=< (x=0, y=0, w=43, h=129); >} [opaqueContent] [valid=< (x=0, y=0, w=43, h=129); >]
ContentHost (0x164c44f8710) [buffer-rect=(x=0, y=0, w=43, h=290)] [buffer-rotation=(0,0)]
TextureHost (0x164c44ec080) [size=(w=43, h=290)] [format=SurfaceFormat::B8G8R8X8] [flags=]
PaintedLayerMLGPU (0x164c444c000) [shadow-clip=(x=0, y=0, w=3162, h=1830)] [shadow-visible=< (x=0, y=0, w=3162, h=120); (x=0, y=830, w=3162, h=50); (x=0, y=880, w=2031, h=13); (x=2791, y=880, w=371, h=13); (x=0, y=893, w=2021, h=824); (x=2801, y=893, w=361, h=824); (x=0, y=1717, w=3162, h=62); (x=0, y=1779, w=2021, h=51); (x=2801, y=1779, w=361, h=51); (x=0, y=1830, w=3162, h=4826); >] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=0, w=3162, h=120); (x=0, y=830, w=3162, h=50); (x=0, y=880, w=2031, h=13); (x=2791, y=880, w=371, h=13); (x=0, y=893, w=2021, h=824); (x=2801, y=893, w=361, h=824); (x=0, y=1717, w=3162, h=62); (x=0, y=1779, w=2021, h=51); (x=2801, y=1779, w=361, h=51); (x=0, y=1830, w=3162, h=4826); >] { hitregion=< (x=0, y=0, w=3162, h=23131); >} [opaqueContent] [metrics0={ [metrics={ [cb=(x=0.000000, y=0.000000, w=3162.000000, h=1830.000000)] [sr=(x=0.000000, y=0.000000, w=1264.800049, h=9252.000000)] [s=(0,0)] [dp=(x=0.000000, y=0.000000, w=1264.800049, h=2662.399902)] [cdp=(x=0.000000, y=0.000000, w=0.000000, h=0.000000)] [scrollId=4] [rcd] [z=2.5] }] [color=rgba(255, 255, 255, 1.000000)] [clip=(x=0, y=0, w=3162, h=1830)] }] [valid=< (x=0, y=0, w=3162, h=120); (x=0, y=830, w=3162, h=50); (x=0, y=880, w=2053, h=13); (x=2791, y=880, w=371, h=13); (x=0, y=893, w=2043, h=824); (x=2801, y=893, w=361, h=824); (x=0, y=1717, w=3162, h=62); (x=0, y=1779, w=2055, h=51); (x=2789, y=1779, w=373, h=51); (x=0, y=1830, w=3162, h=4826); >]
ContentHost (0x164c44f8ea0) [buffer-rect=(x=0, y=0, w=3162, h=6656)] [buffer-rotation=(0,0)]
TextureHost (0x164c44ebc80) [size=(w=3162, h=6656)] [format=SurfaceFormat::B8G8R8X8] [flags=]
ContainerLayerMLGPU (0x164c444e800) [shadow-clip=(x=0, y=0, w=3162, h=1830)] [shadow-visible=< (x=0, y=0, w=3162, h=1830); >] [clip=(x=0, y=0, w=3162, h=1830)] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=0, w=3162, h=1830); >] [opaqueContent] [isFixedPosition scrollId=4 sides=0x9 anchor=(0,0)] [presShellResolution=1]
ContainerLayerMLGPU (0x164c444f000) [shadow-visible=< (x=0, y=0, w=3162, h=1830); >] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=0, w=3162, h=1830); >] [opaqueContent] [presShellResolution=1]
PaintedLayerMLGPU (0x164c444f800) [shadow-clip=(x=0, y=0, w=0, h=0)] [clip=(x=0, y=0, w=0, h=0)] [effective-transform=[ 1 0; 0 1; 0 187; ]] [not visible]
ContentHost (0x164c44f8f50) [buffer-rect=(x=0, y=0, w=0, h=0)] [buffer-rotation=(0,0)]
ColorLayerMLGPU (0x164ce422000) [shadow-visible=< (x=0, y=0, w=3162, h=1830); >] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=0, w=3162, h=1830); >] { hitregion=< (x=0, y=0, w=3162, h=1830); >} [opaqueContent] [color=rgba(233, 236, 239, 1.000000)] [bounds=(x=0, y=0, w=3162, h=1830)]
PaintedLayerMLGPU (0x164c4450800) [shadow-clip=(x=0, y=0, w=3162, h=1830)] [shadow-visible=< (x=0, y=120, w=3162, h=635); (x=0, y=755, w=673, h=50); (x=675, y=755, w=2487, h=50); (x=0, y=805, w=3162, h=5207); (x=361, y=6022, w=1600, h=394); (x=361, y=6441, w=1600, h=215); >] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=120, w=3162, h=635); (x=0, y=755, w=673, h=50); (x=675, y=755, w=2487, h=50); (x=0, y=805, w=3162, h=5207); (x=361, y=6022, w=1600, h=394); (x=361, y=6441, w=1600, h=215); >] { hitregion=< (x=81, y=95, w=3000, h=25); (x=0, y=120, w=3162, h=6536); > dispatchtocontentregion=< (x=485, y=1339, w=1452, h=385); (x=463, y=2130, w=1496, h=663); (x=463, y=6653, w=1496, h=3); >} [componentAlpha] [metrics0={ [metrics={ [cb=(x=0.000000, y=0.000000, w=3162.000000, h=1830.000000)] [sr=(x=0.000000, y=0.000000, w=1264.800049, h=9252.000000)] [s=(0,0)] [dp=(x=0.000000, y=0.000000, w=1264.800049, h=2662.399902)] [cdp=(x=0.000000, y=0.000000, w=0.000000, h=0.000000)] [scrollId=4] [rcd] [z=2.5] }] [color=rgba(255, 255, 255, 1.000000)] [clip=(x=0, y=0, w=3162, h=1830)] }] [valid=< (x=0, y=120, w=3162, h=635); (x=0, y=755, w=673, h=50); (x=675, y=755, w=2487, h=50); (x=0, y=805, w=3162, h=5207); (x=361, y=6022, w=1600, h=394); (x=361, y=6441, w=1600, h=215); >]
ContentHost (0x164ce402030) [buffer-rect=(x=0, y=120, w=3162, h=6536)] [buffer-rotation=(0,0)]
TextureHost (0x164c44ec300) [size=(w=3162, h=6536)] [format=SurfaceFormat::B8G8R8X8] [flags=]
ContainerLayerMLGPU (0x164c444a000) [shadow-clip=(x=0, y=0, w=3162, h=1830)] [shadow-visible=< (x=2021, y=6052, w=780, h=604); >] [clip=(x=0, y=0, w=3162, h=6656)] [scrolled-clip=(x=0, y=0, w=3162, h=6656)] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=2021, y=6052, w=780, h=604); >] [componentAlpha] [isStickyPosition scrollId=4 outer=(-22369622.000,-22369622.000)-(22369622.000,21780.250) inner=(-22369622.000,-22369622.000)-(22369622.000,5909.708)] [metrics0={ [metrics={ [cb=(x=0.000000, y=0.000000, w=3162.000000, h=1830.000000)] [sr=(x=0.000000, y=0.000000, w=1264.800049, h=9252.000000)] [s=(0,0)] [dp=(x=0.000000, y=0.000000, w=1264.800049, h=2662.399902)] [cdp=(x=0.000000, y=0.000000, w=0.000000, h=0.000000)] [scrollId=4] [rcd] [z=2.5] }] [color=rgba(255, 255, 255, 1.000000)] [clip=(x=0, y=0, w=3162, h=1830)] }] [presShellResolution=1]
PaintedLayerMLGPU (0x164c443c000) [shadow-transform=[ 1 0; 0 1; 2021 6052; ]] [transform=[ 1 0; 0 1; 2021 6052; ]] [not visible] { hitregion=< (x=0, y=0, w=780, h=604); >} [opaqueContent]
ContentHost (0x164c44f87c0) [buffer-rect=(x=0, y=0, w=0, h=0)] [buffer-rotation=(0,0)]
PaintedLayerMLGPU (0x164c444b000) [shadow-transform=[ 1 0; 0 1; 2021 6052; ]] [shadow-visible=< (x=0, y=0, w=780, h=604); >] [transform=[ 1 0; 0 1; 2021 6052; ]] [effective-transform=[ 1 0; 0 1; 2021 6239; ]] [visible=< (x=0, y=0, w=780, h=604); >] [componentAlpha] [valid=< (x=0, y=0, w=780, h=604); >]
ContentHost (0x164c44f8870) [buffer-rect=(x=0, y=0, w=780, h=604)] [buffer-rotation=(0,0)]
TextureHost (0x164ce41d180) [size=(w=780, h=604)] [format=SurfaceFormat::B8G8R8X8] [flags=]
PaintedLayerMLGPU (0x164c4452000) [shadow-clip=(x=0, y=0, w=3162, h=1830)] [shadow-visible=< (x=360, y=740, w=618, h=80); (x=1874, y=4373, w=45, h=46); >] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=360, y=740, w=618, h=80); (x=1874, y=4373, w=45, h=46); >] { hitregion=< (x=361, y=730, w=2440, h=100); (x=1874, y=4364, w=45, h=63); > dispatchtocontentregion=< (x=1874, y=4364, w=45, h=63); >} [componentAlpha] [metrics0={ [metrics={ [cb=(x=0.000000, y=0.000000, w=3162.000000, h=1830.000000)] [sr=(x=0.000000, y=0.000000, w=1264.800049, h=9252.000000)] [s=(0,0)] [dp=(x=0.000000, y=0.000000, w=1264.800049, h=2662.399902)] [cdp=(x=0.000000, y=0.000000, w=0.000000, h=0.000000)] [scrollId=4] [rcd] [z=2.5] }] [color=rgba(255, 255, 255, 1.000000)] [clip=(x=0, y=0, w=3162, h=1830)] }] [valid=< (x=360, y=740, w=618, h=80); (x=1874, y=4373, w=45, h=46); >]
ContentHost (0x164c44f8920) [buffer-rect=(x=360, y=740, w=1559, h=3679)] [buffer-rotation=(0,0)]
TextureHost (0x164ce41d700) [size=(w=1559, h=3679)] [format=SurfaceFormat::B8G8R8X8] [flags=]
ContainerLayerMLGPU (0x164c4451000) [shadow-clip=(x=0, y=0, w=3162, h=1830)] [shadow-visible=< (x=0, y=0, w=3162, h=121); >] [clip=(x=0, y=0, w=3162, h=1830)] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=0, w=3162, h=121); >] [opaqueContent] [isFixedPosition scrollId=4 sides=0xb anchor=(1602.5,0)] [presShellResolution=1]
PaintedLayerMLGPU (0x164c4451800) [shadow-visible=< (x=0, y=0, w=3162, h=121); >] [effective-transform=[ 1 0; 0 1; 0 187; ]] [visible=< (x=0, y=0, w=3162, h=121); >] { hitregion=< (x=0, y=-1, w=3162, h=122); >} [opaqueContent] [valid=< (x=0, y=0, w=3162, h=121); >]
ContentHost (0x164ce4020e0) [buffer-rect=(x=0, y=0, w=3205, h=121)] [buffer-rotation=(0,0)]
TextureHost (0x164c44eca80) [size=(w=3205, h=121)] [format=SurfaceFormat::B8G8R8X8] [flags=]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment