diff options
author | Patrice Mandin <pmandin@caramail.com> | 2008-08-28 17:56:55 +0200 |
---|---|---|
committer | Patrice Mandin <pmandin@caramail.com> | 2008-08-28 17:56:55 +0200 |
commit | c80d9c947f72ae603e5096216cb1c9b4e014b840 (patch) | |
tree | 829127f935dc474a0b1e969899bf485713e7b56c | |
parent | f95c4b9f745ae8c750f70bd7396203f4b07e3c2d (diff) |
seems nv30 blit does not need raster_op or clip_rect
-rw-r--r-- | imageblit.c | 8 | ||||
-rw-r--r-- | main.c | 7 |
2 files changed, 7 insertions, 8 deletions
diff --git a/imageblit.c b/imageblit.c index 8537d8a..e83e43e 100644 --- a/imageblit.c +++ b/imageblit.c @@ -16,12 +16,12 @@ void imageblit_init(void) BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_SURFACE, 1); OUT_RING(NvCtxSurf2D); - BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_CLIP_RECTANGLE, 1); - OUT_RING(NvClipRect); + /*BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_CLIP_RECTANGLE, 1); + OUT_RING(NvClipRect);*/ BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_PATTERN, 1); OUT_RING(NvImagePattern); - BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_ROP, 1); - OUT_RING(NvRasterOp); + /*BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_ROP, 1); + OUT_RING(NvRasterOp);*/ FIRE_RING(); } @@ -35,13 +35,12 @@ int main(int argc, char **argv) /*test_nops();*/ - clip_rectangle_init(); context_surface_2d_init(); image_pattern_init(); - raster_op_init(); + /*clip_rectangle_init(); + raster_op_init();*/ imageblit_init(); - /* FIXME: this does not work */ imageblit_copy(viewport_x,viewport_y, viewport_x+(viewport_w>>2),viewport_h+(viewport_h>>2), viewport_w>>2, viewport_h>>2 @@ -49,7 +48,7 @@ int main(int argc, char **argv) /* mandatory, or we get PFIFO_CACHE_ERROR */ tcl_init(); - /*tcl_clear();*/ + tcl_clear(); /* FIXME: none work atm */ tcl_triangle_fixed(); |