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

how to use XBMC with frame buffer?

We have cross-compiled XBMC for a Set-top-Box, board with Intel graphics card. When I run XBMC , we are getting the following errors: 10:20:09 T:3053991728 M:527937536 ERROR: CXRandR::Query - unable to open xrandr xml 10:20:09 T:3053991728…
3
votes
2 answers

Offscreen Framebuffers in OpenGL

I'm creating an iPhone game using OpenGL, and I want to draw onto an offscreen framebuffer, then using that framebuffer as a texture for drawing on the actual screen. I based my code off Apple's and the GLSprite example, but it seems I'm not doing…
HLorenzi
  • 480
  • 7
  • 17
3
votes
1 answer

glReadPixels with FBO is too slow

I am using openGL ES 2.0 and GLSL shader and working on FBO with Renderbuffer, aka offscreen rendering. It works fine with 30 fps. But when I use glReadPixels or glcopyteximage2d, it drops to 8 fps. I did something…
user2168
  • 309
  • 8
  • 15
3
votes
0 answers

How to capture screen movies records on the Linux framebuffer

How can the linux frame buffer be captured to obtain screen movies? i have understanded how to get the framebuffer and convert to a image, but i dont know how to record them to a movies. can someone tell me some way to convert the framebuffer into a…
3
votes
1 answer

Paint app, using framebuffer to render texture in OpenGL ES

I'm trying to make simple paint application, based on Apple's GLPaint. To draw a line, GLPaint draws an array of points with brush texture. With blending in OpenGL turned on, every point of that line with alpha less than 1 is blended with previous…
medvedNick
  • 4,512
  • 4
  • 32
  • 50
3
votes
1 answer

Binding multiple buffers in OpenGL ES

It is possible to bind multiple framebuffers and renderbuffers in OpenGL ES? I'm rendering into an offscreen framebuffer/renderbuffer and would prefer to just use my existing render code. Here's what I'm currently doing: // create/bind framebuffer…
MrDatabase
  • 43,245
  • 41
  • 111
  • 153
3
votes
1 answer

How do I upload sub-rectangles of image data to an OpenGLES 2 framebuffer texture?

In my OpenGLES 2 application (on an SGX535 on Android 2.3, not that it matters), I've got a large texture that I need to make frequent small updates to. I set this up as a pair of FBOs, where I render updates to the back buffer, then render the…
LightStruk
  • 1,451
  • 14
  • 17
3
votes
0 answers

Is there any way to force the linux framebuffer to display a frame instantly?

I'm making a video player in C++, which displays the video on the linux framebuffer. The frames aren't visible directly after updating, but only after the tty is updated (e.g. the cursor blinks or I hold down a key). I don't think the cpu is to slow…
MaxSilvester
  • 193
  • 1
  • 12
3
votes
1 answer

GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT trying to create multisample framebuffer

I'm trying to figure out how to create a framebuffer object that handles multisampling. Below is my attempt to get it working, but I keep getting GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT erros whenever I check my framebuffer status. I'm also getting…
kitfox
  • 4,534
  • 3
  • 17
  • 24
3
votes
1 answer

Python Webkit making web-site screenshots using virtual framebuffer

The problem is that I need capture web-site screenshots without running X server. So theoretically it's possible to create a virtual frame buffer and to use it to capture screenshot. Is there any similar solutions, any advice would be…
sultan
  • 5,978
  • 14
  • 59
  • 103
3
votes
2 answers

Writing into framebuffer with a C program is very slow (Raspberry Pi)

I want to make a very intensive simulation. I need as much power as possible from a Raspberry Pi. To make it, I flashed the card with OS Lite (without Desktop) onto a Micro SD Card and wrote to the frame buffer with a C program using this…
Merlin0216
  • 39
  • 1
  • 5
3
votes
1 answer

Is there a better/more efficient way to capture composite X windows in Linux?

As per subject I have the following pseudo-code to setup window capture in X (Linux): xdisplay = XOpenDisplay(NULL); win_capture = ...find the window to capture... XCompositeRedirectWindow(xdisplay, win_capture,…
Emanuele
  • 1,408
  • 1
  • 15
  • 39
3
votes
2 answers

Frame Buffer Object (FBO) and Render & Depth Buffers Relation

I saw many examples on the web (for example) which do the following Create and Bind FBO Create and Bind BUFFERS (texture, render, depth, stencil) Then, UnBind BUFFERS To work with FBO- Bind FBO, do the work then UnBind FBO However, also Bind…
Rudi
  • 700
  • 1
  • 8
  • 19
3
votes
1 answer

How, when to capture image to file from framebuffer in Vulkan

Working on Vulkan triangle render code, where I want to save rendered image to file instead of rendering to window. So when should I read the framebuffer and how to write in file. I guess need to convert pixels which are in raw RGBA format to some…
3
votes
2 answers

How to show an image direct from memory on RPI?

I want to create an image in PILLOW and show it on the display on a Raspberry Pi. Until now I have saved the image and have used omxiv to show the image. This is rather time consuming. from PIL import Image import os img = Image.new('RGB',…