X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Ftrace_api.hpp;h=3d491fe1054eb66f61e96aced45676ac8a129923;hb=a4bcf6ae9c4988600a7c4b5b8f9ee37528f342d4;hp=ed4823f5cab2492a3bdeb2abce2872298d2bc2aa;hpb=386cc5f765586bd9725bdb8219b24b4269a9cf45;p=apitrace diff --git a/common/trace_api.hpp b/common/trace_api.hpp index ed4823f..3d491fe 100644 --- a/common/trace_api.hpp +++ b/common/trace_api.hpp @@ -35,13 +35,20 @@ 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_D3D10, + API_DXGI, // D3D10.x, D3D11.x };