From: Brian Paul Date: Mon, 16 Jan 2012 17:55:20 +0000 (-0700) Subject: intel: make intel_renderbuffer_map/unmap() static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14da67d9b9b9e30740ef1687c3952a0b5e8b0a54;p=mesa.git intel: make intel_renderbuffer_map/unmap() static --- diff --git a/src/mesa/drivers/dri/intel/intel_span.c b/src/mesa/drivers/dri/intel/intel_span.c index 43b815114ad..d4d3bf970dd 100644 --- a/src/mesa/drivers/dri/intel/intel_span.c +++ b/src/mesa/drivers/dri/intel/intel_span.c @@ -178,7 +178,7 @@ intel_offset_S8(uint32_t stride, uint32_t x, uint32_t y) return u; } -void +static void intel_renderbuffer_map(struct intel_context *intel, struct gl_renderbuffer *rb) { struct gl_context *ctx = &intel->ctx; @@ -206,7 +206,7 @@ intel_renderbuffer_map(struct intel_context *intel, struct gl_renderbuffer *rb) intel_set_span_functions(intel, rb); } -void +static void intel_renderbuffer_unmap(struct intel_context *intel, struct gl_renderbuffer *rb) { diff --git a/src/mesa/drivers/dri/intel/intel_span.h b/src/mesa/drivers/dri/intel/intel_span.h index d546ecd1585..6640e15fcde 100644 --- a/src/mesa/drivers/dri/intel/intel_span.h +++ b/src/mesa/drivers/dri/intel/intel_span.h @@ -35,10 +35,7 @@ extern void intelInitSpanFuncs(struct gl_context * ctx); extern void intelSpanRenderFinish(struct gl_context * ctx); extern void intelSpanRenderStart(struct gl_context * ctx); -void intel_renderbuffer_map(struct intel_context *intel, - struct gl_renderbuffer *rb); -void intel_renderbuffer_unmap(struct intel_context *intel, - struct gl_renderbuffer *rb); + void intel_map_vertex_shader_textures(struct gl_context *ctx); void intel_unmap_vertex_shader_textures(struct gl_context *ctx); bool intel_span_supports_format(gl_format format);