PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Using high-res devices in low-res mode?

Is it possible to get a low-res (320x240) backbuffer surface from PocketHAL on a high-res (640x480) device?

Right now i do the pixel doubling in my code but i guess it would be faster if PocketHAL did this when blitting the final image into video memory rather than blitting a high-res image that i upscaled before...

thanks,
Daniel
If you remove the high res aware flag from your resources, I think it defaults to legacy (240x320) mode. I haven't tried it myself, but I think I recall Thierry saying that.
i don't even have the high-res resource in my files.
that's why i asked...

Daniel
If you don't have the hires flag, then yes, the backbuffer will be 240x320 on VGA Pocket PCs.
In case with high-res flag you mean that ugly high-res resource (that 00-01 thing to add to the application's resources) then no: on the HTC Universal I get a 640x480 buffer without any resources at all...

Daniel