summaryrefslogtreecommitdiff
path: root/src/i915_render.c
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2007-05-18 10:10:34 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2007-05-18 10:10:34 +0800
commit4120a20626998272424225261f2cf7960b7ec0ca (patch)
treea9373564cc59d7f125e2029d68d884d4471aeaa9 /src/i915_render.c
parent8db28aeaa6e908017b40bd9180f144a2972f6278 (diff)
EXA: add render enter helper function
That notify mesa rendering is smashing the state, and check last 3d operation to do sync after we're swapped in or others.
Diffstat (limited to 'src/i915_render.c')
-rw-r--r--src/i915_render.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/i915_render.c b/src/i915_render.c
index 5b2ed891..d5a8579a 100644
--- a/src/i915_render.c
+++ b/src/i915_render.c
@@ -315,11 +315,7 @@ i915_prepare_composite(int op, PicturePtr pSrcPicture,
CARD32 dst_format, dst_offset, dst_pitch;
CARD32 blendctl;
-#ifdef I830DEBUG
- ErrorF("Enter i915 prepareComposite\n");
-#endif
-
- pI830->last_3d = LAST_3D_RENDER;
+ i830_enter_render(pScrn);
i915_get_dest_format(pDstPicture, &dst_format);
dst_offset = intel_get_pixmap_offset(pDst);