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

Is a fullscreen 8 bit framebuffer possible in X11, and if so, what am I doing wrong?

I'm trying to get a fullscreen 8 bit depth framebuffer but I can't find any visual to work with. I want 8 bit truecolor, where 3 bits are red, 3 bits are green and 2 bits are blue. I'm using XF86 to go fullscreen. // pass int found =…
ytrp
  • 271
  • 2
  • 8
0
votes
1 answer

pyopengl: glFramebuffer function errors

The following functions does not work for me (pyopengl and opengl 4.2). Am I doing something wrong? glGetIntegerv(GL_MAX_FRAMEBUFFER_WIDTH) KeyError: ('Unknown specifier GL_MAX_FRAMEBUFFER_WIDTH (0x9315)', 'Failure in cConverter ',…
Mads M Pedersen
  • 579
  • 6
  • 16
0
votes
1 answer

Get Texture location from CC3Vector node location

I have a loaded POD file with one node. I calculated the correct surface position from touch with the unproject method. Now i want to draw on the texture (stored in Framebuffer) with the readColorContentFrom method. Ho do I get the pixel location…
Philsen
  • 45
  • 1
  • 5
0
votes
1 answer

Difference between render buffer attachment and texture attachment

We can depth and color attachment for texture object and render buffer object, what is the difference between two?
debonair
  • 2,505
  • 4
  • 33
  • 73
0
votes
1 answer

OpenGL - Using glReadPixels to read depth component returns incorrect values

I'm trying to read out the pixels of a texture that only has a depth component, however glReadPixels gives me an array where every value = 1. Texture / Framebuffer creation: GLuint…
Silverlan
  • 2,783
  • 3
  • 31
  • 66
0
votes
0 answers

How to show text on /dev/fb* c++ linux

How to show text on /dev/fb* c++ linux? I mean like ./my_prog my_text /dev/fb0 I found only some ezfb project but it`s not what I need and no fbdev :P
sssemil
  • 279
  • 6
  • 15
0
votes
1 answer

OpenGL ES 2.0 SL writing out from fragment shader to texture

Hopefully this is a really simple question. How to write out to a texture attached to framebuffer from within a fragment shader. I assume it is just gl_FragColor, am I suppose to define/use a different variable, like gl_Data[0]? Frag Shader: …
HPP
  • 1,074
  • 1
  • 13
  • 28
0
votes
1 answer

Alternative to glFramebufferTexture for OpenGL3.1

I'm working with hardware that only supports OpenGL3.1, so 'glFramebufferTexture' is not available. Here's my code at the moment: GLuint frameBuffer; glGenFramebuffers(1,&frameBuffer); glBindFramebuffer(GL_FRAMEBUFFER,frameBuffer); GLuint…
Silverlan
  • 2,783
  • 3
  • 31
  • 66
0
votes
2 answers

attach two images to fbo for mrt rendering

I want to attach two render targets to a fbo, so I can render to two targets at once. I have one function that accepts two render targets. void render(struct glhexbutton *_this, GLuint target0, GLuint target1) { GLenum buffers[2]; GLfloat…
user2798943
  • 197
  • 2
  • 11
0
votes
1 answer

NSight crash at frame profile

I'm using Visual Studio 2012. Nsight Visual Studio: Version 3.2.2 Build Number: 3.2.2.13342 My Graphics Card Information: GeForce GT 720M Driver version: 33182 Directx 3D version: 11.1 OpenGL 4.4 Each time I try to pause and capture a frame, and…
khanhhh89
  • 317
  • 5
  • 19
0
votes
2 answers

How to tell if /dev/ttyX is Textbased?

i want to find all text-based ttys. How can i tell that a tty is not running a graphical system like X? I didnt find any ioctl doing this. Thanks in advance!
Markus
  • 33
  • 5
0
votes
0 answers

How does framebuffer get updated in qemu running kvm/arm

I am running qemu-system-arm with kvm following this tutorial : http://www.virtualopensystems.org/media/chromebook/chromebook.pdf After reading some documentations (mostly blogs, lkml, and mailing list archives) and skim through codes (qemu, kvm,…
Isa A
  • 1,342
  • 13
  • 31
0
votes
1 answer

Using layered rendering with default framebuffer

I know that we can attach a layered texture which is: A mipmap level of a 1D/2D texture array A mipmap levevl of a 3D texture A mipmap levevl of a Cube Texture/ Cube Texture Array to a FBO and do layered rendering. The OpenGL wiki also says…
viktorzeid
  • 1,521
  • 1
  • 22
  • 35
0
votes
3 answers

Qt for embedded: Cannot open framebuffer device

I have built a small linux using Buildroot. I have included QT for embedded and support for framebuffer devices, but I am unable to run the Qt examples from it. I want to run GUI without X server. When running…
AlexandruC
  • 3,527
  • 6
  • 51
  • 80
0
votes
1 answer

How can I draw contents from a WebGL framebuffer into my canvas' backbuffer?

I have an existing framebuffer (with color and depth information) that I need to composite with the canvas' backbuffer (drawing buffer). How can I draw the contents from one framebuffer into the backbuffer? Alternatively, if there is a way to…
Eric
  • 1,414
  • 3
  • 16
  • 35