Summary

In this chapter we have covered the topic of CL-GL interoperation. After giving a brief description of OpenGL, we defined OpenCL-OpenGL interoperation and the required steps of implementation (including detection of interoperation support, initializing OpenCL context for OpenGL interoperation, mapping of Buffer (CL and GL), synchronization techniques, and then using the Texture and Renderbuffer objects of OpenGL). In the following chapter we will discuss application of OpenCL in some algorithms from various fields such as statistics, machine learning, and so on.

Get OpenCL Programming by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.