gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Questions about trapezoids, triangle stripper etc.


From: strk
Subject: Re: [Gnash-dev] Questions about trapezoids, triangle stripper etc.
Date: Wed, 27 Sep 2006 14:50:43 +0200

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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]