Replies: 1 comment 4 replies
-
Is this with vsync or without vsync? Which example you're testing on? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found that the performance on Metal is quite worse than on GLES with the same code.
I have profiled on XCode,found that the “nextDrawable” (renderer_mtl.mm) call blocks the CPU for about 10ms per frame(just on my game). The API is called by renderThread's submit,while the renderSem has not been posted,so it also blocks the main thread. the CPU has been blocked almost half time per frame.
Is there any way to avoid this CPU block? such as double command queue , or any other good idea?
Beta Was this translation helpful? Give feedback.
All reactions