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 7bc16a0..005460f 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 f39fac1..b267ffd 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 be213e7..b60dad7 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