Skip to main content

Questions tagged [framebuffer]

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

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 ...
eonil's user avatar
  • 85.2k
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,...
naasking's user avatar
  • 2,556
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 ...
Richard Martinez's user avatar
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 ...
EkBumYe's user avatar
  • 569
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, ...
SunnyShah's user avatar
  • 29.9k
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 ...
TaylorP's user avatar
  • 1,039
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 ...
user366250's user avatar
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 (...
viktorzeid's user avatar
  • 1,551
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 ...
staticfloat's user avatar
  • 6,920
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 ...
Goldboa's user avatar
  • 333
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 ...
Steven Lu's user avatar
  • 42.7k
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 ...
Rick's user avatar
  • 3,679
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 ...
Sergey's user avatar
  • 12.3k
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?
zedrian's user avatar
  • 306
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 ...
ammar26's user avatar
  • 1,594

15 30 50 per page
1
2 3 4 5
77