From b35121d54df4bb8700c4135203162c1d79ca637d Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Wed, 20 Sep 2006 14:44:40 +0000 Subject: 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. --- src/mesa/drivers/dri/i965/brw_draw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/dri/i965/brw_draw.c') diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index cd821b9045..e476b18cea 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -328,6 +328,7 @@ static GLboolean brw_try_draw_prims( GLcontext *ctx, brw_emit_prim(brw, &prim[i]); } + intel->need_flush = GL_TRUE; retval = GL_TRUE; } -- cgit v1.2.3