summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-02-02 14:43:48 +0000
committerJosé Fonseca <[email protected]>2010-02-02 14:43:48 +0000
commit38f6f23fcf37247fd709d1c612d08bfa9b124e69 (patch)
tree4cb5cf4a78a1470276cacd562b3c8ecb5112e244 /src/gallium/winsys
parent28486880ca3ec39419ccee0cb1a3bedc9ef7117c (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.c2
-rw-r--r--src/gallium/winsys/drm/vmware/core/vmw_surface.h4
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 e8b58742ab7..e7622766b82 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 340cc1532e0..718c38767b3 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;