Intel ( i845G ) profiling

Daniel Kasak dkasak at nusconsulting.com.au
Tue Mar 11 18:06:47 PDT 2008


On Tue, 2008-03-11 at 11:12 -0700, Eric Anholt wrote:
 
> > If so, the reason we're falling back is because the A8 format (0,0,0,a)
> > is unsupported on that chipset.  But we've got the I8 format which
> > produces (a,a,a,a), and if we're using the a8 picture as a
> > non-component-alpha mask, we'll only use that fourth component.  For a
> > more general implementation, those color channels could be treated as
> > zero by using ARGx_SEL_ONE | ARGx_INVERT when reading them instead of
> > ARGx_SEL_TEXELy.
> 
> Untested patch is up at:
> git://people.freedesktop.org/~anholt/xf86-video-intel i845-render-fix

Cool. Thanks :)

What are the pre-requisites for this branch to build? I've built libdrm,
mesa, xserver, libX11, cairo & pixman from today's git. But building the
i845-render-fix branch of xf86-video-intel I get:

 gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -I/usr/include/xorg -I/usr/include/pixman-1
-I/usr/include/drm -I/usr/include/X11/dri -DI830_XV -DI830_USE_XAA
-DI830_USE_EXA -march=pentium4 -O2 -pipe -g -ftracer -fweb -MT
i830_render.lo -MD -MP -MF .deps/i830_render.Tpo -c i830_render.c  -fPIC
-DPIC -o .libs/i830_render.o
i830_render.c: In function 'i830_check_composite_texture':
i830_render.c:230: warning: unused variable 'pI830'
i830_render.c: In function 'i830_prepare_composite':
i830_render.c:488: error: 'TBOA_ARG1_SEL_TEXEL0' undeclared (first use
in this function)
i830_render.c:488: error: (Each undeclared identifier is reported only
once
i830_render.c:488: error: for each function it appears in.)
i830_render.c:489: error: 'TBOC_ARG1_SEL_TEXEL0' undeclared (first use
in this function)
i830_render.c:491: error: 'TBOA_ARG1_SEL_ONE' undeclared (first use in
this function)
i830_render.c:492: error: 'TBOC_ARG1_SEL_ONE' undeclared (first use in
this function)
i830_render.c:503: error: 'TBOC_ARG1_INVERT' undeclared (first use in
this function)
i830_render.c:400: warning: unused variable 'produce_ca_src_alpha'
i830_render.c:399: warning: unused variable 'produce_ca_src_val'
make[3]: *** [i830_render.lo] Error 1
make[3]: Leaving directory `/home/dkasak/.src/i845-render-fix/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dkasak/.src/i845-render-fix/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dkasak/.src/i845-render-fix'
make: *** [all] Error 2


--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2
9922 7989
email: dkasak at nusconsulting.com.au
website:
http://www.nusconsulting.com.au





More information about the xorg mailing list