Rendering stalling with AutoRenderingSurface and QuadBuffer

Create issue
Issue #438 new
Former user created an issue

Automatic migration. Original reporter: "ianstangoe"

Discovered a bug when using "AutoRenderingSurface" "True" on a top-level window using OpenGL QuadBuffer. Basically the right eye image frequently freezes when navigating around menus, fading menus in/out, switching images etc.. Disabling this flag corrects the issue.

Its this issue revisited: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=2&t=5273.

I appreciate its difficult to solve without the hardware, but maybe there's an area to look into which may be obvious to the trained coder ;)

Reproducibility: always

Steps to reproduce: Use a CEGUIRQListener renderQueueListener class to render gui to a specific renderqueue.

Each frame:

  • Set left back buffer
  • Render (no buffer-flip)
  • Set right back buffer
  • Render (flip buffers)

On hover, fade in/out a window.

Set the property "AutoRenderingSurface" to "True" on a fullscreen Root DefaultWindow to which all other top-level windows are attached.

It seems that in the process of rendering the gui twice within a frame iteration, the second render intermittently but frequently doesn't synchronise its texture cache?

Any ideas why that might happen?

It seems skipping the texture caching removes the problem but it would be nice if it worked in all cases :p

Thanks.

Additional information: Not reproducable in DirectX or plain OpenGL application, however if you have any advice of code ammendments to try, I can quickly implement and test them during the day to help fix the issue.

Thanks.

OS: Windows , OS build: XP/VISTA/7, Platform: PC

Comments (2)

  1. Lukas Meindl

    I will check this out before 1.0 release again. I have Quadbuffer hardware but require a 3D display for it to work.

  2. Log in to comment