David Hoskin
unread,Jul 9, 2014, 3:54:18 PM7/9/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plan9-gsoc
Hi again, it's been a while!
I implemented alphadraw() using the actual pixel values rather than
just calling the canvas drawing operation. It calls canvas'
getImageData() for each of the src, dst, and mask images every time it
is invoked, which is relatively expensive. However, now that
alphadraw() is used for almost everything, there is no reason to keep
images as canvases. For now I'm still using a canvas and caching the
getImageData(), but once my own memlayer(2) is working well enough
that I can do away with the hack of positioning canvases with CSS to
represent windows, I will be able to remove the canvases entirely.
Right now I'm working to remove corruption that results from drawing
an image onto itself, which occurs when scrolling windows in rio.
-- David