Re: [AD] memory bitmap blending |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2008-11-22, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> On Sat, November 22, 2008 7:14 pm, Peter Wang said:
> > Hi, I was trying Trent's fishes example[1] and noticed that it
> > doesn't
> > work when the bitmaps are memory bitmaps. Could someone take a
> > look?
> > I've attached a patch which adds it into the cmake build for
> > testing.
> >
> > Peter
> >
> > [1] http://nooskewl.com/blogs/trent/?p=102
>
> I have a solution but I'm not sure it's correct... I only know that
> it works for this particular example. Patch is attached.
So we should have a program to comprehensively test the blending code.
How do you think it should work? I imagine we'd have, say, two windows,
one displaying the output of an operation on a display bitmap and
another for operations on memory bitmaps. With one set of controls
(like A4 level of GUI) you'd set the three parameters of al_set_blender.
Peter