kaboom icon indicating copy to clipboard operation
kaboom copied to clipboard

BUG: drawPolygon and all shape draw methods cause massive FPS drop

Open johnnyrainbow opened this issue 1 year ago • 0 comments

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.

johnnyrainbow avatar Sep 09 '23 12:09 johnnyrainbow