diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-20 14:44:40 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-20 14:44:40 +0000 |
commit | b35121d54df4bb8700c4135203162c1d79ca637d (patch) | |
tree | 67a66dc27a98705eb2be20ce93d91f25ca722015 /src/mesa/drivers/dri/i965/bufmgr.h | |
parent | 3a5319293c9210ea3c0c9d84604fa0720a96f0e8 (diff) |
1) Add a new flag in the sarea (coopting the unused texAge value) to
identify context switches between members of a share group -
ie. multiple contexts in a single application, possibly on different
threads. In this case the contexts share a bufmgr instance and there
is no need to evict textures - so don't.
2) Use a new flag 'need_flush' to ensure hardware rendering is flushed
prior to starting a software fallback.
Diffstat (limited to 'src/mesa/drivers/dri/i965/bufmgr.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/bufmgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/bufmgr.h b/src/mesa/drivers/dri/i965/bufmgr.h index 83a810cc6d..6932522d3d 100644 --- a/src/mesa/drivers/dri/i965/bufmgr.h +++ b/src/mesa/drivers/dri/i965/bufmgr.h @@ -182,6 +182,8 @@ void bmUnmapBufferAUB( struct intel_context *, int bmValidateBuffers( struct intel_context * ); void bmReleaseBuffers( struct intel_context * ); +GLuint bmCtxId( struct intel_context *intel ); + GLboolean bmError( struct intel_context * ); void bmEvictAll( struct intel_context * ); |