Are you looking for the precise damaged region (list of rectangles) or
would a unioned rect suffice? Damage tracking in the compositing stack
tracks the latter.

Also, how is the snapshot getting triggered? That'll help in pointing out
the easiest way to get this information.

On Thu, Dec 30, 2021 at 11:07 PM Ramin Halavati <rhalav...@chromium.org>
wrote:

> Hi!
>
> I am working on a proposal for an accessibility module that takes
> snapshots of the screen and annotates them through a local image processing
> module.
>
To do so, I need to have triggers that say "this region of the screen is
> updated". I've looked into several positions for the trigger (like
> ui::Window::SchedulePaintInRect oand
> cc::AsyncLayerTreeFrameSink::SubmitCompositorFrame) but could not find a
> place that gives me the content area rectangles that are updated. I would
> appreciate any pointers on where to look.
>
> Thank you,
> Ramin
>
> --
> 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 blink-dev+unsubscr...@chromium.org.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMgMY8wzFGBpai2sX1bE5rjyZtM2B-NKtiACzr0V3GDRn9h6WQ%40mail.gmail.com
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMgMY8wzFGBpai2sX1bE5rjyZtM2B-NKtiACzr0V3GDRn9h6WQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMLuWUzfGXT6Qxqe7Hnv9RDuP6UfZaAg8%2B%2BY3XD3njjqY%3DcHMA%40mail.gmail.com.

Reply via email to