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!)
Some simple coding techniques to push C# as fast as possible
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="Frodo" data-source="post: 6986" data-attributes="member: 10277"><p>well to solve our performance problems we should batch all direct3d actions</p><p>so that when a frame needs to be rendererd, mp just draws 1 mesh</p><p>todo this we need to batch together all textures & fonts</p><p>So in short</p><p>- instead of having 1 vertex buffer per object, we need to have 1 big vertex buffer</p><p>- instead of calling DrawPrimitive() for every object we need to put them all in 1 mesh and just draw that one</p><p>- minimize any other direct3d calls (state/render changes)</p><p>- check which functions are supported by the card and don't use non-supported functions</p><p></p><p>frodo</p></blockquote><p></p>
[QUOTE="Frodo, post: 6986, member: 10277"] well to solve our performance problems we should batch all direct3d actions so that when a frame needs to be rendererd, mp just draws 1 mesh todo this we need to batch together all textures & fonts So in short - instead of having 1 vertex buffer per object, we need to have 1 big vertex buffer - instead of calling DrawPrimitive() for every object we need to put them all in 1 mesh and just draw that one - minimize any other direct3d calls (state/render changes) - check which functions are supported by the card and don't use non-supported functions frodo [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Some simple coding techniques to push C# as fast as possible
Contact us
RSS
Top
Bottom