[Xorg-driver-geode] what is the purpose of GeodeCalculatePitchBytes function?

Adam Jackson ajax at nwnk.net
Wed Sep 8 08:13:10 PDT 2010

On Wed, 2010-09-08 at 17:18 +0800, Cui, Hunk wrote:
> Hi, all,
> 	Ask one question...
> 	In
> http://cgit.freedesktop.org/xorg/driver/xf86-video-geode/tree/src/gx_dri
> ver.c#n1560, this is the function " GeodeCalculatePitchBytes", in the
> process of calculate the pitch, why does the compression require a power
> of 2, what is the purpose? 

Framebuffer compression is a hardware feature.  If the hardware requires
a power-of-two pitch...

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-driver-geode/attachments/20100908/ca216a70/attachment.pgp>

More information about the Xorg-driver-geode mailing list