Re: [Mesa-dev] [PATCH 1/7] cso: add new cso_save/restore_state() functions

2016-02-14 Thread Brian Paul
On 02/13/2016 03:10 PM, Jose Fonseca wrote: On 12/02/16 15:44, Brian Paul wrote: cso_save_state() takes a bitmask of state items to save. Calling cso_restore_state() restores those states. --- src/gallium/auxiliary/cso_cache/cso_context.c | 109 ++ src/gallium/auxilia

Re: [Mesa-dev] [PATCH 1/7] cso: add new cso_save/restore_state() functions

2016-02-13 Thread Jose Fonseca
On 12/02/16 15:44, Brian Paul wrote: cso_save_state() takes a bitmask of state items to save. Calling cso_restore_state() restores those states. --- src/gallium/auxiliary/cso_cache/cso_context.c | 109 ++ src/gallium/auxiliary/cso_cache/cso_context.h | 24 ++ 2 f

[Mesa-dev] [PATCH 1/7] cso: add new cso_save/restore_state() functions

2016-02-12 Thread Brian Paul
cso_save_state() takes a bitmask of state items to save. Calling cso_restore_state() restores those states. --- src/gallium/auxiliary/cso_cache/cso_context.c | 109 ++ src/gallium/auxiliary/cso_cache/cso_context.h | 24 ++ 2 files changed, 133 insertions(+) diff --gi