Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
162 views

I am creating an application using OpenGL (4.2). By default, the rendering is done on a panel in a window, it works without issues, but the panel can be docked/undocked, which causes the underlying ...
0 votes
1 answer
146 views

I am creating a small abstraction layer for an engine, but when I call any OpenGL API functions from a class, the code segfaults. I'm using glad and glfw and there aren't any errors from either, and ...
1 vote
0 answers
145 views

Short summary: I have multiple GdkWindows that simultaneously get drawn into using OpenGL. For each of those windows it may happen that we want to set the GdkCursor. The change is registered and done, ...
V41U's user avatar
  • 146
0 votes
2 answers
791 views

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) =...
6 votes
1 answer
4k views

I would like to use OpenGL (version 1.5) to render images to memory, without displaying them on screen (I can e.g. just save them as image files or render them as ASCII in terminal). I do not want any ...
1 vote
1 answer
522 views

I am currently writting a game with the JOGL bindings to use OpenGL but I am so struggling on this. I need to initialize my vaos and vbos (for each component) using the GL2 variable that I collected ...
6 votes
2 answers
1k views

I am using two OpenGL contexts in my application. The first one is used to render data, the second one to background load and generate VBOs and textures. When my loading context generates a VBO and ...
Ebatsin's user avatar
  • 601
1 vote
1 answer
2k views

Goal I'd like to implement an actual widget for Qt3D since QWidget::createWindowContainer just doesn't cut it for me. Problem Description My first approach of letting a new class subclass QWidget and ...
2 votes
2 answers
3k views

I am trying to use OpenGL and GLFW in C#. I Have Installed NuGet Packages for GLFW.Net and OpenGL.Net. What I cannot for my life figure out, is how do I setup the context for OpenGL.Net with GLFW.Net??...
0 votes
1 answer
378 views

I have two QOpenGLWidgets(view1, view2)as children in a top-level widget. Qt document says 'When multiple QOpenGLWidgets are added as children to the same top-level widget, their contexts will share ...
0 votes
1 answer
832 views

What I want to do: The main goal: Use SkiaSharp and OpenTK together. Render 2D and 3D. What is the problem: SkiaSharp messes up the state of OpenGL, so I can't use it for 3D without saving and ...
0 votes
1 answer
1k views

So i was trying to replicate this example of context sharing from glfw with glfw, glew and opengl in c++: https://github.com/glfw/glfw/blob/master/examples/sharing.c. The second window isn't showing ...
2 votes
1 answer
4k views

I created two windows using GLFW. The first window has an OpenGL context and the second one doesn't. What I want to do is render the same scene to both windows using a single OpenGL context. Something ...
0 votes
1 answer
1k views

Is there way to detect if opengl context was disposed when user has pressed home button?Currently I always recreate whole glSurface in onResume method.Also there is setPreserveEGLContextOnPause which ...
0 votes
1 answer
212 views

I use Lazarus (under Linux) Please anybody help me. I have problem. I have install LasOpenGLContext. There is "OpenGL Controll" at components panel. And I wish to draw a simple cube. But I can not do ...

15 30 50 per page
1
2 3 4 5 6

AltStyle によって変換されたページ (->オリジナル) /