Questions tagged [framebuffer]

In general a framebuffer is a graphic hardware-independent abstraction layer used to display output to a monitor or display.

Resources:

1142 questions
158
votes
2 answers

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 temporary drawing result. The back buffer. And the other…
eonil
  • 83,476
  • 81
  • 317
  • 516
46
votes
4 answers

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, Android depends on the Linux frame buffer. I…
naasking
  • 2,514
  • 1
  • 27
  • 32
42
votes
7 answers

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 screen. I've done some research (here on StackOverflow…
Richard Martinez
  • 692
  • 1
  • 8
  • 16
34
votes
2 answers

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 target? And does the framebuffer later attach the…
EkBumYe
  • 549
  • 1
  • 4
  • 7
29
votes
7 answers

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, this will make its porting to any embedded system…
SunnyShah
  • 28,934
  • 30
  • 90
  • 137
25
votes
1 answer

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 someone can tell me if I'm on the right track. I…
TaylorP
  • 1,039
  • 2
  • 13
  • 28
24
votes
5 answers

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 but DirectFB needs for driver for each hardware…
user366250
  • 401
  • 2
  • 4
  • 5
22
votes
2 answers

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 (GL_COLOR_ATTACHMENT0, GL_COLOR_ATTACHMENT1, ....,…
viktorzeid
  • 1,521
  • 1
  • 22
  • 35
20
votes
3 answers

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 not blended properly with the previous contents…
staticfloat
  • 6,752
  • 4
  • 37
  • 51
20
votes
1 answer

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 perform post-processing shading while drawing to the…
Steven Lu
  • 41,389
  • 58
  • 210
  • 364
19
votes
2 answers

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 that you only had to call glViewport only when you…
Goldboa
  • 323
  • 2
  • 7
19
votes
1 answer

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 to the 320x200x256 mode and drawing a few colored…
Sergey
  • 11,892
  • 2
  • 41
  • 52
18
votes
1 answer

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 test code gets an error when I try to run…
Rick
  • 3,298
  • 3
  • 29
  • 47
17
votes
1 answer

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?
zedrian
  • 296
  • 3
  • 10
16
votes
2 answers

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 framebuffer, but on console i'm getting this…
ammar26
  • 1,584
  • 4
  • 21
  • 41
1
2 3
76 77