summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_texture.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-05-26 11:20:51 +0200
committerJakob Bornecrantz <[email protected]>2008-05-26 13:05:38 +0200
commit791eee64e03c7323c8a8907f54b09a015c046e2f (patch)
treeb4ba054229f449566f0719c0758fc12c4c72f83d /src/gallium/drivers/i915simple/i915_texture.c
parente0fd3449f824ed8eaec49e83a0f90b7fe47e09a6 (diff)
i915: Removed screen sufixes on texture functions
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_texture.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_texture.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gallium/drivers/i915simple/i915_texture.c b/src/gallium/drivers/i915simple/i915_texture.c
index b08385e7db2..df11ba0544c 100644
--- a/src/gallium/drivers/i915simple/i915_texture.c
+++ b/src/gallium/drivers/i915simple/i915_texture.c
@@ -525,8 +525,8 @@ i945_miptree_layout(struct i915_texture * tex)
static struct pipe_texture *
-i915_texture_create_screen(struct pipe_screen *screen,
- const struct pipe_texture *templat)
+i915_texture_create(struct pipe_screen *screen,
+ const struct pipe_texture *templat)
{
struct i915_screen *i915screen = i915_screen(screen);
struct pipe_winsys *ws = screen->winsys;
@@ -571,8 +571,8 @@ i915_texture_create_screen(struct pipe_screen *screen,
static void
-i915_texture_release_screen(struct pipe_screen *screen,
- struct pipe_texture **pt)
+i915_texture_release(struct pipe_screen *screen,
+ struct pipe_texture **pt)
{
if (!*pt)
return;
@@ -606,10 +606,10 @@ i915_texture_release_screen(struct pipe_screen *screen,
* XXX note: same as code in sp_surface.c
*/
static struct pipe_surface *
-i915_get_tex_surface_screen(struct pipe_screen *screen,
- struct pipe_texture *pt,
- unsigned face, unsigned level, unsigned zslice,
- unsigned flags)
+i915_get_tex_surface(struct pipe_screen *screen,
+ struct pipe_texture *pt,
+ unsigned face, unsigned level, unsigned zslice,
+ unsigned flags)
{
struct i915_texture *tex = (struct i915_texture *)pt;
struct pipe_winsys *ws = screen->winsys;
@@ -654,8 +654,8 @@ i915_init_texture_functions(struct i915_context *i915)
}
static void
-i915_tex_surface_release_screen(struct pipe_screen *screen,
- struct pipe_surface **surface)
+i915_tex_surface_release(struct pipe_screen *screen,
+ struct pipe_surface **surface)
{
struct pipe_surface *surf = *surface;
@@ -680,8 +680,8 @@ i915_tex_surface_release_screen(struct pipe_screen *screen,
void
i915_init_screen_texture_functions(struct pipe_screen *screen)
{
- screen->texture_create = i915_texture_create_screen;
- screen->texture_release = i915_texture_release_screen;
- screen->get_tex_surface = i915_get_tex_surface_screen;
- screen->tex_surface_release = i915_tex_surface_release_screen;
+ screen->texture_create = i915_texture_create;
+ screen->texture_release = i915_texture_release;
+ screen->get_tex_surface = i915_get_tex_surface;
+ screen->tex_surface_release = i915_tex_surface_release;
}