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

List:       freedesktop-xorg
Subject:    Re: Is there the possibility to support EXA for legacy S3 chips?
From:       Ville =?iso-8859-1?Q?Syrj=E4l=E4?= <syrjala () sci ! fi>
Date:       2009-05-28 9:02:49
Message-ID: 20090528090249.GQ6520 () sci ! fi
[Download RAW message or body]

On Thu, May 28, 2009 at 12:00:26PM +0400, Evgeny M. Zubok wrote:
> Ville Syrjälä <syrjala@sci.fi> writes:
> 
> > Why wouldn't it work if you just allocate everything using the same
> > pitch? Or does the allocator make some assumptions about the pitches
> > the hardware can handle?
> 
> The allocator make the assumption that hardware is able to copy
> offscreen pixmaps with any pitch and with any offset (only alignment can
> be varied). There is no way to ask EXA always to allocate offscreen
> pixmaps with fixed pitch. This option would be possible to implement
> (something like pEXA->offscreenPitch = ...) but the modern and not so
> modern hardware doesn't need it. Who cared about the ancient S3? :)

Just set the alignment to your fixed pitch value and it should work,
shouldn't it?

-- 
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

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

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