A method, apparatus, and system are described for processing an operation
code (op-code) to be transmitted over a data path of a graphics pipeline.
If the op-code comprises context state information for a first graphics
context, then the context state information is transmitted to registers in
the graphics pipeline over the graphics pipeline data path. If the op-code
comprises a save state command, then context state information in the
registers is retrieved and transmitted from the registers to a
preallocated region of a frame buffer over the same graphics pipeline data
path. If the op-code comprises a restore/load state command, then new
context state information is loaded. Context state information for a
second context can then be loaded on the graphics pipeline data path to
restore or process a new context.
Eine Methode, ein Apparat und ein System werden für die Verarbeitung eines über einen Datenweg einer Graphikrohrleitung übertragen zu werden Operationscodes (OP-Code) beschrieben. Wenn der OP-Code Kontextzustandinformationen für einen ersten Graphikkontext enthält, dann werden die Kontextzustandinformationen Registern in der Graphikrohrleitung über dem Graphikrohrleitung-Datenweg übermittelt. Wenn der OP-Code einen Sicherungszustandbefehl enthält, dann werden Kontextzustandinformationen in den Registern zurückgeholt und von den Registern einer zugeteilten Region eines Bildspeicherüberschusses den gleichen Graphikrohrleitung-Datenweg übermittelt. Wenn der OP-Code einen restore/load Zustandbefehl enthält, dann werden neue Kontextzustandinformationen geladen. Kontextzustandinformationen für einen zweiten Kontext können auf dem Graphikrohrleitung-Datenweg dann geladen werden, um einen neuen Kontext wieder herzustellen oder zu verarbeiten.