maplibre-gl-js icon indicating copy to clipboard operation
maplibre-gl-js copied to clipboard

Add back synced frame method and use it for triggerRepaint.

Open xabbu42 opened this issue 6 months ago • 4 comments

Launch Checklist

An experimental fix for #4534. With this I can again a capture a single frame with spector.js, as all the rendering is directly done inside the requestAnimationFrame callback.

Unfortunatly tests dont run through but fail after some random point. Probably a race I introduced?

  • [x] Confirm your changes do not include backports from Mapbox projects (unless with compliant license) - if you are not sure about this, please ask!
  • [x] Briefly describe the changes in this PR.
  • [x] Link to related issues.

xabbu42 avatar Aug 10 '24 13:08 xabbu42