Re: widget size independant to screen resolution

Andrew Suffield <[email protected]> Thu, 21 Oct 2004 13:25:59 +0100
Newsgroups gmane.comp.graphics.y.devel
Message-ID <[email protected]>
On Thu, Oct 21, 2004 at 08:54:45AM +0100, Mark Thomas wrote:
> On Wed, 20 Oct 2004, Phil wrote:
> 
> > Lincoln Quirk wrote:
> > > This is what a GPU is for. Nearly all computers have them nowadays, and
> > > we can disable this functionality or accept that it will be slow on
> > > computers without a GPU.
> >
> > So your proposal is to render each window into a texture, have the card
> > generate a set of mipmaps for it, then display that texture on a
> > rectangle with a displayed size <= the original texture.
> >
> 
> Actually, that's how Quartz Extreme works (and supposedly Avalon will,
> too).  It doesn't need to generate mipmaps for them since most of the time
> the window is at 1:1, and when it's shrunk you don't actually care about
> aliasing effects.
> 
> Someone (Claude Mench?) hacked up a version of Y that did this earlier
> this year.  Unfortunately a few things weren't in Y that were needed to
> make it elegant so I couldn't incorporate his patches, but it's definitely
> in the game plan.  And no, Phil, it wasn't slow at all.  In fact, it's the
> only way you're going to get fast, proper blending between windows without
> a really powerful CPU.

Well, under the assumption that you're working to the opengl model,
anyway. I've been working on a few evil ideas regarding this sort of
stuff.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBd6rWlpK98RSteX8RAvrhAJ0T95h9hZOUyj7GSzsYNrlFjDvm3wCeKnMR
5oymPBTWAXCU5l3luEPduC0=
=ctTs
-----END PGP SIGNATURE-----