summaryrefslogtreecommitdiff
path: root/src/i830_uxa.c
diff options
context:
space:
mode:
authorXiang Haihao <haihao.xiang@intel.com>2009-06-25 15:39:32 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2009-06-30 11:12:12 +0800
commitf806fe7d675b966680a63406167ce37e4f8a1ae8 (patch)
tree794771a7f5ac56760dcd09c3d3739dae8c7d85c8 /src/i830_uxa.c
parent9fb34012f667e37f480085696ef9c2632d6eb7e1 (diff)
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 <zhenyuw@linux.intel.com>
Diffstat (limited to 'src/i830_uxa.c')
-rw-r--r--src/i830_uxa.c8
1 files changed, 0 insertions, 8 deletions
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;