Re: [AD] SF.net SVN: alleg:[11646] allegro/branches/4.9

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Saturday 21 February 2009, Peter Wang wrote:
> On 2009-02-21, elias@xxxxxxxxxx <elias@xxxxxxxxxx> 
wrote:
> > Revision: 11646
> >           http://alleg.svn.sourceforge.net/alleg/?rev=11646&view=rev
> > Author:   elias
> > Date:     2009-02-21 20:41:03 +0000 (Sat, 21 Feb 2009)
> >
> > Log Message:
> > -----------
> > - Made memory copies of pixel data returned by locking OpenGL bitmaps be
> > upside down. As was mentioned on the mailing list some time ago, this
> > means we no longer have to vertically swap pixel data outselves (but the
> > pitch of locked pixel memory is negative now for such bitmaps).
> > - Removed useless x/y/w/h parameters to the upload_bitmap vtable entry.
> > - Added fast paths for OpenGL when blitting from screen to screen or
> > screen to texture. - Fixed ex_lockscreen which made invalid assumptions
> > about the data pointer in ALLEGRO_LOCKED_REGION.
>
> This change broke the graphics on all three Linux machines I have access
> to, with three different video cards and drivers (Intel, ATI, Nvidia).
>
> In ex_bitmap, mysha is vertically too high by about a quarter of the
> screen.  This happens consistently any time a bitmap is blitted.
> The text in all the examples are garbled.
>
> It does work correctly if I use the vesa driver, so no hardware
> acceleration.  Any ideas?

AFAIK Allegro doesn't support anything BUT GL. so no graphics will work 
without GL.

That said this is what I get:
moose@xxxxxxxxxx$ ./ex_bitmap data/bkg.png
Segmentation fault

Graphical examples all seem to segfault here. compiled in full debug mode.

> Peter
>
>
> ---------------------------------------------------------------------------
>--- Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing
> the Enterprise -Strategies to boost innovation and cut costs with open
> source participation -Receive a $600 discount off the registration fee with
> the source code: SFAD http://p.sf.net/sfu/XcvMzF8H


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/