On Thu, May 28, 2009 at 12:00:26PM +0400, Evgeny M. Zubok wrote:
> Ville Syrjälä <syrj...@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ä
syrj...@sci.fi
http://www.sci.fi/~syrjala/
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to