summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915/i915_reg.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-23 12:18:50 -0700
committerEric Anholt <eric@anholt.net>2008-05-23 12:18:50 -0700
commita74bf4ef345d880d7d296313fed0240781d2ebd8 (patch)
treef2141f7d3167be5cec23069bf68dc2d58d7a8a81 /src/mesa/drivers/dri/i915/i915_reg.h
parent6cefae5354fb3015c5a14677071871613faa9c3a (diff)
Emit a flush after the swapbuffers blit, so contents end up on the screen.
Otherwise, since the MI_FLUSH at the end of every batch had been removed, non-automatic-flushing chips (965) wouldn't get flushed and apps with static rendering would get partial screen contents until the server's blockhandler flush kicked in.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i915_reg.h')
-rw-r--r--src/mesa/drivers/dri/i915/i915_reg.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_reg.h b/src/mesa/drivers/dri/i915/i915_reg.h
index b5585e70e79..b718b8610c7 100644
--- a/src/mesa/drivers/dri/i915/i915_reg.h
+++ b/src/mesa/drivers/dri/i915/i915_reg.h
@@ -855,10 +855,4 @@
#define _3DSTATE_DEFAULT_DIFFUSE ((0x3<<29)|(0x1d<<24)|(0x99<<16))
#define _3DSTATE_DEFAULT_SPECULAR ((0x3<<29)|(0x1d<<24)|(0x9a<<16))
-
-#define MI_FLUSH ((0<<29)|(4<<23))
-#define FLUSH_MAP_CACHE (1<<0)
-#define INHIBIT_FLUSH_RENDER_CACHE (1<<2)
-
-
#endif