Re: widget size independant to screen resolution

Mark Thomas <[email protected]> Thu, 21 Oct 2004 08:54:45 +0100 (BST)
Newsgroups gmane.comp.graphics.y.devel
Message-ID <[email protected]>
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.

Regards,

  Mark.
-- 
|| Mark Thomas
|| efaref.net
||
|| Asking if computers can think is like asking if submarines can swim.