To split OpenGL objects between different contexts (supposedly running on different threads), we use wglShareLists () for Windows. How is this done for Linux? Does the glx API have such things?
To do this in GLX, you will pass the context descriptor you want to share the resources in your call to glXCreateContext (...) or glXCreateNewContext (...) . It really is that simple, instead of having a special API function for this purpose in GLX, it is built into the function that you use to create the context.
glXCreateContext (...)
glXCreateNewContext (...)
Source: https://habr.com/ru/post/1502877/More articles:Hibernate Validator and Jackson: using @JsonProperty as a ConstraintViolation PropertyPath? - jacksonUsing Jackson, how can I get a list of known JSON properties for any arbitrary pojo class? - javaParsing a web page with Jsoup. Why is the behavior on Android different? - javaIs it possible to run an iOS program as a static library? - pythonHow to get a list of class properties when Jackson examines it? - javaBootstrap Modal only shows up once when I use bindHandler - twitter-bootstrapjava makefile dont execute the execute command - javaPython 2 Xcode cross-compilation issue: kivy-ios distribution error - gccPrinting hexadecimal values ββin x86 assembly - assemblyHow to load a model in _Layout.cshtml and share it with different views? - asp.net-mvcAll Articles