5,321
edits
Line 264: | Line 264: | ||
==OpenGL Interop== | ==OpenGL Interop== | ||
Setting up OpenCL/OpenGL interop is fairly complicated and very hard to debug. | Setting up OpenCL/OpenGL interop is fairly complicated and very hard to debug. | ||
You will also need to manage synchronizing OpenGL/OpenCL so | You will also need to manage synchronizing OpenGL/OpenCL so they do not access the same memory at the same time. | ||
If you can, just use OpenGL compute shaders rather than OpenCL to simplify your life. | If you can, just use OpenGL compute shaders rather than OpenCL to simplify your life. | ||