OpenGL context creation and sharing mechanism

Original link:


In Knowledge Planet, a classmate asked how the texture pool was implemented.

Regarding the implementation scheme of the texture pool and the reasons, details and techniques behind it, only a long discussion is enough to discuss it, and this article will not mention it for the time being.

In response to the problem itself, the author found that the student had a misunderstanding of shared resources in OpenGL, and he believed that FBOs could be shared in OpenGL.

In order to correct mistakes and to clarify some basic concepts before using OpenGL, the author specially attaches an old article system to describe the creation and sharing of contexts.

This article is reprinted from:
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment

Your email address will not be published.