- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am experiencing a problem with sharing a buffer between openCL and openGL.
I have a simple OpenGL application that renders into an offscreen FBO. I then have openCL code that captures the FBO contents using clCreateFromGLRenderbuffer and then post-processes the captured image. When I call clCreateFromGLRenderbuffer, the contents of the FBO get corrupted. I have verified this by using glBlitFramebuffer() to view the FBO contents.
After experiencing this problem, I wanted to determine whether or not this was a bug in my code. So, I ported the code to use the AMD opencl sdk (running on a different machine, with an AMD GPU), and it works fine there.
-Alec
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yuri,
I sent you a message with the code that experiences the problem. Let me know if you have any problems reproducing the issue.
-Alec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Yuri. Any suggestions on a work-around?
-Alec

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page