"Fossies" - the Fresh Open Source Software Archive

Member "mesa-20.1.8/src/gallium/docs/source/cso.rst" (16 Sep 2020, 376 Bytes) of package /linux/misc/mesa-20.1.8.tar.xz:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.


CSO, Constant State Objects, are a core part of Gallium's API.

CSO work on the principle of reusable state; they are created by filling out a state object with the desired properties, then passing that object to a context. The context returns an opaque context-specific handle which can be bound at any time for the desired effect.