diff options
author | Marek Olšák <[email protected]> | 2011-02-11 07:52:10 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-02-12 03:08:39 +0100 |
commit | df54b53b7d12a3bca5867b6649cb308feb36f0da (patch) | |
tree | 62a94f5682308e8dba045d7cb123c46fef30d420 /src/gallium/winsys/radeon/drm/radeon_winsys.h | |
parent | 20a78b68a3271d7a66fdf1e55c5882b8c12dfb8d (diff) |
r300g: improve function radeon_bo_is_referenced_by_cs
This should prevent calling into radeon_get_reloc when there's
only one context.
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_winsys.h')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_winsys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_winsys.h b/src/gallium/winsys/radeon/drm/radeon_winsys.h index be5614ce3ec..f8a89abcfe4 100644 --- a/src/gallium/winsys/radeon/drm/radeon_winsys.h +++ b/src/gallium/winsys/radeon/drm/radeon_winsys.h @@ -36,6 +36,7 @@ struct radeon_drm_winsys { struct r300_winsys_screen base; int fd; /* DRM file descriptor */ + int num_cs; /* The number of command streams created. */ struct pb_manager *kman; struct pb_manager *cman; |