Render Stability

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
KBwarning.png

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.


Objectives

  • 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

Tasks

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