From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBjNE-0001my-KI for qemu-devel@nongnu.org; Thu, 15 Jan 2015 07:18:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBjNA-0000jq-K9 for qemu-devel@nongnu.org; Thu, 15 Jan 2015 07:18:04 -0500 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:53778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBjNA-0000jf-D1 for qemu-devel@nongnu.org; Thu, 15 Jan 2015 07:18:00 -0500 Received: by mail-wi0-f181.google.com with SMTP id hi2so17356182wib.2 for ; Thu, 15 Jan 2015 04:17:59 -0800 (PST) Sender: Paolo Bonzini Message-ID: <54B7AFF2.8040108@redhat.com> Date: Thu, 15 Jan 2015 13:17:54 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1418295956-22479-1-git-send-email-kraxel@redhat.com> <1418295956-22479-3-git-send-email-kraxel@redhat.com> <5489BEE2.7090107@redhat.com> <1418382297.23141.23.camel@nilsson.home.kraxel.org> <548AEEF7.1000206@redhat.com> <1421066808.8695.31.camel@nilsson.home.kraxel.org> <1421320545.12876.24.camel@nilsson.home.kraxel.org> In-Reply-To: <1421320545.12876.24.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RfC PATCH 2/3] sdl2: add support for display rendering using opengl. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , Max Reitz Cc: qemu-devel@nongnu.org, Anthony Liguori 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