Render Stability

From Second Life Wiki
Jump to navigation Jump to search

This article is obsolete, but kept as a historical record. Do not rely on this information in any way. However, it may be used in the future, so please do not delete or modify.


  • Intermediate goal: Abstract OpenGL calls so that state can be tracked for the purpose of isolating GL driver bugs
  • Ultimate goal: Abstract all OpenGL usage so that SecondLife can be easily ported to another renderer (e.g. DirectX)

See Also


GL Cleanup

  • Reduce the number of places the viewer makes calls to OpenGL so that markers can be set before each call
    • Then, if the viewer crashes even without generating a call stack, the marker value is returned, helping to isolate where the crash occurred

GL Abstraction

  • Complete LLVertexBuffer abstraction
  • Material abstraction
    • shader and texture setup
  • Vertex Buffer Auditing
  • Minimize LLGLState Calls