On Tue, 2009-01-06 at 15:18 +0100, Sascha Hlusiak wrote:

> Besides being able to transfer floats with input properties, I'd like to see 
> the possibility to transfer strings as well
> That would also give the possibility of using the workaround that Roland 
> suggested and encode floats (and basically anything else) by using strings.

X is a binary protocol using machine-native data representations.
Converting things to string form is not consistent with the existing
code base, and a source of confusion given the existing usage of IEEE
floats in the GLX extension.

> It's hard to believe for me that platforms interpret IEEE754 in so different 
> ways. Are there any more references where IEEE754 representation can go wrong 
> between different platforms?

If there are, we should be fixing GLX to trap numbers which may cause
problems then. Scanning an array for ill-formatted numbers seems far
more efficient than converting the numbers to a new format.

-- 
[email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to