summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/bufmgr.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2006-09-08 10:36:32 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2006-09-08 10:36:32 +0000
commit02df36f394da4f699b4841c279a6b573fcb7c32b (patch)
tree0c1885a25d16c1897d7de494c02b422b479932ab /src/mesa/drivers/dri/i965/bufmgr.h
parenta5e73e68878ebed7347532285019befc8c7b1106 (diff)
Basic facility for playing back captured aubfiles. Requires a small
hack to the drm to disable command verification on the cmd_buffer ioctl. Doesn't exactly replay as commands are normally delivered as batchbuffers but are captured and replayed as commands on the ring.
Diffstat (limited to 'src/mesa/drivers/dri/i965/bufmgr.h')
-rw-r--r--src/mesa/drivers/dri/i965/bufmgr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/bufmgr.h b/src/mesa/drivers/dri/i965/bufmgr.h
index ab5d56a231..83a810cc6d 100644
--- a/src/mesa/drivers/dri/i965/bufmgr.h
+++ b/src/mesa/drivers/dri/i965/bufmgr.h
@@ -186,6 +186,10 @@ void bmReleaseBuffers( struct intel_context * );
GLboolean bmError( struct intel_context * );
void bmEvictAll( struct intel_context * );
+void *bmFindVirtual( struct intel_context *intel,
+ unsigned int offset,
+ size_t sz );
+
/* This functionality is used by the buffer manager, not really sure
* if we need to be exposing it in this way, probably libdrm will
* offer equivalent calls.