New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 852885 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Visually Annotate Render Passes in Inspector

Project Member Reported by alexst@chromium.org, Jun 14 2018

Issue description

There 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.
 

Comment 1 by flackr@chromium.org, Jun 14 2018

Cc: danakj@chromium.org
This seems similar to --show-screenspace-rects which from the code seems like it should draw a box around every render surface. Not every render surface creates a render pass, but we could annotate which ones do and draw them differently.

Of course I don't know how to actually see the result, +danakj is this supposed to work for visualizing render surfaces on web content?

Comment 2 by danakj@chromium.org, 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

Comment 3 by danakj@chromium.org, Jun 14 2018

> There's no legend to tell whats going on,

cc/debug/debug_colors.h is the legend in the code

Comment 5 by flackr@chromium.org, Jun 14 2018

Cc: flackr@chromium.org
Owner: alexst@chromium.org
Status: Assigned (was: Untriaged)
Anyways, thanks for the pointer.

Alex do you want to start by looking for blue layer borders and see if this is sufficient?

Comment 6 by danakj@chromium.org, 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).

Comment 7 by alexst@chromium.org, Jun 14 2018

Cc: dnicoara@chromium.org mherkender@google.com

Sign in to add a comment