On Wed, Sep 27, 2006 at 02:46:22PM +0200, Udo Giacomozzi wrote:

> Instead, I suggest implementing methods like display_shape(),
> display_bitmap() and so on (is there much left?) in the renderer.
> These methods expect the instance and the definition as arguments and
> do the actual drawing. At least display_shape() could be implemented
> in the base class and use the current tesselator. One can overwrite it
> in the correct renderer class to use other tesselators.

Agree, let's pass some render-agnostic data to the renderers, not
important to pass instances atm, just whatever is appropriate, but
NOT requiring calls to the renderer during parsing.

> The renderer can store any cache object he likes in the definition (or
> maybe also in the instance, if that makes sense) since it has access
> to it.

Yes, let's proceed in this direction.

--strk;


_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to