-
It's a difficult one to show, as video doesn't capture it. Compared to Cocos2d-x v4 all large movement (transitions etc) seems to show a lot of tearing. Most noticeably in game when scrolling a full window of a TMX layer. Happens in Windowed or Fullscreen mode. I don't see any tearing on Cocos2d-x This could be connected to my issue with full screen as my iMac is 5120x2880 but running at 2880x1620 I wondered if there is a problem with too big frame buffer, therefore doing too much work, or refresh/fps/vsync issue |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Are you able to use any profiling tools on the Mac? Finding any code hotspots, excessive graphic related calls etc. may help. |
Beta Was this translation helpful? Give feedback.
-
I didn't notice any screen tearing while running it at 2560x1440. Is there a specific part of the app I should be looking at? I was in the map screen, moving it around. |
Beta Was this translation helpful? Give feedback.
It appears to be this...
axmol/core/platform/GLViewImpl.cpp
Lines 524 to 533 in bee2d62
If I set layer.displaySyncEnabled = true then the problem goes away - which makes sense.