I’m trying to figure out a way to draw to a half-sized screen resolution and then scaling x2 and drawing. This is to speed up rendering to get a better frames per second. Any ideas?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
SurfaceHolder.setFixedSize(int width, int height).A call to this method will make your application fill the number of pixels you put in as arguments and then it will scale it up on the screen. This basically means you are filling fewer pixels but it will still render on the whole screen.