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
161
votes
2
answers
53k
views
What's the concept of and differences between Framebuffer and Renderbuffer in OpenGL?
I'm confused about concept of Framebuffer and Renderbuffer. I know that they're required to render, but I want to understand them before use.
I know some bitmap buffer is required to store the ...
46
votes
4
answers
28k
views
Android Graphics Internals
I haven't found a clear explanation on how the Android graphics system works, specifically, does it use a display server, is it based on DirectFB or X11, etc.
From what I've managed to piece together,...
43
votes
7
answers
71k
views
Paint Pixels to Screen via Linux FrameBuffer
I was recently struck by a curious idea to take input from /dev/urandom, convert relevant characters to random integers, and use those integers as the rgb/x-y values for pixels to paint onto the ...
36
votes
2
answers
13k
views
What is the difference between framebuffer and image in Vulkan?
I've known that framebuffer is the final destination of the rendering pipeline and swapchain contains many image. So what is the relation between those two things? Which one is the actual render ...
29
votes
7
answers
20k
views
Google Chrome over Linux FrameBuffer
I am working on a project where I need to run Google chromium over Linux FrameBuffer, I need to run it without any windowing system dependency ( It should draw on the buffer we provide it to draw, ...
25
votes
1
answer
25k
views
Setting up OpenGL Multiple Render Targets
I've seen a lot of material on this subject, but there are some differences between the examples I've found and I'm having a hard time getting a solid understanding of the correct process. Hopefully ...
24
votes
5
answers
19k
views
Using OpenGL Without X-Window System
How to OpenGL on Linux Platform Without X-Window System, can I send OpenGL Graphics Directly to Framebuffer Device?
There Is Project Named DirectFB (Direct FrameBuffer). With DirectFB We can do this ...
23
votes
2
answers
8k
views
Does glBlitFramebuffer copy all color attachments if GL_COLOR_BUFFER_BIT mask is specified?
If I am copying pixels from one FBO to another and each of them have multiple (not necessary the same number) of color attachments, and if my mask is GL_COLOR_BUFFER_BIT, which color attachments (...
22
votes
4
answers
24k
views
opengl - blending with previous contents of framebuffer
I am rendering to a texture through a framebuffer object, and when I draw transparent primitives, the primitives are blended properly with other primitives drawn in that single draw step, but they are ...
20
votes
2
answers
8k
views
Do you have to call glViewport every time you bind a frame buffer with a different resolution?
I have a program with about 3 framebuffers of varying sizes. I initialise them at the start, give them the appropriate render target and change the viewport size for each one.
I originally thought ...
20
votes
1
answer
15k
views
When to call glEnable(GL_FRAMEBUFFER_SRGB)?
I have a rendering system where I draw to an FBO with a multisampled renderbuffer, then blit it to another FBO with a texture in order to resolve the samples in order to read off the texture to ...
19
votes
1
answer
19k
views
SDL2 on Raspberry Pi without X?
I'm hoping to develop some code that uses SDL2 to display graphics on the 7" RPi touchscreen, but I'd rather not install a full desktop OS. I've got Raspbian Buster Lite installed. Some simple ...
19
votes
1
answer
6k
views
Can I write bytes directly to video memory under Linux, or is there a better way to get data onto the screen?
I'm teaching my son programming "the right/hard way", so we're starting with C, like real men :)
Printing text to the console is fun, but I still remember the exhilaration of switching my old i386 ...
18
votes
1
answer
5k
views
Vulkan - draw texture directly without vertices and shaders
Is it possible to draw texture (if it is with correct width, height and pixel format) directly to frame buffer without using vertices and shaders in Vulkan?
16
votes
2
answers
22k
views
How to check which Frame Buffer Object is currently bound in OpenGL?
I'm working with OpenGL Frame Buffer Objects. I have created a Frame Buffer Object with 2 color textures and a depth texture.
I'm using
glBindFramebuffer(GL_READ_FRAMEBUFFER, ID);
To bind my ...