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

Can Tensorflow models run object detection in openGL framebuffer/textures without reading back to CPU

Background: I have a pipeline that uses a series of OpenGL shaders to processes webcam source footage and locate a feature (it's always the same feature and there is only one feature that I am ever looking for). The only thing that is read back to…
Corada
  • 307
  • 2
  • 10
11
votes
2 answers

How to read the current frame buffer in android?

Is there a method to read the frame buffer of the current screen? I searched some data about the frame buffer. Some one used the glReadPixels method, but the information was not enough. Does anyone know how to read the current frame buffer in…
Vic
  • 121
  • 1
  • 1
  • 3
11
votes
2 answers

Linux Framebuffer set resolution correctly

I have a RaspberryPi and want to display an image fullscreen without xserver - so write it directly to the framebuffer. No problem here. But setting it fullscreen doesn't work. cat…
user3696412
  • 1,321
  • 3
  • 15
  • 33
10
votes
2 answers

GL_DRAW/READ_FRAMEBUFFER vs GL_FRAMEBUFFER?

I've noticed that there now are the GL_DRAW/READ_FRAMEBUFFER extensions. Currently I am simply using GL_FRAMEBUFFER and glTextureBarrierNV. However, I have not found that much about the READ/WRITE extensions and thus have some questions. What OpenGL…
ronag
  • 49,529
  • 25
  • 126
  • 221
10
votes
1 answer

How to use depth testing when rendering to an offscreen buffer then onto texture

I'm rendering my scene to a texture. This works fine except that depth testing does not work. How do I enable depth testing if rendering to an offscreen texture? I'm using the FrameBuffer class…
user491880
  • 4,709
  • 4
  • 28
  • 49
10
votes
1 answer

Concept: what is the use of glDrawBuffer and glDrawBuffers?

I am reading the red book OpenGL programming guide when I come across these two methods, which strikes me as unnecessary since we already can specify which color buffer the output is going to go to with layout (location = ) or…
Manh Nguyen
  • 373
  • 3
  • 12
10
votes
1 answer

What is the relationship between framebuffer, VT, and tty?

I'm now studying what is the mechanism behind Ctrl+Alt+F1~F7. I found some infomation talk about framebuffer, VT, and tty. I know framebuffer is an anstraction to graphic card manipulation and tty(and pts) is something a program interact with. I…
Jisa
  • 101
  • 1
  • 4
10
votes
1 answer

Writing to then reading from an offscreen FBO on iPhone; works on simulator but not on device?

I'm trying to do some image manipulation on the iPhone, basing things on the GLImageProcessing example from Apple. Ultimately what I'd like to do is to load an image into a texture, perform one or more of the operations in the example code (hue,…
10
votes
1 answer

Is a linux framebuffer driver a video card driver?

I have little background on how these hardware actually works, but now I'm required to learn how to write a Linux frame buffer driver for Android devices. I'm confused by Linux graphics stack. From what I understand, on a desktop computer the…
Mingheng Wang
  • 125
  • 2
  • 9
10
votes
3 answers

How to efficiently draw framebuffer content?

I need to display RAM-based framebuffer for a virtual GPU device that doesn't have real display connected to it. What I have is mmap'ed chunk of memory after DRM_IOCTL_MODE_MAP_DUMB in RGB32 format. Currently I'm using MIT-SHM shared pixmap created…
user708549
10
votes
1 answer

Why would glBindFramebuffer(GL_FRAMEBUFFER, 0) result in blank screen in cocos2D-iphone?

[iPad-3]-[iOS 5.0]-[Objective-C]-[XCode 4.3.3]-[Cocos2D]-[openGL|ES 2.0] I'm learning how to use openGL|ES 2.0 and have stumbled on Frame Buffer Objects (FBO)s Info: I'm working with Cocos2D which has a lot of extra-fancy handling for drawing. I…
Jono Tho'ra
  • 1,476
  • 3
  • 18
  • 28
9
votes
1 answer

full featured HTML rendering engine like WebKit/Gecko for embedded Linux?

I want to use HTML+CSS+JavaScript to develop a user interface for a touchscreen device in a Linux environment and need a suitable rendering engine. The device in question will have a ARM CPU with 400 to 900 MHz clock, a VGA or WVGA display and…
Udo G
  • 12,572
  • 13
  • 56
  • 89
9
votes
1 answer

Writing to frame buffer

I'm using an i5 core with builtin graphics accelerator GMA-HD running on an RHEL 6.0 OS. I needed to test the graphics acceleration capabilities of the graphics driver(which I found out was i915 in my PC). I used the following code(which I got from…
NRJ
  • 91
  • 1
  • 1
  • 2
9
votes
0 answers

How to write a virtual framebuffer driver for Mac?

So, I want to write a virtual monitor driver for mac. This is something similar to what screen recycler app does. I've been reading so many resources about driver programming and kext in general and I've done the basic iokit driver tutorial from…
Arvind
  • 730
  • 10
  • 20
9
votes
1 answer

How to restore a GL_RENDERBUFFER?

I am working on storing and restoring my OpenGL ES based application's state. I have a function to save the GL_RENDERBUFFER to dump the data with the following code: glBindFramebuffer(GL_FRAMEBUFFER,…
Jeshua Lacock
  • 5,730
  • 1
  • 28
  • 58
1 2
3
76 77