We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I have just installed the AndroidMode and wanted to try porting some programs I made in Java mode. There are a few that process all pixels on screen, which is why I don't use fullscreen resolution on my Desktop. Is there a way I can set a lower resolution on my phone but still using fullscreen? Passing numbers smaller than 'displayWidth' and 'displayHeight' to the size() method will draw a smaller canvas :/
This example program runs at 2FPS on my Samsung Galaxy S7:
Answers
So you want to display something across full screen, but don't process as many pixels?
I propose you render to a separate PGraphics, then use image() to display that PGraphics using displayWidth and displayHeight as the width and height arguments.
That's exactly what I meant. This pixel processing might work when I will use shaders, but with the method used in my example that won't work. Thanks for your answer :)