Questions tagged [openglcontext]

An OpenGL context represents all of the state associated with an instance of OpenGL. Use this tag for questions about context creation, and use.

An OpenGL context represents all of the state associated with an instance of OpenGL. OpenGL functions are executed within the current context, and modify only the current context.

Reference

See the main help page at https://www.opengl.org/wiki/OpenGL_Context

See Also

Related tags are:

81 questions
0
votes
1 answer

No OpenGL context current on this thread at javax.media.opengl.glu.GLU.getCurrentGL

I encountered a similar problem when I started learning Opengl (JOGL) for the "GL2 gl" months ago.... and then I discovered how to solve (everything having something to do with "gl" should be called from within the display/init method). After some…
elect
  • 6,765
  • 10
  • 53
  • 119
0
votes
1 answer

glXCreateContextAttribsARB: fb config compatibility

OpenGL doc states that If glXCreateContextAttribsARB succeeds, it initializes the context to the initial state defined by the OpenGL specification, and returns a handle to it. This handle can be used to render to any GLX surface (window,…
-1
votes
0 answers

OpenGLContext - why is the requested swapbehavior nor accepted?

I'm working on a Qt 5.15 OpenGL application running on my raspberry 4B with Raspian. I'm using a library for plotting realtime waveform that works perfectly on different machines/OS like windows or Linux. I tried to find the part in the code that…
KR51K
  • 1
  • 1
-1
votes
2 answers

Problem using two OpenGL-Contexts in two threads (one per thread)

I have been using one OpenGL-context in one thread (very simplyfied) like this: int main { // Initialize OpenGL (GLFW / GLEW) Compile_Shaders(); while (glfwWindowShouldClose(WindowHandle) == 0) { glClear(GL_COLOR_BUFFER_BIT |…
Paul Aner
  • 361
  • 1
  • 8
-1
votes
1 answer

freeglut window init + glew 3.0 context creation does not work

I am trying to create a window with freeglut and then use glew to create a 3.2 context in order to use modern OpenGL functions (using c++ and a Windows pc). My Problem is that the context creation (which i tried to do both before and after the…
user1059863
  • 89
  • 1
  • 1
  • 6
-3
votes
1 answer

Is there a complete win32 wrapper library?

I search a win32 wrapper libraray that completly isolate me from the api. I only want to create a opengl 3.3 window for windows only. I know there are libraries like GLFW, SFML and SDL but this libraries are to large and heavy. Know someone one?
user3325226
  • 329
  • 2
  • 5
  • 10
1 2 3 4 5
6