From: David O. <raz...@gm...> - 2010-01-25 22:55:10
|
Hi, I've been having issues with the design of the graphics2d interface. I think that rather than sending graphics data as commands, it should be published as data. Say, for example, you have two different graphics canvases, and you want both of them to show graphics produced by a single driver. Currently this is not possible, because the driver can only subscribe to one of them. There are also issues when the driver producing graphics is started before the one providing a canvas. The graphics producer does not find the canvas at startup, so nothing is drawn. I expect it's possible to poll periodically until a canvas is available, but I would prefer this to be something the canvas does, not spread through every graphics producer. The current design works fine for stage but not other situations. For example, consider adding graphics2d support to playerv. Thanks, David |