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
3
votes
0 answers

PCIe bandwidth utilization surge when switching from 2k to 4k framebuffer in OpenGL

I render a simple scene with 50 drawcalls for main scene, shadow, reflection and postprocess maps overall. For the following test I set shadow map size to 4k (4096x4096) and will vary reflection map size. The test will run on NVidia GTX 650 with 1Gb…
Sergey
  • 7,985
  • 4
  • 48
  • 80
3
votes
3 answers

Merging two separate framebuffers onto default framebuffer after depth testing

I have two framebuffers that I am rendering two different objects to. When I use the default framebuffer, I have both the objects rendering on the same one. I want this behaviour to work when using multiple framebuffers! How do I merge two…
Rathnavel
  • 85
  • 1
  • 15
3
votes
1 answer

Temporarily stop Qt5/QML from updating framebuffer (/dev/fb0)

On an embedded system, due to very specific hardware/software limitations, we need another program to be able to display info via the framebuffer (/dev/fb0), while keeping our Qt5/QML program running in the background. We display a custom QQuickItem…
Gio
  • 4,099
  • 3
  • 30
  • 32
3
votes
1 answer

off-screen rendering with fbo and texture got black screen

I am developing a simple off-screen rendering application on mac os x (10.12), but always got a black screen. I confirm that the shader compiles and links no problem, and changes the texture to a single color is also ok. Then I comment the code…
Dabo
  • 51
  • 1
  • 4
3
votes
1 answer

OpenGL ES3 framebuffer draw depth in red scale

So after hard work to make directional light shadow map work finally I can see a shadow map rendered on a quad but it is drawn only with depth GL_DEPTH_COMPONENT16 and type GL_UNSIGNED_SHORT , or GL_DEPTH_COMPONENT32F and type GL_FLOAT but it is in…
user8581488
3
votes
1 answer

Getting GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT with depth texturing

I have been trying to implement shadow-mapping for a long time, and I am using Lance Williams' technique (which is rendering the scene twice, once in light space and once in view space). However, when I call glCheckFramebufferStatus on…
clabe45
  • 2,354
  • 16
  • 27
3
votes
1 answer

OpenGL: Depth Attachment breaks Framebuffer

I need a fresh pair of eyes. While working on rewriting my engine, I stumbled upon this issue while writing the Deferred Rendering path. The framebuffer displays only if I don't use a depth attachment, which means that the rendering is faulty, but…
3
votes
1 answer

Is there a maximum allowed number of Frame Buffer Objects?

Looking to create a program that will probably use an unnecessary number of FBOs, is there an upper limit on how many can be created in a single instance?
Strawhare
  • 486
  • 5
  • 19
3
votes
1 answer

How to switch between textures/framebuffers on keypress using GLUT?

I have two buffers with .rgb images loaded. Original image is stored in frame_buffer and second one is stored in temp_buffer. I want to switch between those two images in GLUT window, when user press a button, how can I extend my code to do…
PeterB
  • 2,234
  • 6
  • 24
  • 43
3
votes
1 answer

Yocto: Can't get my beagleboard working: no framebuffer device

I have a beagleboard BB-MB-000 Rev. C4 and build a core_image_sato with Yocto and a uImage 4.4.9 from the meta-ti-layer using the recipe linux-ti-staging_4.4.bb. I tried to boot my Beagleboard from nand, because I cannot boot it from mmc. But that's…
Hochl
  • 41
  • 5
3
votes
2 answers

GLX Vsync event

I'm wondering if I could catch the screen vsync event by any file descriptor and [select | poll | epoll]ing it. Normally, if I'm right, glXSwapBuffers() doesn't block the process so I could do something like : int init() { create epollfd; …
Lewis Anesa
  • 102
  • 3
  • 12
3
votes
1 answer

Reading pixel data from xvfb

So I'm having a strange problem with xvfb. Basically I have an application running through xvfb like so: Xvfb :1 -screen 0 1920x1080x24+32 -fbdir /var/tmp & export DISPLAY=:1 gimp & And then I read the pixel data from the file like this: #include…
ktb92677
  • 407
  • 4
  • 16
3
votes
3 answers

Bind Framebuffer or set ReadBuffer?

I created a framebuffer: glBindFramebuffer(GL.GL_FRAMEBUFFER, &fbo); glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); Is reading pixels from the framebuffer via glBindFramebuffer(GL_FRAMEBUFFER,…
testman
  • 248
  • 3
  • 14
3
votes
0 answers

iPhone OpenGL ES Contexts and Framebuffers

I'm attempting to setup a framebuffer properly in order to support depth and correct perspective. I'm using the OpenGL ES Application template in XCode and I have been following the guidelines in the OpenGL ES Programming Guide. I have my renderer…
user397441
  • 31
  • 1
  • 2
3
votes
1 answer

C + Linux: How to takeover the framebuffer

I have an OpenGL application that renders directly to the framebuffer. If I start the application from the terminal, at times I will see a glimpse of the cursor flashing behind my application. Likewise, if I start it from inside a terminal emulator…
ReX357
  • 1,199
  • 3
  • 19
  • 43