Questions tagged [glx]

GLX (initialism for "OpenGL Extension to the X Window System") provides the interface connecting OpenGL and the X Window System: it enables programs wishing to use OpenGL to do so within a window provided by the X Window System.

179 questions
0
votes
2 answers

‘glSwapInterval’ was not declared in this scope

I'm trying to port an OpenGL application from Windows to Linux. I'm stuck at a call to glSwapInterval which doesn't sound windows specific, but doesn't seem to exist on Linux. What include am I missing?
user1273684
  • 1,559
  • 15
  • 24
0
votes
1 answer

glXChooseFBConfig fails to select supported config

I try to select this config with nvidia blob driver on Linux (Ubuntu 12.04 x86_64): int doubleBufferAttributes[] = { GLX_DRAWABLE_TYPE, GLX_PBUFFER_BIT, GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_DOUBLEBUFFER, True, GLX_RED_SIZE, 8, …
queen3
  • 15,333
  • 8
  • 64
  • 119
0
votes
3 answers

xcb mouse motion causes input lag

I have written some basic OpenGL applications with XCB as the backend(xlib for GLX, of course) and in every test I have written when I move my mouse over the window it causes all input to get sort of "buffered" and only responds to the events after…
RamblingMad
  • 5,332
  • 2
  • 24
  • 48
0
votes
1 answer

How to switch between two OpenGL contexts

I have a program that has an OpenGL window to draw various things in it. At the same time, I am doing offscreen rendering to get image masks. Each one of them has a separate OpenGL context that they draw to. The offscreen rendering is called…
hakura
  • 399
  • 3
  • 15
0
votes
2 answers

glXChooseFBConfig returns NULL

I'm trying to configure a framebuffer on a computer which has no dedicated graphics card. Only mesa GL. I've tried multiple FB configurations but I can't seem to get a non-NULL return. The same code works on another computer with nvidia…
hakura
  • 399
  • 3
  • 15
0
votes
1 answer

LibGDX XLib Extension: "GLX" Error

Well I'm trying to setup libgdx. I used the setup-ui and installed everything on eclipse, but I get this error when I try to run my desktop project : http://pastie.org/8399448 I'm running ubuntu, and I think this might have something to do with why…
Gratin
  • 113
  • 3
  • 15
0
votes
1 answer

glx opengl gtk python and alpha channels / blending

I have the example code below, simplified from a larger project. I have been trying to make alpha channels work i have enabled blending and written a similar example using pygame which works. How ever setting up opengl to work with a glx context…
Oly
  • 370
  • 5
  • 16
0
votes
0 answers

GLX/X11 Changing the rendering resolution

I have made a simple application that creates a window with an OpenGL 4.2 context and takes user input. I have implemented making the window go fullscreen with XRandR and can change the display resolution. I would like to change this so that I don't…
RamblingMad
  • 5,332
  • 2
  • 24
  • 48
0
votes
1 answer

glwMDrawingAreaWidgetClass visible via X11 forwarding?

I'm developing on a Linux machine using TeleUSE. I PuTTY to the machine to do my work. I have X11 forwarding on and Xming running. I can't seem to see the OpenGL part of the window if I'm running remotely, HOWEVER the great demo "glxgears" works…
Darrell
  • 265
  • 2
  • 4
  • 13
0
votes
2 answers

glXMakeCurrent give me Bad Match

I'm having some trouble to have a rendering system working on both Windows and Linux platforms. On Windows platform it works like a sharm, while on Linux my application terminates with the following exception: System.InvalidOperationException:…
Luca
  • 11,646
  • 11
  • 70
  • 125
0
votes
0 answers

Stereo 3D Rendering issue with OpenGL

I am trying to draw a basic mesh loaded from an .obj file using stereoscopic 3D rendering on a NVIDIA Quadro 5000. From what I can tell I think I got my left eye and right eye frustums and offsets set accordingly, but my main issue is with writing…
0
votes
2 answers

XSetWMProtocols and glXCreateContext calling order in a Multithreaded environment

Edit: I posted a nice solution to the whole renderer separation problem in general below. I am recently playing around with OpenGL in a multithreaded X11 environment. I found the following tutorial, which compiles, links and runs fine. Bu then I…
user1492625
  • 313
  • 5
  • 10
-1
votes
1 answer

gl3w and GL extensions

I am targeting GL Core Profile on Linux. When I directly use the system GL headers like so: #include ...then everything works as expected, and I can use GL extensions too, e.g. glPushGroupMarkerEXT() calls. But since I've…
Bram
  • 7,440
  • 3
  • 52
  • 94
-2
votes
2 answers

Correctly linking GLX library in Ubuntu

I'm trying to compile one of these mixes of X11 + OpenGL, but I'm not having luck with the compiler. In particular, I get: undefined symbol: glXMakeCurrent I have tried -lX11 -lGLU -lGL -lXext as arguments to the linker, and some permutations…
dsign
  • 12,340
  • 6
  • 59
  • 82
1 2 3
11
12