Discussion:
BitmapV3 stability issues
(too old to reply)
jms
2003-06-26 21:53:38 UTC
Permalink
I'm trying to dynamically create some of the new V3 bitmaps as per the
simplified code snippet below....

BitmapPtr bitmapHi =
BmpCreate(BASE_WIDTH*scale,BASE_HEIGHT*scale,4,colorTable, &dummy);
BitmapPtr bitmapHi3 = (BitmapType*)BmpCreateBitmapV3(bitmapHi,
kDensityLow,BmpGetBits(bitmapHi),colorTable);
WinDrawBitmap(bitmapHi,x,y);
WinDrawBitmap(bitmapHi3,x,y);

The drawing of the version 2 bitmap works every time, but the drawing of the
version 3 bitmap causes a spontanious soft reset about half the time on my
Tungsten T PalmOS 5.0.

Its not something I can replicate with the simulator, in the real code I
check all the returns and each function says it was successfull, and it
happens even with a low density V3 bitmap as above, although eventually I
want double density.

My bitmaps are large (320x180), are 4bpp, and are drawn partially outside
the screen with a clipping rectangle on screen.

Anyone had any similar troubles? Is it a known bug? Are there any known
workarounds or size limits?

Any help would be very much appreciated, I'm tearing my hair out at the
moment.
Ludovic Drolez
2003-07-08 07:40:04 UTC
Permalink
Post by jms
The drawing of the version 2 bitmap works every time, but the drawing of the
version 3 bitmap causes a spontanious soft reset about half the time on my
Tungsten T PalmOS 5.0.
It does not surprise me at all... I have so much problems with OS 5.0...
I'm trying to find a work around for events corrupted when calling Srm*
functions !

We should all send emails to palm.com to say we *need* an OS 5.2 update
for the tungsten !


Cheers,

Ludo.
--
www.palmopensource.com - The PalmOS open source portal
www.drolez.com - Personal site
Loading...