From: José Fonseca Date: Wed, 14 Nov 2012 11:46:11 +0000 (+0000) Subject: parse: recognize more rendering calls. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;ds=sidebyside;h=be6b2e76b2a5c529eec85cab10732444143c87d5;p=apitrace parse: recognize more rendering calls. --- diff --git a/common/trace_parser_flags.cpp b/common/trace_parser_flags.cpp index 78a0955..5347090 100644 --- a/common/trace_parser_flags.cpp +++ b/common/trace_parser_flags.cpp @@ -57,6 +57,23 @@ const Entry callFlagTable[] = { { "CGLFlushDrawable", CALL_FLAG_END_FRAME }, { "CGLGetCurrentContext", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE }, + { "ID3D10Device1::Draw", CALL_FLAG_RENDER }, + { "ID3D10Device1::DrawAuto", CALL_FLAG_RENDER }, + { "ID3D10Device1::DrawIndexed", CALL_FLAG_RENDER }, + { "ID3D10Device1::DrawIndexedInstanced", CALL_FLAG_RENDER }, + { "ID3D10Device1::DrawInstanced", CALL_FLAG_RENDER }, + { "ID3D10Device::Draw", CALL_FLAG_RENDER }, + { "ID3D10Device::DrawAuto", CALL_FLAG_RENDER }, + { "ID3D10Device::DrawIndexed", CALL_FLAG_RENDER }, + { "ID3D10Device::DrawIndexedInstanced", CALL_FLAG_RENDER }, + { "ID3D10Device::DrawInstanced", CALL_FLAG_RENDER }, + { "ID3D11DeviceContext::Draw", CALL_FLAG_RENDER }, + { "ID3D11DeviceContext::DrawAuto", CALL_FLAG_RENDER }, + { "ID3D11DeviceContext::DrawIndexed", CALL_FLAG_RENDER }, + { "ID3D11DeviceContext::DrawIndexedInstanced", CALL_FLAG_RENDER }, + { "ID3D11DeviceContext::DrawIndexedInstancedIndirect", CALL_FLAG_RENDER }, + { "ID3D11DeviceContext::DrawInstanced", CALL_FLAG_RENDER }, + { "ID3D11DeviceContext::DrawInstancedIndirect", CALL_FLAG_RENDER }, { "IDirect3D9::CheckDeviceFormat", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE }, { "IDirect3D9::EnumAdapterModes", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE }, { "IDirect3D9::GetAdapterModeCount", CALL_FLAG_NO_SIDE_EFFECTS | CALL_FLAG_VERBOSE },