Sign in to follow this  
greenwire

mdx: pool.default and resizing

Recommended Posts

hi, im having problems with disposing of pool.default vertexbuffers. this happens when i toggle fullscreen. the first couple of times i toggle there is no problem, then any further toggles and performance drops each time, eventually hanging the app. heres a test app. it just draws a single quad on the screen using a pool.default vertexbuffer. press F3 to toggle fullscreen. the first few times will be ok, then it will start hanging. when you quit it will hang on garbage collection. for now i've switched to pool.managed in my app, this fixes the problem since it doesn't have to destroy/create on resize, but means i cant use usage.dynamic or usage.writeonly. i'd still like to know what the problem is tho. theres a few threads around with this same problem, or referring to using pool.default textures. they never get resolved tho. thx, n.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this