| From: | |
| Date: | 07 Feb 2001 at 18:49:58 |
| Subject: | Cybergraphics/LockBitMapTagList() |
Hello guys,
just a question about the LockBitMapTagList(), I suppose that this is
the function used for doing direct gfx-mem rendering, you obtain a
pointer to the bitmap using the LBMI_BASEADDRESS tag and all the other
necessary data with the other tags, draw what you want to draw, call
UnLockBitMap() and there you go. Just a 'prob, calling a
Lock/UnLockBitmap() couple for every frame is overkill, especially if
you do that in a context-switch from the PowerPC side. So, is there a
not-too-much-hackish way of getting a valid pointer to the bitmap and
using it for all the time you want? The autodoc for the function says
that the pointer is invalid after you call UnLockBitMap but I suppose
this could be true for a window (it's bitmap may change size/position)
but is this true for a screen too? Or there is another method to get a
valid pointer? Thanx in advance
Gabriele
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981568239/
---------------------------------------------------------------------_->