diff options
author | José Fonseca <[email protected]> | 2010-02-02 14:43:48 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-02-02 14:43:48 +0000 |
commit | 38f6f23fcf37247fd709d1c612d08bfa9b124e69 (patch) | |
tree | 4cb5cf4a78a1470276cacd562b3c8ecb5112e244 /src/gallium/include/pipe/p_state.h | |
parent | 28486880ca3ec39419ccee0cb1a3bedc9ef7117c (diff) |
gallium: Make pipe_atomic a regular int32_t.
Diffstat (limited to 'src/gallium/include/pipe/p_state.h')
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index f293df57334..9ae096ee3cf 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -43,7 +43,6 @@ #include "p_compiler.h" #include "p_defines.h" #include "p_format.h" -#include "p_refcnt.h" #include "p_screen.h" @@ -66,6 +65,12 @@ extern "C" { #define PIPE_MAX_TEXTURE_LEVELS 16 +struct pipe_reference +{ + int32_t count; /* atomic */ +}; + + /** * The driver will certainly subclass this to include actual memory * management information. |