Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个跨平台的 OpenGL 项目,当我尝试在 Windows 中加载它们时,似乎所有共享 GLcontext 的纹理都有问题。有人告诉我,Windows 上旧版本的 OpenGL 不支持此功能,但似乎必须有某种方法可以在 Windows 上的 OpenGL 中共享纹理资源。如果没有办法在 windows 上的 opengl 中的多个对象之间共享纹理,这对于某些应用程序来说将是一个无法忍受的瓶颈,所以我认为这个限制现在必须已经克服。
当然可以。调用使用的方法wglShareLists有点混乱。
wglShareLists
每个上下文仍然有自己的渲染状态等。这仅适用于数据。