[Y-devel] widget size independant to screen resolution

Andrew Suffield asuffield at debian.org
Thu Oct 21 13:25:59 BST 2004


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
 : :' :  https://www.debian.org/ |
 `. `'                          |
   `-             -><-          |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20041021/7949d9a5/attachment.bin


More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved