[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RfC PATCH 2/3] sdl2: add support for display rendering
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RfC PATCH 2/3] sdl2: add support for display rendering using opengl. |
Date: |
Thu, 15 Jan 2015 13:17:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
On 15/01/2015 12:15, Gerd Hoffmann wrote:
>> How would the opengl 3/4 version of
>> > the above would look like?
> Ok, scratch that one. Looks like this is a seriously non-trivial update
> and my rusty opengl knowledge needs a major update for modern-style
> opengl ...
Unless we want to support OpenGLES, which doesn't have glBegin/glEnd
(you need to use vertex buffers IIRC, but I last played with OpenGL in
2008...), the old style is still fine. Even the latest OpenGL additions
in GTK+ use glBegin(GL_QUADS).
Paolo