My application that embeds Gecko grabs the output of a rendered page into a chunk of memory and displays it elsewhere. In order for this approach to work with pages that have any form of dynamic content, I need to grab the whole page frequently - I'm currently doing it at 15Hz.

Whilst this works well, it consumes a lot of resources - especially if I have several instances of the embedded browser open at once.

Does anyone know of a way to tell if an element changes appearance - anything from a link highlight change to a large portion of the page in something like Google Maps.

Ideally, I'd like to find a way to get a 'dirty rectangle' that told me the area of the page I need to update, but initially, just a flag saying something had changed would be a big win.

I'm about to start digging but figured I'd ask here first in case anyone had come across the same problem.

Cheers.

Cal.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to