I don't need the precise damaged region and unioned rect suffices. I'm still considering possibilities for the triggering mechanism and have not found a good one yet. It would be great if you suggest options that I take a closer look at.
Thanks, Ramin On Mon, Jan 3, 2022 at 5:00 PM Khushal Sagar <khushalsa...@chromium.org> wrote: > 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/CAORodQih%3DADjWABQVL%3D0FTm1SaxtOo3wm3d%2BhxU5WG0anCd%2B0Q%40mail.gmail.com.