Skip to content

iOS: noticeable stutter & frame drop with complex models when touching screen  #387

Closed
@jonklein

Description

Describe the bug
When rendering a somewhat complex scene, touch start and end events trigger a noticeable stutter or frame drop, even if there is no touch handler configured.

To Reproduce
Steps to reproduce the behavior:

  1. With the Playground app in this repo, load a more complex model than the default (https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/2CylinderEngine/glTF/2CylinderEngine.gltf"
  2. Disabled the included touch handing just to ensure it's not related (comment out the call to deviceSourceManager.onDevice)
  3. Run the sample, touch the screen rapidly.
  4. Framerate drops from 60 fps down to 10 fps or below depending on how quickly you tap.

Expected behavior
The rendering should not stutter or drop frame when touches start and end, particularly if there is no user processing.
Other

  • Platform: iOS

edited to add Most noticeable on device, as opposed to simulator.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions