diff options
author | Eric Anholt <eric@anholt.net> | 2008-08-08 13:13:46 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-08-08 13:58:29 -0700 |
commit | 46e9274e8538e5b0517f611dca99dde611f4e95d (patch) | |
tree | bd2dac93efeb25aa62d08ea01cd95317ed3d116a /libdrm/dri_bufmgr.h | |
parent | 5968e061db90451b19c3948bbd91c6d5ac9af941 (diff) |
Replace the check_aperture API with one we can make thread-safe.
While the bufmgr isn't thread-safe at the moment, we need it to be for shared
objects between contexts.
Diffstat (limited to 'libdrm/dri_bufmgr.h')
-rw-r--r-- | libdrm/dri_bufmgr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdrm/dri_bufmgr.h b/libdrm/dri_bufmgr.h index a5ae6c0f..e67756bb 100644 --- a/libdrm/dri_bufmgr.h +++ b/libdrm/dri_bufmgr.h @@ -146,7 +146,7 @@ struct _dri_bufmgr { void (*post_submit)(dri_bo *batch_buf); - int (*check_aperture_space)(dri_bo *bo); + int (*check_aperture_space)(dri_bo **bo_array, int count); int debug; /**< Enables verbose debugging printouts */ }; @@ -169,6 +169,6 @@ void dri_bufmgr_destroy(dri_bufmgr *bufmgr); void *dri_process_relocs(dri_bo *batch_buf); void dri_post_process_relocs(dri_bo *batch_buf); void dri_post_submit(dri_bo *batch_buf); -int dri_bufmgr_check_aperture_space(dri_bo *bo); +int dri_bufmgr_check_aperture_space(dri_bo **bo_array, int count); #endif |