Re: [Qemu-devel] cocoa.m using openGL

2005-05-29 Thread Pierre d'Herbemont
On 28 mai 05, at 20:39, Mike Kronenberg wrote:Pierre d'Herbemont wrote:It doesn't work on my iMac DV G3 400. I know that its ATI Rage 128 is very limited, but I think that we'll had to keep both version...Did You get an error-message so we could include a autoswitch?Nop... The main window's buffer

Re: [Qemu-devel] cocoa.m using openGL

2005-05-28 Thread Mike Kronenberg
Pierre d'Herbemont wrote: On 24 mai 05, at 17:11, Mike Kronenberg wrote: Testbuild and diff are on http://www.kberg.ch/cocoaqemu It doesn't work on my iMac DV G3 400. I know that its ATI Rage 128 is very limited, but I think that we'll had to keep both version... Did You get an error-me

Re: [Qemu-devel] cocoa.m using openGL

2005-05-27 Thread Pierre d'Herbemont
On 24 mai 05, at 17:11, Mike Kronenberg wrote:Testbuild and diff are onhttp://www.kberg.ch/cocoaqemuIt doesn't work on my iMac DV G3 400. I know that its ATI Rage 128 is very limited, but I think that we'll had to keep both version...The PNG preview works but not the main screen.I'll be able to deb

Re: [Qemu-devel] cocoa.m using openGL

2005-05-26 Thread Pierre d'Herbemont
Mike!Le 24 mai 05 à 17:11, Mike Kronenberg a écrit :[..]=> openGL is 3.5% faster on my systemImpressive ;)plus- it solves some issues i had with hiding/showing the toolbar (damaging the qd_view)- it could accelerate the generation of livethumbnails i am usingTestbuild and diff are onhttp://www.kber

Re: [Qemu-devel] cocoa.m using openGL

2005-05-26 Thread Pierre d'Herbemont
Hi Peter, That is really great! To send your work: 1) download the cvs repository, see: http://savannah.nongnu.org/cvs/?group=qemu 2) send your diff: # cd /path/to/qemu # cvs diff -u cocoa.m > cocoapatch.diff.txt If you think your patch is clean enough, send it to Fabrice (and the list) so th

Re: [Qemu-devel] cocoa.m using openGL

2005-05-24 Thread Mike Kronenberg
Hello Peter and Pierre I have woven the patch into my patch and run some basic but in other times often used benchmarks with doom: i unpacked freedos and installed doom from http://www.kberg.ch/cocoaqemu/files/freedosdoom.img.zip then i started doom with doom -timedemo demo3 (reboot between

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Mike Kronenberg
Peter Stewart wrote: Hi, Sorry for using up mail space, but here is the cocoa.m file. enjoy, peter. Thanks amillion! I will try it out tomorrow. Hope I too can produce a Patch soon, so there is not to much unneccessary work mergin bits'n'peaces :) Mike ___

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Peter Stewart
Hi, Just added Mike's keyboard fixes, so I could run doom. Built and installed doom, it runs pretty well. It actually runs better than I expected, pretty cool. Thanks for the .img. peter. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Peter Stewart
Hi, Sorry for using up mail space, but here is the cocoa.m file. enjoy, peter. /* * QEMU Cocoa display driver * * Copyright (c) 2005 Pierre d'Herbemont *many code/inspiration from SDL 1.2 code (LGPL) * * Permission is hereby granted, free of charge, to any person o

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Peter Stewart
Hi, Sorry, kind of new at this... Here is the diff -u version of cocoa.m, I guess you got the Makefile.target fix :-) diff -u cocoa.m.orig cocoa.m > cocoa.m.diff enjoy, peter. --- cocoa.m.origSat May 21 17:19:45 2005 +++ cocoa.m Mon May 23 19:24:00 2005 @@ -37,16 +37,23 @@

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Hetz Ben Hamo
Could you use diff -u please? that surely could help. Thanks, Hetz On 5/23/05, Mike Kronenberg <[EMAIL PROTECTED]> wrote: > Peter Stewart wrote: > > > Hi, > > > > It looks faster than the original, but I don't have a benchmark, is > > there one? > > I would really like a bootable image with Doo

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Mike Kronenberg
Peter Stewart wrote: Hi, It looks faster than the original, but I don't have a benchmark, is there one? I would really like a bootable image with Doom 1 on it. http://www.kberg.ch/cocoaqemu/files/freedosdoom.img.zip have fun Here is the diff for cocoa.m ( diff cocoa.m.orig cocoa.m ) (from

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Peter Stewart
Hi, It looks faster than the original, but I don't have a benchmark, is there one? I would really like a bootable image with Doom 1 on it. I also added to Makefile.target, the "-framework OpenGL" bit. ifdef CONFIG_COCOA VL_OBJS+=cocoa.o COCOA_LIBS=-F/System/Library/Frameworks -framework Coco

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Mike Kronenberg
Peter Stewart wrote: Hi Hetz, I will do a comparison, and a diff, and add some more comments. Great, I can't wait to merge and test it :) I have a 800Mhz ibook 640M. When I ran Knoppix, and glxgears I got 7fps on OpenGL profiler and 5fps reported by glxgears. OpenGL profiler reported tha

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Peter Stewart
Hi Hetz, I will do a comparison, and a diff, and add some more comments. I have a 800Mhz ibook 640M. When I ran Knoppix, and glxgears I got 7fps on OpenGL profiler and 5fps reported by glxgears. OpenGL profiler reported that a maximum of 5% of the time was being spent in OpenGL. On average ab

Re: [Qemu-devel] cocoa.m using openGL

2005-05-23 Thread Mike Kronenberg
Peter Stewart wrote: Hello to all, esp. Pierre d'Herbemont, I have changed cocoa.m (0.7.0) to use openGL with very fast texturing. I removed the use of QuickDraw. The DisplayState data is now DMA'd to the graphics card instead of copied by the CPU. This uses apple's texture range extensions

Re: [Qemu-devel] cocoa.m using openGL

2005-05-22 Thread Hetz Ben Hamo
Peter, You can use the "diff" command (I think it's available on OS X) to create patches, and then you can post those patches here. Please add comments wherever possible to indicate what you done (something small and simple). BTW: have you tried to perform any benchmarking to see if there's any

[Qemu-devel] cocoa.m using openGL

2005-05-22 Thread Peter Stewart
Hello to all, esp. Pierre d'Herbemont, I have changed cocoa.m (0.7.0) to use openGL with very fast texturing. I removed the use of QuickDraw. The DisplayState data is now DMA'd to the graphics card instead of copied by the CPU. This uses apple's texture range extensions. The change means that