Invalidate(x,y,w,h)
Please Login to Remove!
Hey all,
Recently started doing some blackberry development, specifically a game, and have this question (JDE 4.5):
If I do not want to repaint the entire screen, apparently invalidate is supposed to work with regions of the screen vs the entire screen if so desired.
This seems to work, but I cannot seem to "chain" invalidates together.
The reason I want to do this is to do dirty updating of the screen for efficiency reasons, but the implementation of invalidate seems to take the minimum x,y, and maximum x,y and paint the entire region, instead of the single regions I specify. Not sure if that makes sense, but it probably would to someone who has done this before.
Also, is there a way to reliably render to the screen without having to rely on the message pump calling paint?
Cheers,
|