Render Stability

From Second Life Wiki
Revision as of 10:38, 5 May 2011 by Rand Linden (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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