diff options
author | Brian Paul <brianp@vmware.com> | 2010-04-18 17:44:25 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-04-18 18:02:42 -0600 |
commit | 073048c872ea5893ad0c39b32ca171893c17148b (patch) | |
tree | 4ad68f8035be45e14a1b14132b27e657b0b86521 /src/mesa | |
parent | ef9a619ba9c49e27ac3fd1c2925ae6b288cd4a09 (diff) | |
download | external_mesa3d-073048c872ea5893ad0c39b32ca171893c17148b.zip external_mesa3d-073048c872ea5893ad0c39b32ca171893c17148b.tar.gz external_mesa3d-073048c872ea5893ad0c39b32ca171893c17148b.tar.bz2 |
st/mesa: s/st_renderbuffer_get_sampler_view/st_get_renderbuffer_sampler_view/
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_blit.c | 4 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_cb_fbo.c | 2 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_cb_fbo.h | 2 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/state_tracker/st_cb_blit.c b/src/mesa/state_tracker/st_cb_blit.c index 32c9a63..5456fb8 100644 --- a/src/mesa/state_tracker/st_cb_blit.c +++ b/src/mesa/state_tracker/st_cb_blit.c @@ -146,7 +146,7 @@ st_BlitFramebuffer(GLcontext *ctx, struct st_renderbuffer *dstRb = st_renderbuffer(drawFB->_ColorDrawBuffers[0]); struct pipe_surface *srcSurf = srcRb->surface; - struct pipe_sampler_view *srcView = st_renderbuffer_get_sampler_view(srcRb, pipe); + struct pipe_sampler_view *srcView = st_get_renderbuffer_sampler_view(srcRb, pipe); struct pipe_surface *dstSurf = dstRb->surface; util_blit_pixels(st->blit, @@ -182,7 +182,7 @@ st_BlitFramebuffer(GLcontext *ctx, if ((mask & depthStencil) == depthStencil && srcDepthSurf == srcStencilSurf && dstDepthSurf == dstStencilSurf) { - struct pipe_sampler_view *srcView = st_renderbuffer_get_sampler_view(srcDepthRb, pipe); + struct pipe_sampler_view *srcView = st_get_renderbuffer_sampler_view(srcDepthRb, pipe); /* Blitting depth and stencil values between combined * depth/stencil buffers. This is the ideal case for such buffers. diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index 728285f..67b9322 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -542,7 +542,7 @@ void st_init_fbo_functions(struct dd_function_table *functions) } struct pipe_sampler_view * -st_renderbuffer_get_sampler_view(struct st_renderbuffer *rb, +st_get_renderbuffer_sampler_view(struct st_renderbuffer *rb, struct pipe_context *pipe) { if (!rb->sampler_view) { diff --git a/src/mesa/state_tracker/st_cb_fbo.h b/src/mesa/state_tracker/st_cb_fbo.h index 5f11a7c..beb26ab 100644 --- a/src/mesa/state_tracker/st_cb_fbo.h +++ b/src/mesa/state_tracker/st_cb_fbo.h @@ -74,7 +74,7 @@ extern void st_init_fbo_functions(struct dd_function_table *functions); extern struct pipe_sampler_view * -st_renderbuffer_get_sampler_view(struct st_renderbuffer *rb, +st_get_renderbuffer_sampler_view(struct st_renderbuffer *rb, struct pipe_context *pipe); diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index d12c5b6..245489c 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -1624,7 +1624,7 @@ st_copy_texsubimage(GLcontext *ctx, } util_blit_pixels_writemask(ctx->st->blit, strb->surface, - st_renderbuffer_get_sampler_view(strb, pipe), + st_get_renderbuffer_sampler_view(strb, pipe), srcX, srcY0, srcX + width, srcY1, dest_surface, |