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 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 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

[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