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

Drawing to a FrameBuffer causes Y to be inverted

I want to use a framebuffer to create an image using a shader program. This works well, except that the Y is inverted. It seems that the bottom left corner becomes the top left corner. Why does this happen? Is this normal? Does this happen on all…
Alexanus
  • 679
  • 4
  • 22
7
votes
3 answers

OpenGL ES 2.0 FBO creation goes wrong with unknown error

I've been struggling with this for a while now, and this code crashes with, to me, unknown reasons. I'm creating an FBO, binding a texture, and then the very first glDrawArrays() crashes with a "EXC_BAD_ACCESS" on my iPhone Simulator. Here's the…
Nick
  • 2,662
  • 2
  • 25
  • 48
7
votes
2 answers

QGLWidget and fast offscreen rendering

Is it possible to render totally offscreen in a QGLWidget with Qt without the need to repaint the scene to screen thus avoiding totally the buffers flip on monitor? I need to save every frame generated on the framebuffer but, since the sequence is…
linello
  • 8,451
  • 18
  • 63
  • 109
7
votes
4 answers

Taking a Screen Shot of an Embedded Linux Framebuffer

I'm running Embedded Linux on an evaluation kit (Zoom OMAP35x Torpedo Development Kit). The board has an LCD and I would like to be able to take screen shots convert them into a gif or png. I can get the raw data by doing the following: "cp /dev/fb0…
waffleman
  • 4,159
  • 10
  • 39
  • 63
7
votes
1 answer

using linux framebuffer for graphics but disabling console text

I have some c code that draws simple graphics on the linux framebuffer console. I'm also using the raspberry pi and it's composite video output. The OS is raspbian, and i'm doing a low level solution without using X. My graphics are working well,…
user1645083
  • 81
  • 1
  • 2
7
votes
1 answer

How to get SDL to use fbcon not caca

I am trying to get started using SDL to create a portable and pretty front end that can run under X, or directly from the terminal (hopefully on a rasberry pi at some point) - at the moment I'm on a laptop with the latest Ubuntu on it. I am having…
Handy Yates
  • 73
  • 1
  • 4
7
votes
3 answers

Direct access to linux framebuffer - copyarea

I want to move very quickly a rectangle over a framebuffer in an embedded linux application. I have found that the function cfb_copyarea may be useful. But I cannot find any ioctl over the /dev/fb device to call the function. Or can this function be…
danatel
  • 4,844
  • 11
  • 48
  • 62
7
votes
1 answer

How to access a Linux Framebuffer in Mono (Mono.Cairo / GTK#)?

I'm starting to write a small application for Linux under the Mono framework, the application will essentially be a small kiosk front-end with very minimal user interaction. This is to replace a previous version of the same application which was…
Mike Insch
  • 302
  • 3
  • 14
6
votes
2 answers

DirectFB data from memory buffer

I need a very fast way of displaying a data buffer to screen. I first tried accessing the linux framebuffer and that proved to be quite good. Then I learned about directFB and I liked the extra features it provides (like fast memcpy, resizing the…
John S
  • 159
  • 1
  • 3
  • 11
6
votes
1 answer

framebuffer and using shaders in opengl

I'm quite a bit confused about framebuffers. What I want to do is using a framebuffer with multiple textures attached, fill every texture and then use a shader to combine (blend) all textures to create a new output. Sounds easy? yeah that's what I…
Donny
  • 549
  • 2
  • 10
  • 24
6
votes
4 answers

OpenGL framebuffer: can clear it, but can't draw to it

On a Mac, I've got an OpenGL setup that is working just fine apart from framebuffers - texturing works, etc. So I know that texturing is enabled, I have a valid context, etc. All works flawlessly until I try to create a framebuffer. I created a…
RedMarbleGames
  • 121
  • 2
  • 6
6
votes
2 answers

Maximum OpenGL FrameBuffer Object size limit?

I am working on an OpenGL application on my laptop. My app shows lots of black and white unrecognizable patterns when I try to display a monochrome image (quite large). I have a hunch that it could be that my old Geforce Go 7950 GTX (512 MB) is too…
Adam Lee
  • 2,983
  • 7
  • 35
  • 47
6
votes
1 answer

How to rotate a Qt5 application using the linux framebuffer?

I have an embedded linux application running directly on the linux framebuffer (no x-Windows). We now have to physically rotate the display 180 degrees. How do I get my Qt application to rotate so it doesn't appear upside down? I saw reference to…
KyleL
  • 1,379
  • 2
  • 13
  • 35
6
votes
1 answer

Writing To The Framebuffer on macOS

I would like to recreate the programs shown in this article on a Mac. Is this possible? My research so far has pointed to "no" but I don't want to give up just yet. Python is preferred but my purpose for this is simple enough that most any language…
6
votes
1 answer

Access framebuffer in Qt3D

My task: Calculate the pixel coordinates (e.g. make a snapshot) of a 3D mesh to find the 2D shape of this mesh from a specific camera angle. I'm currently using Qt3D with a QGeometryRenderer to render a scene containing a mesh to a QWidget which…
Joey
  • 63
  • 5