You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CustomLayerHost Render delegate method is called continuously after double tap zooming.
Open CustomLayerExample.swift and breakpoint in the render method (e.g. line 105) or print something on this line.
Run and open custom layer example
drag map and observe render calls when dragging and stopping when dragging is finished.
now double tap to zoom and observe render calls never end after animation is finished.
Expected behavior
Im not sure what the expected behavior should be. Render calls 60ps or only when it needs to.
I discovered this trying to make a metal node animate and noticed it only works when after double tap zooming. Is there a way to control the frames to make it render continuously as it does when double tapping as above? e.g. control the render by a displayLink?
The text was updated successfully, but these errors were encountered:
Cal-um
changed the title
Inconsistencies in CustomLayerHost Render(parameters:mtlCommandBuffer:mtlRenderPassDescriptor) calls
Inconsistencies in CustomLayerHost render(parameters:mtlCommandBuffer:mtlRenderPassDescriptor) calls
Jun 30, 2021
Environment
Observed behavior and steps to reproduce
CustomLayerHost Render delegate method is called continuously after double tap zooming.
Expected behavior
Im not sure what the expected behavior should be. Render calls 60ps or only when it needs to.
I discovered this trying to make a metal node animate and noticed it only works when after double tap zooming. Is there a way to control the frames to make it render continuously as it does when double tapping as above? e.g. control the render by a displayLink?
The text was updated successfully, but these errors were encountered: