[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) |
Notice: | Welcome to the Digital UNIX Conference |
Moderator: | SMURF::DENHAM |
|
Created: | Thu Mar 16 1995 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 10068 |
Total number of notes: | 35879 |
9694.0. "X Program Display problems" by SWAM1::POIANI_MI () Thu May 01 1997 20:38
I have a customer bringing some X widows code over from an SGI box.
They have this question:
The man pages (and the header files) indicate that a pixel is a 64-bit
value (a long). If I allocate space for an W x H image do really need
W*H*8 bytes? This seems awfully wasteful as no display servers support
64-bit pixel values (32 is typical). The problem is that I have a
program which allocates W*H*sizeof(long) for the image. This works
fine on the 32-bit machines but not on my DEC alpha (the image displays
wrong). The question is are pixels 32 or 64 bit (int or long)?
T.R | Title | User | Personal Name | Date | Lines |
---|
9694.1 | Cross-posted in BGSDEV::OPEN3D (at least), answered there | VESPER::VESPER | OpenGL Alpha Geek | Fri May 02 1997 10:03 | 1 |
| Andy V
|