summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen6_depthstencil.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-06-07 09:52:57 -0700
committerEric Anholt <eric@anholt.net>2010-06-08 13:42:02 -0700
commit34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e (patch)
tree0d0a246b981cc60fc70d6cf6103b05d0df045c23 /src/mesa/drivers/dri/i965/gen6_depthstencil.c
parent22409756d4ed941f2ec6729ab0c312149749106f (diff)
downloadexternal_mesa3d-34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e.zip
external_mesa3d-34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e.tar.gz
external_mesa3d-34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e.tar.bz2
intel: Change dri_bo_* to drm_intel_bo* to consistently use new API.
The slightly less mechanical change of converting the emit_reloc calls will follow.
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_depthstencil.c')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_depthstencil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_depthstencil.c b/src/mesa/drivers/dri/i965/gen6_depthstencil.c
index 4924f0f..d9eca9a 100644
--- a/src/mesa/drivers/dri/i965/gen6_depthstencil.c
+++ b/src/mesa/drivers/dri/i965/gen6_depthstencil.c
@@ -77,12 +77,12 @@ depth_stencil_state_populate_key(struct brw_context *brw,
/**
* Creates the state cache entry for the given DEPTH_STENCIL_STATE state key.
*/
-static dri_bo *
+static drm_intel_bo *
depth_stencil_state_create_from_key(struct brw_context *brw,
struct brw_depth_stencil_state_key *key)
{
struct gen6_depth_stencil_state ds;
- dri_bo *bo;
+ drm_intel_bo *bo;
memset(&ds, 0, sizeof(ds));
@@ -143,7 +143,7 @@ prepare_depth_stencil_state(struct brw_context *brw)
depth_stencil_state_populate_key(brw, &key);
- dri_bo_unreference(brw->cc.depth_stencil_state_bo);
+ drm_intel_bo_unreference(brw->cc.depth_stencil_state_bo);
brw->cc.depth_stencil_state_bo = brw_search_cache(&brw->cache,
BRW_DEPTH_STENCIL_STATE,
&key, sizeof(key),