diff options
author | Matt Turner <[email protected]> | 2017-05-17 15:44:30 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-06-06 11:47:46 -0700 |
commit | 925a4222f29dcf4e238a875dbd129f831c037bea (patch) | |
tree | 1a9c7f233d312ae56d62bd4215033b34e26fb4d3 /src/mesa/drivers/dri/i965/intel_buffer_objects.c | |
parent | 3d1530d3e84ed5ac9c1a1ff8d2db9aef34503250 (diff) |
i965: Rename brw_bo_map() -> brw_bo_map_cpu()
I'm going to make a new function named brw_bo_map() in a later patch
that is responsible for choosing the mapping type, so this patch clears
the way.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_buffer_objects.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_buffer_objects.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_buffer_objects.c b/src/mesa/drivers/dri/i965/intel_buffer_objects.c index be9a2b54c6d..090a38cd392 100644 --- a/src/mesa/drivers/dri/i965/intel_buffer_objects.c +++ b/src/mesa/drivers/dri/i965/intel_buffer_objects.c @@ -390,8 +390,8 @@ brw_map_buffer_range(struct gl_context *ctx, alignment); void *map; if (brw->has_llc) { - map = brw_bo_map(brw, intel_obj->range_map_bo[index], - (access & GL_MAP_WRITE_BIT) != 0); + map = brw_bo_map_cpu(brw, intel_obj->range_map_bo[index], + (access & GL_MAP_WRITE_BIT) != 0); } else { map = brw_bo_map_gtt(brw, intel_obj->range_map_bo[index]); } @@ -411,7 +411,7 @@ brw_map_buffer_range(struct gl_context *ctx, map = brw_bo_map_gtt(brw, intel_obj->buffer); mark_buffer_inactive(intel_obj); } else { - map = brw_bo_map(brw, intel_obj->buffer, (access & GL_MAP_WRITE_BIT) != 0); + map = brw_bo_map_cpu(brw, intel_obj->buffer, (access & GL_MAP_WRITE_BIT) != 0); mark_buffer_inactive(intel_obj); } |