From f806fe7d675b966680a63406167ce37e4f8a1ae8 Mon Sep 17 00:00:00 2001 From: Xiang Haihao Date: Thu, 25 Jun 2009 15:39:32 +0800 Subject: Enable 2D composite on IGDNG This patch enables 2D composite on IGDNG. IGDNG requires new compiled shader programs for Gen5 and some command changes. The most notable is the layout of vertex element has changed, but we tried to keep it as origin to not change shader programs. Also vertex buffer state requires end address of vertex buffer instead of origin max index. Signed-off-by: Zhenyu Wang --- src/i830_uxa.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/i830_uxa.c') diff --git a/src/i830_uxa.c b/src/i830_uxa.c index faf4d5d0..eb35014e 100644 --- a/src/i830_uxa.c +++ b/src/i830_uxa.c @@ -722,14 +722,6 @@ i830_uxa_init (ScreenPtr pScreen) i830->uxa_driver->done_composite = i830_done_composite; } - /* FIXME */ - if (IS_IGDNG(i830)) { - i830->uxa_driver->check_composite = NULL; - i830->uxa_driver->prepare_composite = NULL; - i830->uxa_driver->composite = NULL; - i830->uxa_driver->done_composite = NULL; - } - i830->uxa_driver->prepare_access = i830_uxa_prepare_access; i830->uxa_driver->finish_access = i830_uxa_finish_access; i830->uxa_driver->pixmap_is_offscreen = i830_uxa_pixmap_is_offscreen; -- cgit v1.2.3