[cairo] painting a r565 raw data on to gdkwindow

zaheer ahmad zaheer.mot at gmail.com
Mon Aug 31 22:37:49 PDT 2009


hi all, can someone provide inputs on below please.. thanks, zaheer

On Mon, Aug 31, 2009 at 11:13 PM, zaheer ahmad <zaheer.mot at gmail.com> wrote:

> hi,i have a video plugin that gives the decoded data in 565 format that
> matches the native format. i would like to paint this on top of a gdk window
> along with content rendered from browser page. i create a cairo context out
> of the gdk window and let the browser draw on to it. how do i blend the 565
> data on to this? i would think of creating a GdkPixmap (assuming it would be
> 565) and then set data using g_object_set (pixmap, data..), and then do a
> gdk_draw_drawable this pixmap on to the gdk window?  Also i would like the
> video drawing path to be as fast as possible (avoiding all 565->8888
> back/forth conversions). whats the right way to do this. appreciate any
> help.
>
> thanks,
> Zaheer
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20090901/8319ecb9/attachment.html 


More information about the cairo mailing list