NEERAJ SOLANKI wrote:
> Hi, 
> I am facing problem in setting mask on pixamp using Gtk+ over DirectFB 
> backend. 

I saw you were calling gdk_draw_pixbuf(). I started to write an optimized
version of it in the DirectFB backend. Opaque images are really faster now.

Please try commenting out the following in 
gdkdrawable-directfb.c:gdk_drawable_impl_directfb_class_init


   drawable_class->draw_pixbuf = gdk_directfb_draw_pixbuf;


I forgot to add an "#ifndef GDK_DIRECTFB_NO_EXPERIMENTS" around it, because
the clipping mask and other non-tested cases could have become broken. Might
be a good idea to make usage of "real_draw_pixbuf" for all non-tested cases.
I added it already, saving the functions pointer to the default implementation,
but it's not called so far.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to