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
0
votes
1
answer
523
views
WebGL - How do I apply post processing filters to fragment shader output?
My Problem
The source of the problem starts with me trying to apply a "glow" or a "halo" effect to whatever is outputted by the fragment shader.
What I've Tried
The way I found I ...
0
votes
1
answer
311
views
Does dual-source blending require larger color buffer?
In OpenGL, we can turn on dual-source blending through following code in fragment shader:
layout(location = 0, index = 0) out vec4 color1;
layout(location = 0, index = 1) out vec4 color2;
And through ...
4
votes
0
answers
687
views
Continously capturing/reading all frames from Xvfb virtual framebuffer as a stream?
I have a Linux system (Raspberry Pi 4 with DietPi) which controls some RGB LED Matrix panels, by transmitting buffers of RGB pixels.
I want to display the content of a virtual frame buffer on the LED ...
0
votes
1
answer
833
views
Click and mouse cursor events are inverted when using VNC in my QT application
I am programming a QT application which is deployed to a linux embedded system. It uses the TSLIB for touch screen, and a framebuffer VNC server. When I use the touch screen, it works just fine. ...
0
votes
0
answers
104
views
How can I process pixels on screen if they don't mirror in /dev/fb0
I am currently working on a Raspberry Pi 4 with retropie and want to process the colours on the screen to do some cool stuff with LEDs. My Idea was to check the Linux framebuffer (/dev/fb0). It works ...
0
votes
1
answer
598
views
Vulkan swap chain, can we reuse the same render pass for every frame?
My question is in the title.
The swap chain need multiple images and I understand why, so it seems logical to have the same image views amount because they are like a pointer to these. And finally, I ...
0
votes
0
answers
48
views
Some pixels of the drawn triangle are not within the triangle's vertices
I made a quad, that rotates around the Y axis and at some parts of the rotation some of the pixels extend past the triangle's side and form a line. This is a picture of the lines I am talking about - ...
0
votes
0
answers
239
views
WebGL (1) rendering to a texture results in: "GL_INVALID_FRAMEBUFFER_OPERATION: Draw framebuffer is incomplete"
Using this helper function we initilize framebuffer and texture:
protected _createTextureAndFramebuffer(gl, width, height, data) {
const tex = gl.createTexture();
gl.bindTexture(gl.TEXTURE_2D, ...
0
votes
1
answer
134
views
How to correctly display a TGA image in a framebuffer?
I've been working on my own hobby OS. I would like to display icons.
For its simplicity, I chose the tga format. But it is impossible to have a correct image: it is completely distorted.
Here is my ...
1
vote
0
answers
434
views
Linux framebuffer not updating when using KD_GRAPHICS
I've been trying to do some old-school drawing on the Linux framebuffer. I'm aware this is not the "modern" way to do things but exploring it out of curiosity. I am confused that my screen ...
1
vote
1
answer
109
views
I'm having issues with rendering depth
I'm using GLES2 to make graphics, because I intend to make a mobile application, so it has different things from classic opengl, in the part of creating a framebuffer, I looked for how to do it, and I ...
1
vote
0
answers
119
views
Using a frame buffer yields strange results?
I am very new to OpenGL (OpenTK), and I tried to get my first frame buffer working so I could apply post processing effects. However, when I try to draw the frame buffer it draws in the wrong place.
...
0
votes
0
answers
977
views
Why doesn't writing to /dev/fb0 work on some video cards
I have a simple embedded Linux build that boots from a USB and has a framebuffer. There are simple bash scripts that write to the /dev/fb0 device to give user feedback and clear the screen, along ...
2
votes
1
answer
448
views
OpenGL ping pong feedback texture not completely clearing itself. Trail is left behind
The goal:
Effectively read and write to the same texture, like how Shadertoy does their buffers.
The setup:
I have a basic feedback system with 2 textures each connected to a framebuffer. As I render ...
0
votes
1
answer
214
views
Using glTexImage2D to render to texture, blank result. (Dreamcast GLdc)
I am trying to create a quick render to texture example using GLdc, a OpenGL implementation for the Sega Dreamcast. I have verified that both my Texture and Framebuffer Object are complete, yet the ...