JVZ
2016-11-18 13:42:29 UTC
On Fri, 18 Nov 2016 10:48:06 +0100
needs to be unsigned long because some systems have > 32-bits/pixel.
On most desktops we have 24 or 32-bit pixels, but there are some machines
that have 36 or even 48 bits/pixel.
I could change, it but it might break stuff on some crazy high-end hardware.
Cheers,
-- JVZ
+----------------------------------------------------------------------------+
| Copyright (C) 16:20 11/17/2016 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
------------------------------------------------------------------------------
Hello Jeroen,
I hope you are well.
One small thing. We noticed that on some 64 bit targets, the class
FXVisual is >100K in size. This comes from the many FXPixels held in
// Pixel type (could be color index)
typedef FXuint FXPixel; /* -few/duz from unsigned long */
This reduces the sizeof(FXVisual) to around 50K. Otherwise I've seen no
negative impact from the change so far.
The definition of FXPixel should line up with Xlib's idea of a pixel; itI hope you are well.
One small thing. We noticed that on some 64 bit targets, the class
FXVisual is >100K in size. This comes from the many FXPixels held in
// Pixel type (could be color index)
typedef FXuint FXPixel; /* -few/duz from unsigned long */
This reduces the sizeof(FXVisual) to around 50K. Otherwise I've seen no
negative impact from the change so far.
needs to be unsigned long because some systems have > 32-bits/pixel.
On most desktops we have 24 or 32-bit pixels, but there are some machines
that have 36 or even 48 bits/pixel.
I could change, it but it might break stuff on some crazy high-end hardware.
Cheers,
-- JVZ
+----------------------------------------------------------------------------+
| Copyright (C) 16:20 11/17/2016 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
------------------------------------------------------------------------------