|
Valkka
0.17.0
OpenSource Video Management
|
Call structure for some GLX and OpenGL calls
SlotContext manages textures:
Several RenderContext instances (i.e. mappings) can refer to the same SlotContext.
This way we can map the same texture into several x-windows and also into "picture-in-picture" schemes. Let's state this idea graphically:
*
*
*
* (RenderGroup 1 = x window 1)
* +------------+
* |+-----+ |
* || | | ("map slot 1 to RenderGroup 1")
* +--- RenderContext---->| | |
* | |+-----+ |
* SlotContext -----+ +------------+
* |
* | +------------+
* +-- RenderContext---->| | ("map slot 1 to RenderGroup 2")
* | |
* | |
* | |
* +------------+
* (RenderGroup 2 = x window 2)
*
*
1.8.13