I'm asking because I have the suspicion my Firefox is not using hardware acceleration, at least not properly. In my case, it reaches roughly 30 fps.
I'm asking because I have the suspicion my Firefox is not using hardware acceleration, at least not properly. In my case, it reaches roughly 30 fps.
For Chrome, go to chrome:gpu
For any of them, note that Windows may update the GPU driver a bit after startup and it disables GPU acceleration of open browsers until they're restarted.
HW_COMPOSITING says "unavailable by default: Hardware compositing is disabled", and OPENGL_COMPOSITING something similar. This corresponds with my experience of jumpy scrolling and Youtube making the the fans go berserk.
But apparently, WebGL isn't affected by this and performs okay.
Output:
Using WebGL ver: 1
Warning: No color buffer floats. Water will look bad. Try Chrome >= 64.~50 fps (Chrome, Linux, i7 8th gen kaby). but I'm on battery mode and not sure which power saving features are active.
There might still be optimizations I can make and I could add more configuration settings for texture sizes.
How does http://madebyevan.com/webgl-water/ look in comparison? Is it smooth? Most of my water code is copied from his version.
What's your OS and browser?
Error: WebGL: texImage2D: Conversion requires pixel reformatting.
Firefox 52.6 ESR on Windows 7, on a beefy ThinkPad W541.