Jump to content
  • Advertisement
Sign in to follow this  
_nomad_

[symbian] fast graphics? how do they do it?

This topic is 4784 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello, any ideas how the guys like http://pockethal.droneship.com/features.html and http://www.gapidraw.com/ can churn out fast graphical output (even faster than possible with symbian SDK?) in symbian? thanks.

Share this post


Link to post
Share on other sites
Advertisement
i personaly dont like direct screen acess at all, getting the framebuffer pointer youself is easier and more pratical imho

you can check how do that with nokia's 3d example code

here i fetched the link for you

Share this post


Link to post
Share on other sites
But I found this frame buffer pointer is NULL in emulator.
And it seems in emulator the RWsSession::Connect() return error too...
I am doing all these in "exe" mode. Are there any way to make these
work on emulator?

Share this post


Link to post
Share on other sites
hm...is it possible to just grab a pointer to the screen? and plot pixels to it ala DOS mode 0x13 style?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Quote:
Original post by _nomad_
hm...is it possible to just grab a pointer to the screen? and plot pixels to it ala DOS mode 0x13 style?


It's possible, but I woudn't recommend it. You will have problem with focus switch. More easy to get the pointer to offscreen bitmap and after that use Direct screen access to blit it to screen. That also solve tearing problem.

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster

It's possible, but I woudn't recommend it. You will have problem with focus switch. More easy to get the pointer to offscreen bitmap and after that use Direct screen access to blit it to screen. That also solve tearing problem.


hmm... seriously i find using DSA harder using TScreenInfoV01 is so much easier, and i havent found focus switch problems, but how the heck it solves tearing?

Share this post


Link to post
Share on other sites
Quote:
Original post by The Alchemist
I but how the heck it solves tearing?


Double buffering solve tearing. Well, I may be off here - I've never encountered tearing, I'm always using double buffering.

Focus problem happens if someone calling you whyle your are playing. If you aren't handling it correctly you will not see phone handle icon on your screen.

Share this post


Link to post
Share on other sites
uh maybe was my bad writting, but i think you missed the point

i know what focus change is, im just saying that theres no problems with focus change since you can catch focus change even without dsa

except that i think that dsa is too messy, truth is, i dont even remenber why i remenber trying dsa few months ago and hating it, specialy after i saw how simply getting the screen buffer was :P

as far i know, tearing in s60 is unavoidable since theres no vsync at all(wtf they were thinking?), and obviusly you need to backbuffer, even if you had vsync rendering to frame buffer would just be stupid

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!