Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/9prady9/clglinterop
OpenCL-OpenGL Interop examples
https://github.com/9prady9/clglinterop
c-plus-plus opencl opencl-opengl-interop opengl
Last synced: 3 months ago
JSON representation
OpenCL-OpenGL Interop examples
- Host: GitHub
- URL: https://github.com/9prady9/clglinterop
- Owner: 9prady9
- License: mit
- Created: 2014-06-04T04:32:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-12-15T10:56:17.000Z (about 5 years ago)
- Last Synced: 2024-10-03T12:38:28.474Z (3 months ago)
- Topics: c-plus-plus, opencl, opencl-opengl-interop, opengl
- Language: C
- Size: 152 KB
- Stars: 41
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
### OpenCL-OpenGL Interop Examples
#### Requirements
* CMake (>= 3.16.1)
* OpenCL (>= 1.2)
* GLFW (3.3)More examples will be added progressively. Current list of examples is given below.
* Julia Sets - Julia fractal images are generated using OpenCL and then rendered onto a OpenGL window
using texture(the texture is shared between the OCL and OGL contexts).
Use keys 1-9 to switch between different julia sets.
* Particle Simulation - This is a work in progress, currently it is just random noise changing every
frame. This example uses intermediate buffer to copy data from OpenCL buffer to OpenGL vertex
buffer object.#### Note
All examples are by default built for 64-bit machines. If you have need 32-bit executables, please modify the necessary options and rebuild the source files.