Questions tagged [framebuffer]
In general a framebuffer is a graphic hardware-independent abstraction layer used to display output to a monitor or display.
framebuffer
1,151
questions
-3
votes
0
answers
45
views
Depth testing not working when using compute shader post processing [closed]
I made a program that could easily be implemented with custom classes and shaders.
Then I added a simple post processing step using compute shaders which caused the depth testing to break, everything ...
-4
votes
0
answers
35
views
Framebuffer doesn't catch all textures and can't be refreshed [closed]
I am currently struggling with my framebuffer in my 2D C++/OpenGL Game and failing to see my issues. It will not store some of my textures and can't be updated properly and I can't seem to find the ...
-3
votes
0
answers
44
views
No fragments are drawn to framebuffer (depth) at all. However, if shader is completely uninitialised, fragments do get drawn (albeit incorrectly) [closed]
I'm trying to render the scene to a depth attachment of a specific framebuffer. I've been fiddling around with this for a long time, trying lots of different things.
No matter what I try, all of my ...
0
votes
0
answers
32
views
SDL-GPU Rendering to texture results in rough edges
I have a texture and I render a circle to it using SDL-GPU, then I render this texture to the window:
#include "SDL2/SDL.h"
#include "SDL2/SDL_gpu.h"
int main() {
if (SDL_Init(...
0
votes
1
answer
58
views
OpenGL: Render Framebuffer into Framebuffer
I am currently working on a c++ program using OpenXR with OpenGL. I managed to render everything that I wanted into VR.
I have one framebuffer per eye, and then 3 more for layers (crosshair/menu) ...
1
vote
1
answer
33
views
can we display same framebuffer side by side on screen simultaneously using DRM(direct rendering manager) APIs in linux?
can we display same framebuffer side by side on screen simultaneously using DRM(direct rendering manager) APIs in linux?
constraints:
need to use single plane and single framebuffer
what I already ...
0
votes
0
answers
53
views
Program using framebuffer killed on Ubuntu 18.04 but works on Ubuntu 22.04
I'm currently developing a program that interacts with the framebuffer. The program works perfectly on Ubuntu 22.04, but it gets killed with the message "killed" on Ubuntu 18.04.
Here is the ...
0
votes
0
answers
30
views
Displaying a Video with Raspberry and OpenCV problems with Framebuffer
I am pretty new in this forum, so sorry in advance if I don't know some etiquette ;)
I want to loop two videos on two screens and they have to be in perfect sync.
I am following this person's approach:...
0
votes
1
answer
45
views
Using Depth FBO for shadow map causes weird behaviour
I am using Silk.Net for OpenGL interfacing, loading .obj files for model and material data.
Everything works as I would want it, and tried to add Shadow Mapping to the whole thing (following ...
0
votes
1
answer
100
views
Android Kernel module to modify the Framebuffer
I am in search of a tutorial or guidance on how to access the framebuffer (fb0) from an Android device and modify specific pixel columns. From my research, it seems this can be achieved by creating a ...
0
votes
0
answers
84
views
Building an Virtual Camera that Receives frames with RTP
I litle interduction to my Project so i have an virtual camera that i build with Directshow, Works how t supposed to work, then i installed an external library uvgRTP and made the code so i receive ...
0
votes
0
answers
38
views
What happens when rendering an OpenGL buffer that has been padded with NULL (or another value)?
I have the following setup:
S - the scene that includes terrain, some houses and other man-made objects
T - a set of tree configurations that I would like to iterate through and place in S.
Every ...
0
votes
1
answer
59
views
glBlitFramebuffer - glReadBuffer and glDrawBuffer refer to the same buffer
Just for learning purposes I test what happens when I call glBlitFramebuffer when glReadBuffer and glDrawBuffer refer to the same buffer. The custom framebuffer is defined this way:
bool initFBO()
{
...
0
votes
1
answer
71
views
My embedded application doesn't receive keyboard events (Linux framebuffer/Qt+QML application/systemd service/VNC server)
I need to remotely control a Qt / QML application on an embedded ARM instrument. I intended to do that using VNC. This doesn't work. An USB keyboard plugged in the instrument doesn't work either.
NB: ...
0
votes
1
answer
49
views
Default render color vector for fragment shader when using a frame buffer with multiple attachment?
ChatGPT insists that when using a framebuffer and attaching multiple draw buffers, the 0-indexed one will be the one that when you write to in the shader, it will be rendered on the canvas. However I ...