i965: Actually hook up the accelerated DrawPixels support.
authorEric Anholt <eric@anholt.net>
Thu, 9 Oct 2008 17:23:47 +0000 (10:23 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 9 Oct 2008 17:23:47 +0000 (10:23 -0700)
src/mesa/drivers/dri/i965/Makefile
src/mesa/drivers/dri/intel/intel_pixel.c
src/mesa/drivers/dri/intel/intel_pixel_draw.c

index 7bc16a02c8cb20b9e3651a587916b1236aaedaef..005460f3547cccf943be024e377cda73698754a4 100644 (file)
@@ -18,8 +18,9 @@ DRIVER_SOURCES = \
        intel_screen.c \
        intel_span.c \
        intel_pixel.c \
-       intel_pixel_copy.c \
        intel_pixel_bitmap.c \
+       intel_pixel_copy.c \
+       intel_pixel_draw.c \
        intel_state.c \
        intel_tex.c \
        intel_tex_copy.c \
index f39fac13cf5b85f5b225a809bdfc17d360c7c407..b267ffd890c76b9fe072e7aa576fe01cbbaacfd2 100644 (file)
@@ -181,9 +181,9 @@ intelInitPixelFuncs(struct dd_function_table *functions)
    if (!getenv("INTEL_NO_BLIT")) {
       functions->Bitmap = intelBitmap;
       functions->CopyPixels = intelCopyPixels;
+      functions->DrawPixels = intelDrawPixels;
 #ifdef I915
       functions->ReadPixels = intelReadPixels;
-      functions->DrawPixels = intelDrawPixels;
 #endif
    }
 }
index be213e7b961b7955df158f6b464c5de74a160bda..b60dad7460198a7e6b10027714bae907c5a47474 100644 (file)
@@ -51,7 +51,6 @@
 #include "intel_regions.h"
 #include "intel_pixel.h"
 #include "intel_buffer_objects.h"
-#include "intel_tris.h"
 
 
 static GLboolean