Re: [webkit-dev] Event firing and repainting of saved Images in webkit

2015-03-04 Thread ankit srivastav
Hi Max Thanks for your reply. But may be you took the question into a different direction. We are trying to make changes into Webkit code, so that the functionality works for each and every application/Webpage. We have to achieve two things: 1) An event {from within the webkit} when the whole

[webkit-dev] Event firing and repainting of saved Images in webkit

2015-03-04 Thread ankit srivastav
Hi All, We are working on manipulation of images(falling under a certain criteria) on a web page, but the algorithms being used for the purpose are a bit slow. So, the idea is to save the images/renderImage objects and continue to render/paint the entire page and once the page has been

Re: [webkit-dev] Event firing and repainting of saved Images in webkit

2015-03-04 Thread Myles C. Maxfield
You might want to look at how the onLoad JavaScript event gets fired as well as how ImageLoader updates the contents of images as more bytes are downloaded. Investigating how animated gifs cause repaints might also be helpful. As far as the control of reacting to page load and setting up

Re: [webkit-dev] Event firing and repainting of saved Images in webkit

2015-03-04 Thread Myles C. Maxfield
It might also be worth investigating if you can implement your entire algorithm in JavaScript using canvas. The performance might be acceptable. That would greatly simplify your code. On Mar 4, 2015, at 6:50 AM, Myles C. Maxfield mmaxfi...@apple.com wrote: You might want to look at how the