From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [ANNOUNCE] kmscon: Lazy-web's DRM based terminal emulator Date: Wed, 28 Mar 2012 21:14:20 +0300 Message-ID: <20120328181420.GL4917@intel.com> References: <20120328103020.238eab42@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 29120A0E2E for ; Wed, 28 Mar 2012 11:06:16 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20120328103020.238eab42@jbarnes-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jesse Barnes Cc: Ran Benita , dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, Mar 28, 2012 at 10:30:20AM -0700, Jesse Barnes wrote: > On Tue, 27 Mar 2012 16:57:29 +0200 > David Herrmann wrote: > = > > Hi > > = > > Motivated by Jesse's letter to the lazyweb [1] I worked on a kmscon > > program. It provides a > > terminal-emulator similar to the in-kernel terminal-emulator based on > > DRM. It is written > > from scratch and needs as external dependencies only mesa (libdrm, > > libgbm, libEGL, libGLESv2), > > udev, xproto (build-time dep), libxkbcommon, freetype2 and currently > > glib (only for unicode support). > > It uses a very recent version of libxkbcommon but it should be easy to > > fix ./src/kbd_xkb.c if > > you use an older version (or use --disable-xkbcommon to use a very > > basic keyboard handler). > = > Awesome! Now get the distros to pick this up and turn off CONFIG_VT! :) > = > Ville's comment about a texture atlas is a good one, if nothing else I > think it should improve cache behavior. You could also render a large batch of glyphs with just a single glDrawElements()/glDrawArrays() call. Looks like the current code does a glDrawArrays() for each glyph. -- = Ville Syrj=E4l=E4 Intel OTC