Original Post
Hey!
I plan on rewriting my (small) voxel renderer in OpenCL. I have seen several examples where OpenCL and graphics are combined using OpenGL or D3D "interop". I plan on doing everything graphics related in OpenCL and to make things easier I want to use OpenCL only. What is the correct method to draw things to a window? Do I send the results from a single frame back to the host application and then blit it to the screen? Im not looking for window system specific code but examples could still be helpful.
I plan on rewriting my (small) voxel renderer in OpenCL. I have seen several examples where OpenCL and graphics are combined using OpenGL or D3D "interop". I plan on doing everything graphics related in OpenCL and to make things easier I want to use OpenCL only. What is the correct method to draw things to a window? Do I send the results from a single frame back to the host application and then blit it to the screen? Im not looking for window system specific code but examples could still be helpful.