mode of a window
DanKarron at UCBVAX.BERKELEY.EDU
DanKarron at UCBVAX.BERKELEY.EDU
Mon May 6 05:52:09 AEST 1991
Is there anyway to determine what mode the pixels are in for
interperting lrectread() values ?
I need to know specifically if the bitplanes are in color map mode (cmode)
or RGB mode. Then I know how to unpack the bits in lrectread.
Also, how can I tell if I am in single or double buffer mode, and
which buffer is being displayed on the screen. I want only to read
pixels that are displayed.
It might also be of value to do a lrectread of the hidden buffer (backbuffer)
so that I can be certain that my image will not contain any pieces of poped
windows. Can this be done ?
What about a programatic (c call) to force my window to pop on top of
all others.
I am writing a automatic snapshot call that I am putting in my
StickeyWindows package so that you can make an ipaste bitmap
image of the window after each draw cycle. This way you can
make a movie loop and animate render cycles that take too
long to animate in real time. To make this general for all the
modes that the bitplanes can be in, I need to know how to interrogate
the bitplanes.
If anyone has something similar, I would like to compare notes!
Cheers!
dan.
.
| karron at nyu.edu (e-mail alias ) Dan Karron, Research Associate |
| Phone: 212 263 5210 Fax: 212 263 7190 New York University Medical Center |
| 560 First Avenue Digital Pager <1> (212) 397 9330 |
| New York, New York 10016 <2> 10896 <3> <your-number-here> |
More information about the Comp.sys.sgi
mailing list