diff options
author | Brian <[email protected]> | 2008-02-20 13:24:52 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-20 13:24:52 -0700 |
commit | d5640a2dbdc4454d0405f2cd5b18fc49b1ca7694 (patch) | |
tree | 5e0ed97d89f54d9f40c1911f926ead5a65c7e37d /src/gallium/drivers/failover/fo_context.c | |
parent | 1d45787d4a70c55e7fa899d13b9139430e2fa3e2 (diff) |
gallium: new pipe->texture_update() function
Called whenever texture data is changed (glTexImage, glTexSubImage,
glCopyTexSubImage, etc).
Diffstat (limited to 'src/gallium/drivers/failover/fo_context.c')
-rw-r--r-- | src/gallium/drivers/failover/fo_context.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gallium/drivers/failover/fo_context.c b/src/gallium/drivers/failover/fo_context.c index 7ce4a7df17e..156f7399b03 100644 --- a/src/gallium/drivers/failover/fo_context.c +++ b/src/gallium/drivers/failover/fo_context.c @@ -137,15 +137,14 @@ struct pipe_context *failover_create( struct pipe_context *hw, failover_init_state_functions( failover ); -#if 0 - failover->pipe.surface_alloc = hw->surface_alloc; -#endif - failover->pipe.get_tex_surface = hw->get_tex_surface; - failover->pipe.surface_copy = hw->surface_copy; failover->pipe.surface_fill = hw->surface_fill; + failover->pipe.texture_create = hw->texture_create; failover->pipe.texture_release = hw->texture_release; + failover->pipe.texture_update = hw->texture_update; + failover->pipe.get_tex_surface = hw->get_tex_surface; + failover->pipe.flush = hw->flush; failover->dirty = 0; |