diff options
author | Keith Whitwell <[email protected]> | 2007-09-17 18:02:46 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-09-17 18:04:03 +0100 |
commit | 5578f8ce3bf349107b04fb0ebb8b8d505bd9424d (patch) | |
tree | 830d46936f3e18f57ed6a110ef876c54eb2b3584 /src/mesa/state_tracker | |
parent | bf92350b5b2c8e14515fb8bbfacd8c06502dfb98 (diff) |
Remove non-meaningful region_idle() interface
This is already handled by the semanics of map(), etc.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 770c8714344..3ae9bd90030 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -705,14 +705,6 @@ st_TexImage(GLcontext * ctx, if (!pixels) return; - - if (stImage->mt) - pipe->region_idle(pipe, stImage->mt->region); - -#if 0 - LOCK_HARDWARE(intel); -#endif - if (stImage->mt) { texImage->Data = st_miptree_image_map(pipe, stImage->mt, @@ -767,10 +759,6 @@ st_TexImage(GLcontext * ctx, } #if 0 - UNLOCK_HARDWARE(intel); -#endif - -#if 0 /* GL_SGIS_generate_mipmap -- this can be accelerated now. */ if (level == texObj->BaseLevel && texObj->GenerateMipmap) { @@ -958,13 +946,6 @@ st_TexSubimage(GLcontext * ctx, if (!pixels) return; - if (stImage->mt) - pipe->region_idle(pipe, stImage->mt->region); - -#if 0 - LOCK_HARDWARE(intel); -#endif - /* Map buffer if necessary. Need to lock to prevent other contexts * from uploading the buffer under us. */ @@ -1004,10 +985,6 @@ st_TexSubimage(GLcontext * ctx, st_miptree_image_unmap(pipe, stImage->mt); texImage->Data = NULL; } - -#if 0 - UNLOCK_HARDWARE(intel); -#endif } |