qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] OpenGL for OS X
Date: Tue, 05 Feb 2008 10:06:50 -0600	[thread overview]
Message-ID: <47A8899A.9050601@codemonkey.ws> (raw)
In-Reply-To: <51BE315A-D8DD-4CAA-82FC-F0B358FB24B1@csgraf.de>

Alexander Graf wrote:
> On Feb 1, 2008, at 5:45 PM, Mike Kronenberg wrote:
>
>> After a little discussion on the list, I made this patch for cocoa.m, 
>> to replace CoreGraphic by OpenGL.
>
> Great! Thank you.
>
>> It's way faster than CG, but it requires a Mac with OpenGL capable 
>> Graphics Card and at least 8mb of VRAM.
>> I think starting with G4 and Highend G3, this requirements are met.
>
> Maybe I will try if I find some spare time, but as far as I know Apple 
> provides a quite powerful OpenGL emulation. Last time I ran osx on 
> Vesa output, everything worked just fine.
>
>> features:
>> [new] draws dirty lines of the window as needed, implemented with 
>> OpenGL (used the extensions as proposed by Pierre)
>> [new] window can be resized
>> [fix] conditional builds for Leopard, without linking to a specific sdk
>> [fix] lineflicker in fullscreen mode
>>
>> The Question is, where to draw the line - or - if it needs a switch 
>> for CG/OpenGL support for cocoa.
>
> As this OpenGL implementation is based on the Apple pass-through 
> extensions, I don't think it'd make a good start for a generic 
> implementation. Additionally I believe SDL is a good choice for the 
> output too, as they implement optimizations for the specific 
> platforms. The only sad part is that I have not seen a 64-bit capable 
> SDL on Mac OS X ;-).

I would really like to use OpenGL on non-Apple platforms.  OpenGL gives 
much better scaling than SDL.  Typically, and OpenGL app has very little 
platform specific code.  It would be nice if we could use similar code here.

Regards,

Anthony Liguori

>> Please test and comment.
>>
>> Mike
>>
>> [1] http://www.kberg.ch/qemu/091patches/cocoa_m_OpenGL.diff.gz
>>
>

  reply	other threads:[~2008-02-05 16:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-01 16:45 [Qemu-devel] [PATCH] OpenGL for OS X Mike Kronenberg
2008-02-05  9:05 ` Alexander Graf
2008-02-05 16:06   ` Anthony Liguori [this message]
2008-02-05 16:29     ` Johannes Schindelin
2008-02-05 16:34       ` Anthony Liguori
2008-02-05 16:45         ` Fabrice Bellard
2008-02-06  6:00           ` Gwenole Beauchesne
2008-02-06 12:39             ` Philip Boulain
2008-02-16  7:54 ` Mike Kronenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47A8899A.9050601@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).