Bug 1633979 Comment 7 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Chrome basically uses tiling.  Though the each tile size [depends on various parameters](https://source.chromium.org/chromium/chromium/src/+/master:cc/layers/tile_size_calculator.cc;l=123-220;drc=07a1d8a723c86bf0bf58c08f2d26c31007e7f38a?originalUrl=https:%2F%2Fcs.chromium.org%2F), on my linux box it's (512, 256) ~ (window width, 256).  You can also see tiles' border by enabling "Layer borders" in Rendering section on Chrome's devtools.  And the maximum number of tiles seems [10000](https://source.chromium.org/chromium/chromium/src/+/master:cc/test/test_layer_tree_host_base.cc;l=183;drc=bfad4b4fdb0db59f4d62eed475f207884275a9e0?originalUrl=https:%2F%2Fcs.chromium.org%2F), There is also [a cap of maximum memory usage](https://source.chromium.org/chromium/chromium/src/+/master:cc/resources/resource_pool.cc;l=464;drc=7f752e39888678afb4851e8302d5b78a92bc5183?originalUrl=https:%2F%2Fcs.chromium.org%2F), the value on my machine is 512MB. I don't know how interact the max tile number with the memory cap though.

Anyways, given that the mimimum tile size (512, 256) is used and they are layouted on (100x100) tiles, then the maximum rasterlized size is (51200, 25600).  It's quite huge to me..  Given that Chrome uses tiling, which means they just need to update the dirty tiles, so I am supposing it's not applicable for WebRender?
Chrome basically uses tiling.  Though the each tile size [depends on various parameters](https://source.chromium.org/chromium/chromium/src/+/master:cc/layers/tile_size_calculator.cc;l=123-220;drc=07a1d8a723c86bf0bf58c08f2d26c31007e7f38a?originalUrl=https:%2F%2Fcs.chromium.org%2F), on my linux box it's (512, 256) ~ (window width, 256).  You can also see tiles' border by enabling "Layer borders" in Rendering section on Chrome's devtools.  And the maximum number of tiles seems [10000](https://source.chromium.org/chromium/chromium/src/+/master:cc/test/test_layer_tree_host_base.cc;l=183;drc=bfad4b4fdb0db59f4d62eed475f207884275a9e0?originalUrl=https:%2F%2Fcs.chromium.org%2F). There is also [a cap of maximum memory usage](https://source.chromium.org/chromium/chromium/src/+/master:cc/resources/resource_pool.cc;l=464;drc=7f752e39888678afb4851e8302d5b78a92bc5183?originalUrl=https:%2F%2Fcs.chromium.org%2F), the value on my machine is 512MB. I don't know how interact the max tile number with the memory cap though.

Anyways, given that the mimimum tile size (512, 256) is used and they are layouted on (100x100) tiles, then the maximum rasterlized size is (51200, 25600).  It's quite huge to me..  Given that Chrome uses tiling, which means they just need to update the dirty tiles, so I am supposing it's not applicable for WebRender?

Back to Bug 1633979 Comment 7