summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/main.c b/main.c
index b843482..42284f2 100644
--- a/main.c
+++ b/main.c
@@ -7,6 +7,7 @@
#include "nouveau_class.h"
#include "test_nops.h"
+#include "context_surface_2d.h"
#include "imageblit.h"
#include "tcl_init.h"
#include "tcl_triangle.h"
@@ -33,14 +34,23 @@ int main(int argc, char **argv)
}
/*test_nops();*/
+ clip_rectangle_init();
+ context_surface_2d_init();
imageblit_init();
- /*imageblit_copy(16,16, 100,100, 64, 64);*/
+ /* FIXME: this does not work */
+ /*imageblit_copy(viewport_x,viewport_y,
+ viewport_x+(viewport_w>>2),viewport_h+(viewport_h>>2),
+ viewport_w>>1, viewport_h>>2
+ );*/
+
+ /* mandatory, or we get PFIFO_CACHE_ERROR */
tcl_init();
/*tcl_clear();*/
- tcl_triangle_fixed();
+ /* FIXME: none work atm */
+ /*tcl_triangle_fixed();*/
/*tcl_triangle_vtxattr();*/
printf("coincoin\n");