Neat new ClutterMozEmbed feature

After some back-and-forth e-mails between some potential users of ClutterMozEmbed and myself, I tonight implemented the ability to have transparent page backgrounds. All that’s needed is to call clutter_mozembed_set_transparent (it’s default off as I’d hope that cairo is more performant when using 24-bit rendering…) and for your page to not have any opaque frames (the window background will already be transparent).

Unfortunately, I’m terribly unimaginative, so I couldn’t think of a decent demo. Here’s what I came up with – this is a demo from chromeexperiments.com (ironic), running transparently over the test-actors demo in Clutter. To add to the irony, it’s Clutter rendering the 2d surfaces and Mozilla rendering the 3d part 🙂


Click to play

]]>

Leave a Reply

Your email address will not be published. Required fields are marked *