- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is it hard to implement GL_AMD_pinned_memory?
It would be very nice for my game as I need to upload tons of small buffer updates. At the moment, I call glMapBufferRange(unsync) for every buffer update, but this command wastes most of the time of my gpu thread.
I know it is possible for such a GL_STREAM_DRAW buffer to map once and continue on using this pointer after unmapping, so I guess the hardware should be able to do this extension. There is also a _huge_ speedup in this hacky way, but I may never release such a hack...
By the way, uploading all of the update at once wouldn't be easy. I'll usually need to change some states and always call glDraw between two buffer updates. glDraw could be easyly delayed, but as I have to change the state between, It would be hard to delay the state changes.
I've tested my parts on a Sandy Bridge GPU.
Thank you,
Markus
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Markus.
I will find out and get back to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robert,
Thanks for your support.
Has anybody answered?
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Sorry, I found another thread requesting for this feature, so sorry for spam 🙂
http://software.intel.com/en-us/forums/topic/279618 OpenGL - Pinned Memory Transfers | Intel® Developer Zone
(but also without answer)
Markus
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page