RE: [AD] Feature request: Add missing GFX_VTABLE entries |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: <alleg-developers@xxxxxxxxxx>
- Subject: RE: [AD] Feature request: Add missing GFX_VTABLE entries
- From: "Robert Ohannessian" <ROhannessian@xxxxxxxxxx>
- Date: Sun, 26 Sep 2004 12:01:50 -0700
- Thread-index: AcSjz9A68IrBvt3EQnKokH0RR5Bi8wAKtxbw
- Thread-topic: [AD] Feature request: Add missing GFX_VTABLE entries
Floodfill can be accelerated (at least sped up with more coherent
access). I agree that the do_* and calc* functions don't belong there.
Stretch_sprite and masked_stretch_blit don't really differ, do they? Is
one (both?) implemented by pivot_scaled_sprite_flip? If so, they don't
need to be there.
For the set_*_blender functions, maybe we can just have one driver entry
for all of them that takes an enum (or define) to select the blender?
Thanks!
> -----Original Message-----
> From: alleg-developers-admin@xxxxxxxxxx [mailto:alleg-
> developers-admin@xxxxxxxxxx] On Behalf Of Elias Pschernig
> Sent: Sunday, September 26, 2004 6:45 AM
> To: alleg-developers
> Subject: Re: [AD] Feature request: Add missing GFX_VTABLE entries
>
> On Sun, 2004-09-26 at 14:32 +0200, Evert Glebbeek wrote:
> > On Monday 20 September 2004 06:06, Robert Ohannessian wrote:
> > > Could the following Allegro functions be added to the GFX_VTABLE
so
> that
> > > AllegroGL could convert them to GL calls?
> >
> > The attached patch adds the functions you requested to the vtable
(and a
> > few more as well). They aren't actually used in that none of the
> functions
> > are vtable-aware yet, but I wanted to make sure that this
distinction is
> > good. Some of the entries went to the GFX_DRIVER rather than the
> > GFX_VTABLE, because they don't specifically refer to a bitmap.
Please
> > check if this division is adequate.
> >
>
> I think, do_line/circle/ellipse and calc_spline need not be in a
vtable,
> it's unlikely they will benefit from acceleration. Same for floodfill.
>
> --
> Elias Pschernig
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement
on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers