OpenGL Flip buffer sometimes fail
Hey there I have a little glitch in my iphone game, when I flip screen buffer in opengl, sometimes the screen goes messy, draws goes to one buffer and I can see another backbuffer blinking over it. I dont know if you see what I mean, I can see the exact same problem in the SDK from apple sample called Crash Landing sometimes.
Any idea appreciated !
Julien meyer
Any idea appreciated !
Julien meyer
If you can reproduce the problem in one of apple's sample apps I would report it as a bug
bugreport.apple.com
bugreport.apple.com
kodex Wrote:If you can reproduce the problem in one of apple's sample apps I would report it as a bug
bugreport.apple.com
I post into Developers forum on apple.com
I also have another issue using accelerometer :
http://discussions.apple.com/thread.jspa...1
Hope someone could help us as its a bit annoying before releasing our apps on the store!
Thanks,
Julien meyer
Jadegame.com
Hello,
Seems to be a bug linked to kEAGLColorFormatRGB565..
Work-around found I use kEAGLColorFormatRGBA8 instead of kEAGLColorFormatRGB565 and it always works :
[eaglLayer setDrawableProperties:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:NO], kEAGLDrawablePropertyRetainedBacking, kEAGLColorFormatRGBA8/*kEAGLColorFormatRGB565*/, kEAGLDrawablePropertyColorFormat, nil]];
_format = kEAGLColorFormatRGBA8; //kEAGLColorFormatRGB565;
Cheers,
Julien Meyer
http://JadeGame.Com
Seems to be a bug linked to kEAGLColorFormatRGB565..
Work-around found I use kEAGLColorFormatRGBA8 instead of kEAGLColorFormatRGB565 and it always works :
[eaglLayer setDrawableProperties:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:NO], kEAGLDrawablePropertyRetainedBacking, kEAGLColorFormatRGBA8/*kEAGLColorFormatRGB565*/, kEAGLDrawablePropertyColorFormat, nil]];
_format = kEAGLColorFormatRGBA8; //kEAGLColorFormatRGB565;
Cheers,
Julien Meyer
http://JadeGame.Com
SunHpp Wrote:I post into Developers forum on apple.com
That isn't filing a bug. Those forums are not monitored by Apple at all. Otherwise, people wouldn't be talking about the iPhone SDK there.
If you don't file a bug, it won't get fixed.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Depth Buffer woes in OpenGL ES 2.0 | Macmenace | 5 | 6,076 |
Mar 8, 2010 10:45 AM Last Post: Macmenace |
|
| OpenAl fail on 3GS | Ngapi | 7 | 3,030 |
Jan 13, 2010 02:22 PM Last Post: AnotherJake |
|
| opengl es 2.0 and the stencil buffer | NelsonMandella | 1 | 4,131 |
Sep 30, 2009 06:09 AM Last Post: arekkusu |
|
| Do you activate depth buffer when doing 2D games and opengl es? | riruilo | 13 | 7,237 |
Apr 3, 2009 11:02 AM Last Post: miq01 |
|
| Texture2d rainbow effect on flip | THRESHE | 15 | 6,099 |
Mar 19, 2009 08:33 AM Last Post: AnotherJake |
|

