I am using the uBrowser resource (www.ubrowser.com) to embed a browser
in an OpenGL application.
However, I am running into some issues when I try to make certain
elements of my page semi-transparent.
Text is 100% transparent, the body of the page, and non PNG images are
100% transparent. PNGs are semi-transparent (so this is correct).
Also, certain widgets such as radio buttons, checkboxes, etc.. are
opaque. So my biggest issue is with the transparent text.

My OpenGL states and textures should be setup correctly.

I'm assuming that Gecko has some internal pixel buffer that it renders
the current page into. Does this buffer have an alpha channel, and if
not, how would I initialize it so it does?

Would I need to change the rendering code for Gecko to render text
with an alpha value of 1.0, and how can this be done?

I have never touched any of the embedding code before, so I'm not sure
where to start looking. Any help would be appreciated.

Thanks!
-Richard.

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to