X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Ftrace_api.hpp;h=4c896dbfaed52cf57f28a1f66cd2ae08545221a2;hb=bf8d87f389a361fd1acf47fcd7dad5a7c4e14a6b;hp=612a8f1504f8e3935bb7fbb608aaeb139a43cf31;hpb=48412ffde3dd4710c96d5e8d9cfdf1789e4d703a;p=apitrace diff --git a/common/trace_api.hpp b/common/trace_api.hpp index 612a8f1..4c896db 100644 --- a/common/trace_api.hpp +++ b/common/trace_api.hpp @@ -35,9 +35,22 @@ 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_D3D10_1, + API_D3D11, };