Posts: 4
Joined: Jan 2016
Reputation:
0
Video and UI rendered in Render () in Application.cpp. Video will freeze a while when operate UI. Why video render in the same thread with UI? Is it possible to render video in one seperate thread?
If video render in same thread with UI, I have patch to reduce the video freeze duration. My use case is 1080p display. Several big texture shouldn't be freed when video playback. Do you guys need it?
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
Hi Kevin,
we're about to clean up all that mess. AFAIK it was done the way it currently is because it was required on the good old XBOX (one 60fps game loop), where this project originates from. While porting it to other platforms, the core architecture hand't been changed that much and that's the why it still is how it is. But we're about to untangle all that mess now.
We're ofc glad for any suggestion or improvement that can be done, so feel free to either create a pull request with your proposed change or post a link to the related commit in your git repository so that our devs can have a look and discuss the issue/solution with you. Thanks.
Posts: 4
Joined: Jan 2016
Reputation:
0
Yes. The final drawing will be done by a single thread. My current workaround is cache big texture when video playback. The good solution is use another thread for texture loading and heavy loading GUI process. Is there already has those patches?
Posts: 4
Joined: Jan 2016
Reputation:
0
I want patches to fix the issue. Do you have patches to fix the issue? Or I should wait until you merged those fix? When can I got those fix?