Repository navigation
1.25.2
This release draws the map terrain layer on a CPU-backed canvas, because its context asks for willReadFrequently. Firefox on Android draws a default canvas on the GPU. There, a strip of about 250 tile draws costs 48 ms on a Pixel against 2 ms on the CPU canvas, and each strip repaint stalls a pan for 100 to 150 ms. On a Pixel 10a in Firefox 156, a pan of a generated world has no frame over 34 ms after the tile rasters warm up.
About 9 percent of frames still miss one vsync. The copy of the CPU layer onto the map canvas costs about 2 ms on every pan frame, and the first two seconds after a new world still drop frames while the tile rasters fill.