summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/python
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-06-03 16:33:25 +0200
committerRoland Scheidegger <[email protected]>2010-06-03 16:33:25 +0200
commita6e5c6c000df8655de3b41d5809547bb41c88c23 (patch)
tree7cb9f4c10a1a63b0f73ae50a035fb293d544208b /src/gallium/state_trackers/python
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/state_trackers/python')
-rw-r--r--src/gallium/state_trackers/python/p_context.i26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i
index 6a6da1477cf..0294e769a63 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -447,10 +447,10 @@ error1:
src->texture, subsrc, srcx, srcy, src->zslice, width, height);
}
- void clearRT(struct st_surface *dst,
- float *rgba,
- unsigned x, unsigned y,
- unsigned width, unsigned height)
+ void clear_render_target(struct st_surface *dst,
+ float *rgba,
+ unsigned x, unsigned y,
+ unsigned width, unsigned height)
{
struct pipe_surface *_dst = NULL;
@@ -458,18 +458,18 @@ error1:
if(!_dst)
SWIG_exception(SWIG_ValueError, "couldn't acquire destination surface for writing");
- $self->pipe->clearRT($self->pipe, _dst, rgba, x, y, width, height);
+ $self->pipe->clear_render_target($self->pipe, _dst, rgba, x, y, width, height);
fail:
pipe_surface_reference(&_dst, NULL);
}
- void clearDS(struct st_surface *dst,
- unsigned clear_flags,
- double depth,
- unsigned stencil,
- unsigned x, unsigned y,
- unsigned width, unsigned height)
+ void clear_depth_stencil(struct st_surface *dst,
+ unsigned clear_flags,
+ double depth,
+ unsigned stencil,
+ unsigned x, unsigned y,
+ unsigned width, unsigned height)
{
struct pipe_surface *_dst = NULL;
@@ -477,8 +477,8 @@ error1:
if(!_dst)
SWIG_exception(SWIG_ValueError, "couldn't acquire destination surface for writing");
- $self->pipe->clearDS($self->pipe, _dst, clear_flags, depth, stencil,
- x, y, width, height);
+ $self->pipe->clear_depth_stencil($self->pipe, _dst, clear_flags, depth, stencil,
+ x, y, width, height);
fail:
pipe_surface_reference(&_dst, NULL);