I am creating an NPAPI plugin for Linux that uses the XEmbed protocol for a window that is controlled by the plugin. I use Gtk + to dock to the window, terminating the XEmbed window with GtkPlug. I want to render an OpenGL surface in a window (using GtkGLExt), but when I turn on the resulting OpenGL context, I cannot create GLSL shaders; indeed, a query for glGetString (GL_VERSION) indicates that the version line for OpenGL has changed from "2.1 NVIDIA ..." to "1.4 (2.1 NIVIDIA ...)", which indicates that GL drivers have reduced OpenGL functionality in this situation .
I could not find direct links to the restrictions that XEmbed places use in OpenGL functions. Does anyone know if XEmbed effectively downgrades OpenGL to a fixed pipeline?
linux gtk npapi glsl
user335938
source share