diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-02-02 14:43:48 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-02-02 14:43:48 +0000 |
commit | 38f6f23fcf37247fd709d1c612d08bfa9b124e69 (patch) | |
tree | 4cb5cf4a78a1470276cacd562b3c8ecb5112e244 /src/gallium/winsys | |
parent | 28486880ca3ec39419ccee0cb1a3bedc9ef7117c (diff) |
gallium: Make pipe_atomic a regular int32_t.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_drm_fence.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/drm/vmware/core/vmw_surface.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_drm_fence.c b/src/gallium/winsys/drm/intel/gem/intel_drm_fence.c index e8b58742ab..e7622766b8 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_drm_fence.c +++ b/src/gallium/winsys/drm/intel/gem/intel_drm_fence.c @@ -1,7 +1,7 @@ #include "intel_drm_winsys.h" #include "util/u_memory.h" -#include "pipe/p_refcnt.h" +#include "pipe/p_atomic.h" /** * Because gem does not have fence's we have to create our own fences. diff --git a/src/gallium/winsys/drm/vmware/core/vmw_surface.h b/src/gallium/winsys/drm/vmware/core/vmw_surface.h index 340cc1532e..718c38767b 100644 --- a/src/gallium/winsys/drm/vmware/core/vmw_surface.h +++ b/src/gallium/winsys/drm/vmware/core/vmw_surface.h @@ -37,7 +37,7 @@ #include "pipe/p_compiler.h" #include "pipe/p_atomic.h" -#include "pipe/p_refcnt.h" +#include "pipe/p_atomic.h" #define VMW_MAX_PRESENTS 3 @@ -45,7 +45,7 @@ struct vmw_svga_winsys_surface { - struct pipe_atomic validated; + int32_t validated; /* atomic */ struct pipe_reference refcnt; struct vmw_winsys_screen *screen; |