Bug 32634 - framebuffer object seems to be broken
Summary: framebuffer object seems to be broken
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Kenneth Russell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 15:07 PST by aaron babcock
Modified: 2010-04-05 14:34 PDT (History)
1 user (show)

See Also:


Attachments
use fbo to shift texture one pixel to the left per second (13.81 KB, text/html)
2009-12-16 15:07 PST, aaron babcock
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description aaron babcock 2009-12-16 15:07:20 PST
Created attachment 45018 [details]
use fbo to shift texture one pixel to the left per second

The attached file is a hacked up version of the textured cube demo from  learningwebgl.com. I was experimenting with framebuffer objects to create the "ping pong", render to texture technique that is useful for gpgpu stuff. When loaded, you should see a canvas filled with a texture that then shifts to the left, one pixel every second. It works perfectly using the nightly builds up to revision r50918. Revision r51062 breaks. I see a rendered texture, but there is no shifting to the left. 

I am completely new to OpenGL so it is quite possible I screwed something up, but I thought I would file a bug since I was able to get it working for certain builds and not others.
Comment 1 aaron babcock 2009-12-17 08:42:04 PST
I've resolved my problem and this bug can probably be ignored. Turns out I was using the wrong width and height in my call to renderbufferStorage(). 

For some reason this doesn't matter before revision r51062, but does afterwards. Anyway, everything works now, carry on.