[Webkit-unassigned] [Bug 73228] Synchronization problem in Canvas/WebGLRenderingContext when listener asks for image

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 28 10:44:56 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=73228





--- Comment #2 from Dana Jansens <danakj at chromium.org>  2011-11-28 10:44:57 PST ---
This patch: Since the cached image is cleared before notifying people about the change, mark the canvas dirty before also. This
a) keeps them in sync.
b) if a listener requests the image, it will cache the requested version correctly.


An alternate version of this patch would be to clear the cache and mark dirty after notifying listeners.  In b) above, this would throw away the cache and cause extra work in the next request for the image.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list