Re: [firebreath-dev] Cross Platform Windowless Drawing

90 views
Skip to first unread message

Richard Bateman

unread,
Jul 10, 2012, 1:16:45 PM7/10/12
to firebre...@googlegroups.com

One minor correction to that, on Mac OSX the only reliable way to be windowless in the sense that you can draw over the top is to use CoreGraphics; others it depends on the browser. Other than that, your summary is pretty accurate.

Note that to use PluginWindowlessWin you need to return true from IsWindowless in your main plugin class.

Richard

On Jul 10, 2012, at 10:25 AM, Michael Ditum wrote:

Hi,

I've recently started playing with firebreath and so far it looks exactly what I want for my next project!

One of the things I would really like to do in this project is have the ability to display HTML layers on top of the plugin. I understand that for that I need to have a windowless plugin, I was just wondering what the state of that across the 3 different platform is? From what I've read so far...
  • Mac OSX plugins are always windowless
  • Under windows it seem to work if I use FB::PluginWindowlessWin
  • Under Linux, the latest I've found is a post from January 2011 saying "Note that we still lack windowless support on Linux for the simple reason that I haven't a clue how it would work".
Has the state of windowless linux plugins changed at all? Is it still unknown how drawing in a windowless linux plugin would work?

Thanks for all your help,

Mike

Reply all
Reply to author
Forward
0 new messages