[Mesa-dev] [PATCH 6/7] intel: Reuse intel_flush() in intel_dri2_flush_with_flags().
Eric Anholt
eric at anholt.net
Wed Jan 9 12:42:26 PST 2013
---
src/mesa/drivers/dri/intel/intel_screen.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index e7b7553..4e7a370 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -177,9 +177,6 @@ intel_dri2_flush_with_flags(__DRIcontext *cPriv,
if (!intel)
return;
- if (intel->gen < 4)
- INTEL_FIREVERTICES(intel);
-
if (flags & __DRI2_FLUSH_DRAWABLE)
intel_downsample_for_dri2_flush(intel, dPriv);
@@ -188,8 +185,7 @@ intel_dri2_flush_with_flags(__DRIcontext *cPriv,
intel->need_throttle = true;
}
- if (intel->batch.used)
- intel_batchbuffer_flush(intel);
+ intel_flush(ctx);
if (INTEL_DEBUG & DEBUG_AUB) {
aub_dump_bmp(ctx);
--
1.7.10.4
More information about the mesa-dev
mailing list