blink-dev -> bcc
+headless-dev@

Hi Todd,

On Wed, May 4, 2022 at 11:31 AM Todd Wilder <[email protected]> wrote:

> I have no desire to layout or paint anything in my headless use case, and
> i'm going through the code base, tracing and then commenting out
> layout/paint methods, testing, etc. Its a difficult process. Can anyone
> recommend an easy way to "disable" layout, styling and painting?


You can skip painting and compositing if you opt for external frame control
<https://source.chromium.org/chromium/chromium/src/+/main:headless/app/headless_shell_switches.cc;l=20;drc=287fa204b78ccaa8da5c1a155c5fbfacafef31c8;bpv=1;bpt=1>,
-- just pass noDisplayUpdates
<https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/browser_protocol.pdl;l=3864>
when
initiating a frame. This won't skip the layout, but just driving frames
with a greater interval is going to help with that.

Best regards,
Andrey.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABapexe91cZs_J9N6ZGdXMbZFcAEcTTq%2BmFtxyxaTx_89BZrSA%40mail.gmail.com.

Reply via email to