]> git.cworth.org Git - apitrace/blobdiff - common/trace_api.hpp
Merge branch 'directxtex'
[apitrace] / common / trace_api.hpp
index 612a8f1504f8e3935bb7fbb608aaeb139a43cf31..3d491fe1054eb66f61e96aced45676ac8a129923 100644 (file)
 namespace trace {
 
 
+/**
+ * Enum to distuinguish the API for tools.
+ *
+ * It should never be embedded in the trace file.
+ */
 enum API {
+    API_UNKNOWN = 0,
     API_GL, // GL + GLX/WGL/CGL
     API_EGL, // GL/GLES1/GLES2/VG + EGL
+    API_DX, // All DirectX
+    API_D3D7,
+    API_D3D8,
+    API_D3D9,
+    API_DXGI, // D3D10.x, D3D11.x
 };