[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: Start of an opengl-based gdi driver
From:       Stefan =?iso-8859-1?q?D=F6singer?= <stefan () codeweavers ! com>
Date:       2007-05-29 9:16:30
Message-ID: 200705291116.31636.stefan () codeweavers ! com
[Download RAW message or body]

Am Dienstag 29 Mai 2007 00:31 schrieb Frank Richter:
> On 28.05.2007 22:23, Stefan Dösinger wrote:
> > loads it into an opengl
> > texture(GL_ALPHA) and records 256 display lists to draw textured quads.
> > So far no unicode support, no custom pens, but custom fonts work.
>
> One trick I've seen (in CEGUI) is to use one font texture per Unicode
> plane. So the page you attached would be the texture for plane 0 (ie
> ISO-8859-1).
>
> Also, why display lists? Each character is a quad. You could draw the
> text from simple quads, with some buffering to reduce overhead.
To cache the texture coordinate calculations, and in the hope that the driver 
can cache something internally. The red book also recommends the use of 
display lists for this, and display lists are fairly easy to call and record.

As for the unicode planes, yes, that's my plan, but just not implemented 
yet :-)



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic