home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
WMP - Visualisations when fullscreen
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="bigj" data-source="post: 21355" data-attributes="member: 10940"><p>I dusted off my mpviz code the weekend - this is a test visualisation I wrote a while back for WMP.</p><p></p><p>I took another look at the paths taken during rendering - trying to understand why MP fullscreen is slow.</p><p>There are two paths supported in the viz as I've written it:</p><p></p><p>a) GetDC/GDI bitblt D3D texture to HDC.</p><p>b) Native D3D present (either fullscreen flipped or windowed-copy).</p><p></p><p>I believe MP is taking path a) - I need to check, not at dev PC right now, but the fact it scales so badly with resolution indicates it's not accelerated.</p><p>The GetDC/BitBlt is not a good path, I added it for completeness - interestingly, WMP - as a standalone player - only takes this path when using non-square (as in 'masked') skins. These tend to be small views so work fine.</p><p></p><p>My interest in writing a Viz in the first place was to experiment with a fully accelerated implementation - using D3D/pixel shaders should allow hi-res and high-fps visualisation. Longer term I was hoping to have something usable with MediaPortal which is why I'm pursuing this here.</p><p></p><p>Some numbers from memory:</p><p></p><p>MP:</p><p> Minimised window = 25fps</p><p> Maximised window (X) = 8fps</p><p> (path a suspect - To be confirmed)</p><p></p><p>WMP:</p><p> Fullscreen (path b) 60fps - capped by vsync so possibly much more.</p><p></p><p>Is there anyway of ensuring the code use b)...?</p><p></p><p>...I see there is a player.fullscreen member for embedded WMP.</p><p>Is or can this be set when moving to fullscreen?</p><p>Also the MP GUI system should be disabled to prevent any unecessary overdraw or negative interaction.</p><p></p><p>I'd have a go myself but I'm no C#/.net programmer - at least I don't have the required tools. Is there a 'freeware' route to compiling the source?</p><p></p><p>Regards,</p><p>BigJ.</p></blockquote><p></p>
[QUOTE="bigj, post: 21355, member: 10940"] I dusted off my mpviz code the weekend - this is a test visualisation I wrote a while back for WMP. I took another look at the paths taken during rendering - trying to understand why MP fullscreen is slow. There are two paths supported in the viz as I've written it: a) GetDC/GDI bitblt D3D texture to HDC. b) Native D3D present (either fullscreen flipped or windowed-copy). I believe MP is taking path a) - I need to check, not at dev PC right now, but the fact it scales so badly with resolution indicates it's not accelerated. The GetDC/BitBlt is not a good path, I added it for completeness - interestingly, WMP - as a standalone player - only takes this path when using non-square (as in 'masked') skins. These tend to be small views so work fine. My interest in writing a Viz in the first place was to experiment with a fully accelerated implementation - using D3D/pixel shaders should allow hi-res and high-fps visualisation. Longer term I was hoping to have something usable with MediaPortal which is why I'm pursuing this here. Some numbers from memory: MP: Minimised window = 25fps Maximised window (X) = 8fps (path a suspect - To be confirmed) WMP: Fullscreen (path b) 60fps - capped by vsync so possibly much more. Is there anyway of ensuring the code use b)...? ...I see there is a player.fullscreen member for embedded WMP. Is or can this be set when moving to fullscreen? Also the MP GUI system should be disabled to prevent any unecessary overdraw or negative interaction. I'd have a go myself but I'm no C#/.net programmer - at least I don't have the required tools. Is there a 'freeware' route to compiling the source? Regards, BigJ. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
WMP - Visualisations when fullscreen
Contact us
RSS
Top
Bottom