[PATCH renderproto] Add floating point transforms

Keith Packard keithp at keithp.com
Sun Aug 17 14:26:13 PDT 2014


walter harms <wharms at bfs.de> writes:

> Would it make sense to use double for internal calculation ?
> Most systems provide 64bit (or more) fpu-registers these days.

In fact, pixman exposes only double matrices at this point, so the
server implementation stores both fixed point and floating point
variants in that format.

However, a GPU will likely want to stick with 32 bit values, which is
why I expressed the protocol using 32 bit floats; 64-bit computation in
the GPU is generally much slower than 32-bit.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140817/80e29215/attachment.sig>


More information about the xorg-devel mailing list