Reply to comment

API - один. Транслятор (прямо из C-like исходного кода) - в драйвере (результаты трансляции можно сохранить, чтобы каждый раз не перетранслировать).
Все примерно как в OpenGL.
Устройство можно спросить что оно поддерживает и подать на него соответствующий код.

Скорее всего, как оно и случилось в OpenGL, совместимость со временем нарушится - появятся всякие расширения (только NV или только ATI), которые будут позволять что-то ускорить или улучшить, но пока этого нет.

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <table> <td> <tr> <th>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.

More information about formatting options

Copyright © 2008-2011 Alex Tutubalin