[Mesa-dev] [PATCH 2/2] meta: Handle bitmaps with alpha test enabled.

Francisco Jerez currojerez at riseup.net
Wed Nov 10 04:41:52 PST 2010


Brian Paul <brianp at vmware.com> writes:
>
> Of course, we _could_ do the comparison with ints but we'd have to
> query the number of framebuffer alpha bits, convert the floats to ints
> with the right number of bits, then compare (to match the
> hardware). It seems to be a lot of extra work for no good reason.
>
OK, here's a patch doing the same with floats.

> -Brian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-meta-Handle-bitmaps-with-alpha-test-enabled.patch
Type: text/x-diff
Size: 2490 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101110/0a0a71ba/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101110/0a0a71ba/attachment.pgp>


More information about the mesa-dev mailing list