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
5
votes
1 answer

vfb- what is the purpose of the virtual framebuffer?

I have seen this config flag CONFIG_FB_VIRTUAL=y What does it do? How does it work? What is the relation between vfb and xvfb?
0x90
  • 39,472
  • 36
  • 165
  • 245
5
votes
1 answer

OpenGL rendering from FBO to screen

The idea is to render specific parts of a scene in a FrameBuffer object in different color attachments and then combining those using the depth buffer for the final image. in the first step I want only to render to a single attachment and then to…
Ray
  • 339
  • 3
  • 12
5
votes
1 answer

Multiple Render Targets in OpenGL with Cg

I'm trying (in vain) to set up MRT using OpenGL and NVIDIA's Cg shader system, with the ultimate goal of deferred rendering. I've successfully gotten both shaders and Render To Texture for single targets working, but as soon as I attempt rendering…
Matt Kline
  • 10,149
  • 7
  • 50
  • 87
4
votes
1 answer

Android OpenGL ES 1.1: Read from Stencil Buffer

Using Android OpenGL ES 1.1 (HTC Desire)... The problem I have in general is this: I have various 3D objects rendered in a complex scene. I want to check if the user has clicked on a particular object. This object may be partially hidden and…
chris
  • 1,731
  • 4
  • 26
  • 33
4
votes
3 answers

Are there any ARM based systems/emulators with a graphical frame buffer that allow for (relatively) legacy-free Assembly programming?

I am looking for a modern system to do some bare bones Assembly programming (for fun/learning) that does not have the legacy burden of x86 platforms (where you still have to deal with BIOS, switching to protected mode, VESA horrors to be able to…
Erik
  • 4,268
  • 5
  • 33
  • 49
4
votes
1 answer

Reading data using glReadPixel() with multisampling

Presently I am trying to read the pixel data from the frame Buffer in order to capture the screen in IOS. GlreadPixels command works fine when using the following code to setup frame buffer :- //buffers // Create a depth buffer that has the same…
Tornado
  • 1,069
  • 12
  • 28
4
votes
1 answer

Offscreen rendering to Framebuffer

I have a simple scene which renders a grid, a plane and a cube. I also have two different shaders. One is a flat shader which renders objects in a random color, the other is a noise shader which renders objects with a noise effect. I want to be able…
チーズパン
  • 2,752
  • 8
  • 42
  • 63
4
votes
3 answers

glReadPixels() slow on reading GL_DEPTH_COMPONENT

My application is dependent on reading depth information back from the framebuffer. I've implemented this with glReadPixels(0, 0, width, height, GL_DEPTH_COMPONENT, GL_FLOAT, &depth_data) However this runs unreasonable slow, it brings my application…
Paul Wagener
  • 432
  • 6
  • 12
4
votes
0 answers

Linux framebuffer detect change

I would like to detect when framebuffer is chaning on linux framebuffer without X. Where should I look into to find it? driver, kernel, a user space code? I know I can use cp /dev/fb0 fb0 to copy the framebuffer and compare it to a previously…
4
votes
0 answers

Render to multiple frame buffer in single pass

Is it possible to render to multiple frame buffers in single pass using OpenGL ES 2.0? Assume that I have a character and I need to make some image processing on this character before rendering final result. After processing operation, all frame…
JeJoRic
  • 95
  • 6
4
votes
0 answers

Drawing an image on the screen during initramfs

I'm trying to draw an error image during initramfs on a base ubuntu 18.04 image. My issue is that when I write the image directly into /dev/fb0 The card only appears to redraw areas of the screen the are being changed by the console output. Is there…
Andy
  • 44,610
  • 13
  • 70
  • 69
4
votes
2 answers

Display "Hello World" on framebuffer in linux

I have used the linux 3.14 version on my ARM target and i want to show some line of characters in the display using frame buffer. I can change the colors of the display using the below code. #include unsigned char colours[8][4] = { {…
Selva Kumar
  • 91
  • 1
  • 8
4
votes
1 answer

Making a Qt GUI application run on a framebuffer in Linux

I am developing a GUI in Qt. The target platform is Linux / ARMv6-based Raspberry Pi Zero W and distribution is a custom Poky / Yocto distribution. I attached a display module (ILI9341-based 2.4" SPI TFT Display) to the Raspberry Pi and I would like…
mozcelikors
  • 2,582
  • 8
  • 43
  • 77
4
votes
1 answer

Open GL ES 2 - glFramebufferTexture2D with Incomplete Missing Attachment error

I'm new to OpenGL/GLES, I got Incomplete Missing Attachment error when generate framebuffer from EGLImageKHR with below code: GLuint texture; GLuint framebuffer; EGLImageKHR image = eglCreateImageKHR(display, …
KennyTan
  • 73
  • 1
  • 8
4
votes
1 answer

Framebuffer binding order

I'm trying to instantiate all my framebuffers outside the draw call. But if I do that, the render is very glitchy. How I think my code should be structured framebuffer1 = createFramebuffer() framebuffer2 = createFramebuffer() draw(){ …
Ice-Blaze
  • 897
  • 8
  • 18