summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-09-28 14:21:35 -0400
committerJerome Glisse <[email protected]>2010-09-28 14:24:18 -0400
commitfe790a3c346b5edb8b64cfc937b0d5cd9e337412 (patch)
treed96fe563a33c74d51ce47ddc52c3f8451a0db05c /src/gallium/winsys
parent11eb422a161153da6226042d0fea561161e4f292 (diff)
r600g: suspend/resume occlusion query around clear/copy
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/r600/drm/r600_state2.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_state2.c b/src/gallium/winsys/r600/drm/r600_state2.c
index 97aecc7a42c..779138656a6 100644
--- a/src/gallium/winsys/r600/drm/r600_state2.c
+++ b/src/gallium/winsys/r600/drm/r600_state2.c
@@ -61,9 +61,6 @@ void radeon_bo_reference(struct radeon *radeon,
unsigned radeon_ws_bo_get_handle(struct radeon_ws_bo *pb_bo);
-/* queries */
-static void r600_context_queries_suspend(struct r600_context *ctx);
-static void r600_context_queries_resume(struct r600_context *ctx);
static int r600_group_id_register_offset(struct r600_context *ctx, unsigned offset)
{
@@ -1292,7 +1289,7 @@ boolean r600_context_query_result(struct r600_context *ctx,
return TRUE;
}
-static void r600_context_queries_suspend(struct r600_context *ctx)
+void r600_context_queries_suspend(struct r600_context *ctx)
{
struct r600_query *query;
@@ -1304,7 +1301,7 @@ static void r600_context_queries_suspend(struct r600_context *ctx)
}
}
-static void r600_context_queries_resume(struct r600_context *ctx)
+void r600_context_queries_resume(struct r600_context *ctx)
{
struct r600_query *query;