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

Simulink memory error in "frame processing mode"

Error: Cannot propagate frame-based signal through input 'MATLAB Function5' because this input expects a sample-based signal. The frame-based signal originates from 'mzmzmzcpy/MATLAB Function5/ SFunction '. Consider inserting an Unbuffer in the…
Saira Bashir
  • 17
  • 1
  • 5
0
votes
1 answer

Clear texture buffer(bytebuffer)

Guys i need your help again :) MainRenderer.java: package com.example.galaga2d; import java.nio.ByteBuffer; import java.nio.FloatBuffer; import java.nio.ByteOrder; import java.util.Random; import java.util.Vector; import…
0
votes
1 answer

"Error in the program" Can anybody clear this error..? (LINUX FRAMEBUFFER PROGRAM)

#include #include #include #include #include int main() { int fbfd = 0; struct fb_var_screeninfo vinfo; struct fb_fix_screeninfo finfo; long int screensize = 0; char fbp = 0; int x = 0, y =…
Rahul
  • 121
  • 1
  • 1
  • 3
0
votes
2 answers

GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT error while creating framebuffer with cubemap

I am trying to create framebuffer with cubemap for environment-map, but it gives GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT error while attachment of the cubemap as color attachment. void FrameBuffer::create(size_t width, size_t height) { …
Rakesh Malik
  • 607
  • 1
  • 6
  • 27
0
votes
1 answer

Rendering in Framebuffer does not effect while GL_DEPTH_TEST enabled

I am trying to render everything in a frame buffer. So i made a framebuffer with depth texture and color texture attached as shown here : http://www.opengl.org/wiki/Framebuffer_Object_Examples#Color_texture.2C_Depth_texture But nothing is rendered…
Rakesh Malik
  • 607
  • 1
  • 6
  • 27
0
votes
1 answer

Incorrect normal texture using FBO

I've a strange problem with multiple render targets. I attached 3 textures to my FBO: color, normal and position. I can correctly render color and position, but rendering normal texture yields (green and red are part of a spinning cube): In lower…
pbp
  • 1,461
  • 17
  • 28
0
votes
1 answer

CUDA: fastest way reading display buffer?

What's the fastest way to read the screen buffer using CUDA (Whole screen, not just a window)?Can I do this without copying tons of pixels between host and device? Can I access this specific buffer directly?
Kh40tiK
  • 2,276
  • 19
  • 29
0
votes
1 answer

cant project framebuffer for Reflection

water reflection just using scaling glScalef(1, 1, -1) is being blocked by terrain under water. So i think it would be better if reflection is first stored in framebuffer. but how can i project the rendered texture on the water
Rakesh Malik
  • 607
  • 1
  • 6
  • 27
0
votes
1 answer

How to change font in Framebuffer in Linux using C?

I have a graphic application under development but I am unable to change the font in that. If anyone knows about any page or link explaining the method to change fonts in framebuffer on linux, it will be very helpful.
Nitish Sahay
  • 306
  • 5
  • 14
0
votes
1 answer

Fonts on serial console and framebuffer console

I am working on framebuffer and serial console, serial console is basically a default console to see debug messages where framebuffer console is an advance console which can also show small graphics. I am confused how character gets drawn…
0
votes
0 answers

How to run multiple threads simultaneosly

I am developing an Android application that opens a video stream using the class JavaCameraView, and captures frames from it. Then, my target is to realize a worker thread that saves these frames into a buffer, and another thread that takes every…
user140888
  • 609
  • 1
  • 11
  • 31
0
votes
2 answers

OpenGL - poor performance and incorrect results while updating texture in a loop using FBOs

First of all:Windows XP SP3, 2GB RAM, Intel core 2 Duo 2.33 GHz, nVidia 9600GT 1GB RAM. OpenGL 3.3 fully updated. Short description of what I am doing:Ideally I need to put ONE single pixel in a GL texture (A) using glTexSubImage2D every frame.Then,…
user2464424
  • 1,536
  • 1
  • 14
  • 28
0
votes
1 answer

Rendering multiple overlapping non-opaque textures to a framebuffer

I'm trying to render a set of textured geometry to a single FBO, and then render that FBO to the scene. The problem is that overlapping semi-transparent areas of that geometry are not rendered correctly. They end up too opaque and dark. If I render…
0
votes
1 answer

OpenGL Frame Buffer Object - glBindFramebuffer Error

Background: I am trying to draw primitives into the default window-system framebuffer object. I have three objects which correctly get rendered. Now, I want to generate my own framebuffer object to contain these same images, but have each object…
user1298780
  • 109
  • 1
  • 2
  • 4
0
votes
1 answer

Fragmentshader and framebuffer solid colour

Dear Stackoverflowers, Lately I have been making my first baby steps in the world of shaders, using GLSL and openGL in C# with OpenTK, and I've stumbled into some problems which I seem to be unable to solve. I started off with one shader program and…
Perry
  • 98
  • 7