xref: /aosp_15_r20/external/mesa3d/docs/gallium/cso.rst (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1*61046927SAndroid Build Coastguard WorkerCSO
2*61046927SAndroid Build Coastguard Worker===
3*61046927SAndroid Build Coastguard Worker
4*61046927SAndroid Build Coastguard WorkerCSO, Constant State Objects, are a core part of Gallium's API.
5*61046927SAndroid Build Coastguard Worker
6*61046927SAndroid Build Coastguard WorkerCSO work on the principle of reusable state; they are created by filling
7*61046927SAndroid Build Coastguard Workerout a state object with the desired properties, then passing that object
8*61046927SAndroid Build Coastguard Workerto a context. The context returns an opaque context-specific handle which
9*61046927SAndroid Build Coastguard Workercan be bound at any time for the desired effect.
10*61046927SAndroid Build Coastguard Worker
11*61046927SAndroid Build Coastguard Worker.. toctree::
12*61046927SAndroid Build Coastguard Worker   :glob:
13*61046927SAndroid Build Coastguard Worker
14*61046927SAndroid Build Coastguard Worker   cso/*
15