Does XEmbed use restrictions for OpenGL functions?

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?

+6
linux gtk npapi glsl
source share

No one has answered this question yet.

See related questions:

866
Why does the C preprocessor interpret the word "linux" as the constant "1"?
3
OpenGL 3. + glsl compatible?
3
How to change OpenGL context to 3.2 on Mac 10.9.3
2
GLSL shaders crashng ATI / AMD GPU
2
Cannot compile a GLSL 3.30 shader with a group array in a Qt 4.7 application using QGLShaderProgram
one
How to test shaders with a different version of the shader model
one
"Modern" OpenGL on Linux with GLFW
0
Lazyfoo SDL2 / GLSL code shows a black screen for OS X only
0
QOpenGLShader - the version directive must be the first statement and cannot be repeated
0
Using OpenGL GLSL 3.3 in context 2.1

All Articles