[uae] Re: new version of sdlgfx patch (was: Re: Re: Faster SDL update of Picasso screens)

  • From: Jens Weichert <nexusle@xxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Mon, 7 Aug 2006 11:49:53 +0200

Hi Jochen

Am 07.08.2006 um 10:50 schrieb Jochen Becher:

Hi Jens,

sorry for that; I sent the wrong patch file that I made for testing how
patching works... here comes the right one.

Thanks! This does the job!! And you're right, it increases the speed dramatically AND my mouse cursor no longer hangs on the display!! Thanks for the good work.


PS: RICH, CAN YOU PUT THIS PATCH TO THE CVS SORCE TREE???

greets Jens


Regards, Jochen

Am Montag, den 07.08.2006, 09:48 +0200 schrieb Jens:
Hi Jochen

Ich bekomme beim kompilieren von E-UAE nach dem patchen folgende Meldung:

sdlgfx.c: In function 'handle_events':
sdlgfx.c:769: error: 'picasso_vidonfo' undeclared (first use in this function)
sdlgfx.c:769: error: (Each undeclared identifier is reported only once
sdlgfx.c:769: error: for each function it appears in.)
make[3]: *** [sdlgfx.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


Was'n nu?

Grüße Jens


Am Sonntag, den 06. August 2006 um 23.24 Uhr schrieb Jochen Becher <jochen_becher@xxxxxx>:


Hi,

Enter the topmost directory of the e-uae source package and enter

patch -p1 <sdlgfx.patch

Regards, Jochen


Am Sonntag, den 06.08.2006, 18:51 +0200 schrieb Jens Weichert:
Am 06.08.2006 um 12:14 schrieb Jochen Becher:

Hi,

here is a patch that increases speed of Picasso screen updates
dramatically on my machine. The speed increase on your machine may not
be that dramatically because it depends on your Linux distribution and
version of libsdl.


On my Ubuntu installation sdl 1.2.9 (current official version of
Ubuntu
Dapper) is VERY slow (it draws only 125 filled rectangles per
seconds).

The attached patch replaces many calls of SDL_UpdateRect() with a
single
call of SDL_UpdatedRects() which calls XSync() only once for the whole
bunch of rectangles (invalid line blocks).


Regards, Jochen

<sdlgfx.patch>

what is the complete command to patch the file?


greets Jens







<sdlgfx.patch>


Other related posts: