PDA

View Full Version : Question about the fragment interface


Spillaz
April 10th, 2007, 01:56 PM
Hello World ;-)

I am using an i915 which supports pixel shaders. GL_ARB_fragment_program is in glxinfo and compiz's water seems to see it fine and doesn't complain.

I heard that David added a pluggable fragment interface to core a while back just after 0.3.6 came out so that "plugins could do more interesting things with shaders." After that point, I started to notice that things like water seemed to work because water was drawing the waves but there is no distortion of the pixmap underneath the wave. I recently tried out blur and ... well nothing seems to be blurred. Screen updates were really slow which is sorta what I expected considering the work it was doing.

Heres the thing. I think compiz is actually carrying out these operations but they are just... not... appearing to happen.

So just to test if this is the case - is there any way I can capture complete output the 'compiz' process or thread when I am doing all these crazy things and see if compiz is actually doing them or fouling up.


Please move this thread if it does not belong here. I just though this would be good for "hardware support" development.

PS. I've actually noticed a couple of youtube videos where there is no blur effect under the wave too. Could a developer please follow up on this. There used to be a blur effect in compiz 0.3.6 but since the fragment model was introduced - it is gone.

EDIT : Is there anywhere I can download 0.3.6 so I can make a screenshot comparison?