Visually Annotate Render Passes in Inspector |
|||
Issue descriptionThere are situations where pages render slower for reason unclear to HTML developer that are caused by creation of render passes internally. It would be a good signal to expose that in a way similar to paint flashing.
,
Jun 14 2018
I think you're thinking of --show-compositor-layer-borders, which is enablable in devtools as well. There's no legend to tell whats going on, but blue border = renderpass. > Not every render surface creates a render pass FWIW they are 1:1
,
Jun 14 2018
> There's no legend to tell whats going on, cc/debug/debug_colors.h is the legend in the code
,
Jun 14 2018
Oh, I took should_draw_into_render_pass as meaning that they weren't 1:1 : https://cs.chromium.org/chromium/src/cc/trees/layer_tree_host_impl.cc?type=cs&q=file:layer_tree_host_impl.cc+should_draw_into_render_pass&sq=package:chromium&g=0&l=997
,
Jun 14 2018
Anyways, thanks for the pointer. Alex do you want to start by looking for blue layer borders and see if this is sufficient?
,
Jun 14 2018
> Oh, I took should_draw_into_render_pass as meaning that they weren't 1:1 : That's checking if the pass should be drawn into a parent renderpass, or just rendered and then dropped (for copying to a texture when its not part of the user-visible output).
,
Jun 14 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by flackr@chromium.org
, Jun 14 2018