Am Freitag, 30. April 2004 18:48 schrieb Stephane Marchesin: > Hi, > > I've been trying to get {read,draw}pixels acceleration for the r100 driver > by adapting existing code from the r200 and adding a temporary dma buffer. > So I've made this little patch to the r200 driver that's supposed to > accelerate drawpixels using dma. However a similar patch doesn't work on my > r100 on ia64. The memory is allocated and freed fine, but the blit seems to > do nothing. I also don't get any error message of any kind. > > Does anyone have some insights on what's happening ?
I get this with current Mesa CVS and DRI CVS for r200: gcc -m32 -c -O -march=athlon-mp -fomit-frame-pointer -fno-unit-at-a-time -mpreferred-stack-boundary=2 -falign-functions=4 -fschedule-insns2 -fexpensive-optimizations -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -pipe -I../../../../../../exports/include/X11 -I../../../../../../include/extensions -I/opt/ Mesa/src/mesa -I/opt/Mesa/src/mesa/main -I/opt/Mesa/src/mesa/glapi -I/opt/Mesa/src/mesa/shader -I/opt/Mesa/include -I/opt/Mesa/src/mesa/drivers/dri/common -I/opt/Mesa/src/mesa/drivers/dri/r200 -I../../../../../../lib/GL/dri -I../../../../../../exports/include/X11 -I../../../../../../lib/GL/glx -I../../../../../../lib/GL/include -I../../../../../../programs/Xserver/GL/dri -I../../../../../../programs/Xserver/hw/xfree86/ common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I/opt/DRM/shared -I../../../../../../programs/Xserver/hw/ xfree86/drivers/ati -I../../../../../../lib/GL/dri/drm -I../../../../../.. -I../../../../../../exports/include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DUSE_NEW_INTERFACE -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DN OW_ASM -DUSE_SSE_ASM r200_pixel.c r200_pixel.c: In function `r200TryReadPixels': r200_pixel.c:222: Warnung: initialization from incompatible pointer type r200_pixel.c: In function `do_draw_pix': r200_pixel.c:295: Warnung: initialization from incompatible pointer type r200_pixel.c: In function `r200TryDrawPixels': r200_pixel.c:437: error: storage size of `region' isn't known r200_pixel.c:439: Warnung: implicit declaration of function `radeonAllocDmaRegio n' r200_pixel.c:444: Warnung: implicit declaration of function `radeonReleaseDmaReg ion' r200_pixel.c:437: Warnung: unused variable `region' make[6]: *** [r200_pixel.o] Fehler 1 Cheers, Dieter ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel