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

Can I specify a viewport per render target?

First my problem: I'm trying to render to multiple buffers in an FBO. I set multiple buffers using glDrawBuffers, and rendering to them using the appropriate gl_FragData. All good and well, but in my situation one of the buffers should be…
KillianDS
  • 16,936
  • 4
  • 61
  • 70
0
votes
1 answer

glXCreateContextAttribsARB: fb config compatibility

OpenGL doc states that If glXCreateContextAttribsARB succeeds, it initializes the context to the initial state defined by the OpenGL specification, and returns a handle to it. This handle can be used to render to any GLX surface (window,…
0
votes
3 answers

how to render android screen to a web page in realtime

i'm working on something to remote control android from web browser. something like canvas or flash will draw the android device's screen, and i want it to be very smoothly. as i know, we can capture android screen using frame buffer. there a lot of…
Rain Lee
  • 13
  • 5
0
votes
1 answer

Android surface flickering between buffers

I am having a problem with my Android system. It is running on a custom platform and when I boot up the device the screen flickers between the bootanim and the console "A N D R O I D " screen. When the bootanim redraws itself it is visible but then…
Markus
  • 589
  • 1
  • 6
  • 19
0
votes
1 answer

why take screen shot from framebuffer is very slow on android?

Taking screenshot from framebuffer with /dev/graphics/fb0 is very slow(200~300ms). How can i make it faster? byte[] request = formAdbRequest("framebuffer:");
user199403
  • 483
  • 1
  • 6
  • 11
0
votes
2 answers

storing two data types in a single bigger data type

A bit of introduction to the problem, I tried searching about this on google/stack before I post this but most of them were unclear. I have a cortex-a8 based board on which I'm running a bare metal RTOS, The display (framebuffer) is a bit slow…
sgupta
  • 1,214
  • 2
  • 15
  • 29
0
votes
1 answer

OpenGLES issues with framebuffer

Been dabbling with OpenGLES and having varying levels of success. My current problem is trying to load a .obj file. I found a great GLOBJLoader that I've been to implement in my current project but am not quite there yet. Here is my code -…
Matthew Hallatt
  • 1,310
  • 12
  • 24
0
votes
1 answer

Framebuffers, textures and glColor behavior in OpenGL/OpenGL ES

I apologize in advance if this question seems confused. The behaviour I am seeing makes no sense to me. I have a Framebuffer rendering to a texture. I render solid rectangles of red, green, blue of varying opacity to this texture. I then render the…
Marc Butler
  • 1,346
  • 7
  • 13
0
votes
1 answer

openGL FBO copy to texture results in black/dark image

In my program it is necessary for me to do off-screen rendering. For that purpose I use a FBO. In order to see if the image I draw is the correct for testing purposes I copy it from the FBO to a texture then render the texture to a quad. The problem…
Ray
  • 339
  • 3
  • 12
0
votes
0 answers

Is a simple texture cheaper than an FBO with a texture attachment?

I'm manipulating image masks runtime. Now I'm using a separate FBO to render the masked image to a texture, then draw the result to the screen. I'm just wondering if this another approach would be cheaper (regarding memory): Draw the image with a…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
0
votes
1 answer

How to avoid flickering with uncleared framebuffers (iOS)?

When I don't clear the default framebuffer, or just draw only a portion of it, I can see some flickering from previously drawn frames. I can see that this is something connected to the iOS EAGLLayer renderbuffer policy, but I don't understand whats…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
0
votes
1 answer

What is faster? Framebuffer color attachment or full screen texture quad?

I want to draw fullscreen frames of a sequence, and switch between them fast. I saw that I could attach multiply color attachments to a framebuffer. I'm wondering if it could be far cheaper to use renderbuffer attachments instead of the current…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
0
votes
2 answers

Using renderbuffer only (without framebuffer) to draw offscreen content?

Do I have to generate and bind a framebuffer for every renderbuffer I create? Or is there a chance to create renderbuffer only (and map it to a texture or submit somehow to the sahders)? I just want to render to a one channel buffer to create some…
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
0
votes
1 answer

arm, Programming PL111 controller and printing characters on the LCD

I am trying to write a bare metal code to program PL111 LCD controller. I am using QEMU emulator set up for Realview ARM Cortex-A8. I earlier managed to print characters on the linux terminal window using QEMU's "-serial stdio" option. I have gone…
san216
  • 85
  • 1
  • 11
-1
votes
1 answer

Framebuffer object picking

I am trying to use a frame buffer for object picking and trying to use stbi_write_png to see what i'm rendering as this frame buffer is not going to be rendered to the screen. I want to use unsigned ints to determine the object id. This is the frame…
BackSpace7777777
  • 159
  • 3
  • 13