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

Is there a way to access the main graphics context of the HTML page?

Possible Duplicate: Using HTML5/Canvas/Javascript to take screenshots Is there a way to copy the main graphics context of the HTML page into a canvas? From Javascript, I'd like to grab a "screen shot" of the current visible HTML page and copy it…
J Sprague
  • 1,008
  • 11
  • 15
0
votes
1 answer

Create Buffer OpenGLES 2

I am having some problem with the creation of frame buffer with opengles. For my application, I create the main frame buffer like this: glGenFramebuffers( 1, &viewFramebuffer ); glGenRenderbuffers( 1, &viewRenderbuffer ); glBindFramebuffer(…
Silouane
  • 432
  • 6
  • 13
0
votes
1 answer

processing FrameBuffer Error

I am trying to make a processing program, but if I use P2D, P3D, or OPENGL mode I get an error: com.sun.jdi.VMDisconnectedException at com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:285) at…
SuperKael
  • 226
  • 2
  • 11
0
votes
1 answer

OpenGL depth texture artifacts

I'm implementing shadow mapping for my little 3d engine. However, there seem to be artifacts in the depth texture, which can be seen by using the texture and observing the shadows, or drawing the depth texture on a quad. Here is what the depth…
0
votes
0 answers

few doubts about Android Framebuffer

I have few doubts about the Android Framebuffer, Is it same as Linux Framebuffer ? where do we allocate the two buffer(for double buffering) exactly (code wise also)? How MDP know which buffer it needs to use to get the frame data ? How MDP signals…
Rahul
  • 1,607
  • 3
  • 23
  • 41
0
votes
1 answer

What does `PAGE_ALIGN` do to and `unsigned int`? shouldn't it get an address?

In some framebuffer configuration code I had seen these lines: static unsigned int max_size = 0; max_size = max(max_size, 8*(mi->xres * (mi->xres + mi->yres))); } max_size = PAGE_ALIGN(max_size); What does PAGE_ALIGN do to and unsigned int?…
0x90
  • 39,472
  • 36
  • 165
  • 245
0
votes
1 answer

Is there a new skeleton for framebuffer in linux kernel?

I found that you redesign this skeleton on 2001: http://lxr.free-electrons.com/source/drivers/video/skeletonfb.c Does it still hold? or there are any new guidelines?
0x90
  • 39,472
  • 36
  • 165
  • 245
0
votes
1 answer

GL_INVALID_VALUE from glFramebufferTexture2DEXT only after delete/realloc texture

I have some C# (SharpGL-esque) code which abstracts OpenGL frame buffer handling away to simple "set this texture as a 'render target'" calls. When a texture is first set as a render target, I create an FBO with matching depth buffer for that size…
El Zorko
  • 3,349
  • 2
  • 26
  • 34
0
votes
0 answers

XOrg internal rendering design

I've written a minimalist xserver that I run on a slow test machine. It simply uses the video framebuffer. When I move a window (of any size) in twm, it moves quickly and cleanly, but it "trembles" and it's like there were bad screen update…
Guigeek
  • 21
  • 4
0
votes
1 answer

Framebuffer Object not working in Qt 4.8.1

I'm currently working on OpenGL in Qt and trying to create a framebuffer object using following call glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, GL_TEXTURE_2D, scene_img, 0); When I try to compile my project I get…
anopheles
  • 434
  • 1
  • 9
  • 19
0
votes
2 answers

Capture Android screen as a video file using FFmpeg

I am trying to capture an Android device's screen as a video file using FFmpeg with this command: /data/local/ffmpeg -y -vcodec rawvideo -f rawvideo -pix_fmt rgb32 -s 320x480 -i /dev/graphics/fb0 /sdcard/output2.avi 2> /sdcard/out.txt This creates…
jacob
  • 1,397
  • 1
  • 26
  • 53
0
votes
1 answer

mplayer under uvesafb frame buffer will show black screen before playing video

I'm try using mplayer to play video under frame buffer, and I'm using uvesafb as the frame buffer driver. The board is VIA EPIA-N800 The grub boot setting is: /boot/vmlinuz-2.6.32 root=UUID=7ece6c10-7255-4f21-8cd8-edb096233969 ro quiet console=tty2…
billy3321
  • 85
  • 1
  • 1
  • 6
0
votes
1 answer

How can I transfer the raw data from `/dev/graphics/fb0` to a picture using a python script?

Following this: $ adb shell # cat /dev/graphics/fb0 > /sdcard/frame.raw # exit How can I transfer the raw data from /dev/graphics/fb0 to a picture using a python script? what each byte is represent in the raw data output? is it RGB values for each…
0x90
  • 39,472
  • 36
  • 165
  • 245
0
votes
1 answer

Unable to get Stencil Buffer to work in iOS 4+ (5.0 works fine). [OpenGL ES 2.0]

So I am trying to use a stencil buffer in iOS for masking/clipping purposes. Do you guys have any idea why this code may not work? This is everything I have associated with Stencils. On iOS 4 I get a black screen. On iOS 5 I get exactly what I…
MurderDev
  • 157
  • 1
  • 10
0
votes
1 answer

Difference between GClock and Clock Buffer Replacement Policies?

What is the difference between GClock and Clock replacement policies?
user1590639