OpenGL Flip buffer sometimes fail

Nibbie
Posts: 3
Joined: 2008.07
Post: #1
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
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #2
If you can reproduce the problem in one of apple's sample apps I would report it as a bug

bugreport.apple.com
Quote this message in a reply
Nibbie
Posts: 3
Joined: 2008.07
Post: #3
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
Quote this message in a reply
Nibbie
Posts: 3
Joined: 2008.07
Post: #4
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
Quote this message in a reply
Member
Posts: 87
Joined: 2006.08
Post: #5
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.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Depth Buffer woes in OpenGL ES 2.0 Macmenace 5 7,237 Mar 8, 2010 10:45 AM
Last Post: Macmenace
  OpenAl fail on 3GS Ngapi 7 3,277 Jan 13, 2010 02:22 PM
Last Post: AnotherJake
  opengl es 2.0 and the stencil buffer NelsonMandella 1 4,683 Sep 30, 2009 06:09 AM
Last Post: arekkusu
  Do you activate depth buffer when doing 2D games and opengl es? riruilo 13 8,539 Apr 3, 2009 11:02 AM
Last Post: miq01
  Texture2d rainbow effect on flip THRESHE 15 6,418 Mar 19, 2009 08:33 AM
Last Post: AnotherJake