To replicate: draw a bunch of simple rectangles, or polygons to the screen within onDraw (1000 should be plenty), the FPS will tank massively. No such issue when doing this with other draw methods like drawSprite. Issue occurred in all browsers I tried it on.
To replicate: draw a bunch of simple rectangles, or polygons to the screen within onDraw (1000 should be plenty), the FPS will tank massively. No such issue when doing this with other draw methods like drawSprite. Issue occurred in all browsers I tried it on.
Issue seems clearly to be with drawPolygon.