summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-06-03 16:33:25 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-06-03 16:33:25 +0200
commita6e5c6c000df8655de3b41d5809547bb41c88c23 (patch)
tree7cb9f4c10a1a63b0f73ae50a035fb293d544208b /src/gallium/drivers/i965
parent1e17178fc40b6a1a54cb3e93c098bdd0d490b88a (diff)
gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencil
more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r--src/gallium/drivers/i965/brw_pipe_clear.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gallium/drivers/i965/brw_pipe_clear.c b/src/gallium/drivers/i965/brw_pipe_clear.c
index b7d8cd5890..d5cff338a6 100644
--- a/src/gallium/drivers/i965/brw_pipe_clear.c
+++ b/src/gallium/drivers/i965/brw_pipe_clear.c
@@ -227,11 +227,11 @@ static void brw_clear(struct pipe_context *pipe,
}
/* XXX should respect region */
-static void brw_clearRT(struct pipe_context *pipe,
- struct pipe_surface *dst,
- const float *rgba,
- unsigned dstx, unsigned dsty,
- unsigned width, unsigned height)
+static void brw_clear_render_target(struct pipe_context *pipe,
+ struct pipe_surface *dst,
+ const float *rgba,
+ unsigned dstx, unsigned dsty,
+ unsigned width, unsigned height)
{
struct brw_context *brw = brw_context( pipe );
@@ -241,13 +241,13 @@ static void brw_clearRT(struct pipe_context *pipe,
}
/* XXX should respect region */
-static void brw_clearDS(struct pipe_context *pipe,
- struct pipe_surface *dst,
- unsigned clear_flags,
- double depth,
- unsigned stencil,
- unsigned dstx, unsigned dsty,
- unsigned width, unsigned height)
+static void brw_clear_depth_stencil(struct pipe_context *pipe,
+ struct pipe_surface *dst,
+ unsigned clear_flags,
+ double depth,
+ unsigned stencil,
+ unsigned dstx, unsigned dsty,
+ unsigned width, unsigned height)
{
struct brw_context *brw = brw_context( pipe );
@@ -260,8 +260,8 @@ static void brw_clearDS(struct pipe_context *pipe,
void brw_pipe_clear_init( struct brw_context *brw )
{
brw->base.clear = brw_clear;
- brw->base.clearRT = brw_clearRT;
- brw->base.clearDS = brw_clearDS;
+ brw->base.clear_render_target = brw_clear_render_target;
+ brw->base.clear_depth_stencil = brw_clear_depth_stencil;
}