We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I built a P5Js app that runs full screen on an android tablet. When running it gets around 20fps maximum, sadly.
Once I connect the tablet to chrome dev tools though (over usb), I am able to get the frame rate up to 60fps for no apparent reason. If I use the "remote devices" tool and press the "refresh" button on the chrome developer tools, It greatly speeds up the performance of the chrome tablet and P5 application. If I refresh using the native android browser button, the speeds revert back to 12-15fps.
Does anyone know why this is? A friend suggested that the android tablet needs it's gpu to be accelerated in order to attain those speeds and that the chrome development tools forced the GPU to activate.
I turned on the FPS meter and GPU rendering visualizer that appears on the tablets screen corner. It shows "GPU Raster - Off (Viewport)" When the tablet has refreshed using it's browser button I can also see how much GPU memory is being used. (48mb/256mb MAX) When the Chrome Remote Dev Tools refreshes the page I do not see the GPU memory viewer.
Is it possible that Chrome Dev Tools is offloading the GPU rendering or memory onto my laptop instead and speeding up the tablet? This would be strange because the speed improvements gained after refreshing chrome dev tools persist even after unplugging the tablet from the dev computer.
Does anyone know how to attain the 60FPS speeds that I am able to get while connected to dev tools? This is a strange bug and I am not sure where to look for a solution.