Posts: 183
Joined: Jul 2012
Reputation:
3
Good to know. TheUni gave me a couple ideas on what to do for the render stuff last night on IRC. I am working on integrating the bits now.
The big trick is figuring out what events are fired (from what I can tell none in the native activity) when the bar shows/hides so I can make sure I can poke the renderer at the right time and get it to change the resolution.
Posts: 183
Joined: Jul 2012
Reputation:
3
At least there is a work around.
My fun discovery of tonight: the action bar showing/hiding doesn't seem to fire the onWindowResized method or any of the other window related on methods that are in CXBMCApp. I now likely have to screw about and setup an OnSystemUIVisibilityChangeListener to get resizing to fire properly.
However, I need the auto-resolution stuff working first. Calling CApplicationMessenger::Get().DestroyDisplay() and CApplicationMessenger::Get().SetupDisplay(); following the hide/show action bar calls is causing seg faults.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
2013-01-30, 07:51
(This post was last modified: 2013-01-30, 07:51 by davilla.)
Size and position of view window which includes any calibration adjustments. CAMLPlayer uses it to size the video playback correctly since it's rendered on a plane behind GLES. We get a DestRect but need to know the relation of that to how the GUI is shown so we can show it in the right place.
What you might do is log various g_windowing vars while diddling with ODS zoom/pixel ratio, that will show you what is being changed.
Posts: 163
Joined: Jan 2005
Reputation:
3
manxam
Senior Member
Posts: 163
Droshi, I referenced that in page 2 of this thread and I believe that is what's being used for this. The issue *I believe* is the way that XBMC android draws the screen as it uses a different render mechanism (non-native??) than the likes of MX player etc..
Posts: 36
Joined: Oct 2010
Reputation:
0
droshi
Junior Member
Posts: 36
Ah I understand. I can see the problem myself as well. If you launch XBMC and then manually hide the nav bar it does the same where the resolution doesn't change.
Sorry for not reading the whole thread, it was unclear who was working on this and what the current progress was.
Keep up the good work!
Posts: 141
Joined: Jan 2013
Reputation:
0
2013-03-03, 21:50
(This post was last modified: 2013-03-03, 21:50 by CruNcher.)
Add RockChips Player to Fullscreen capable