commit | 5dc3b8b47659e9632bc35277d4069610ccb0aabf | [log] [tgz] |
---|---|---|
author | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Wed Nov 28 19:43:49 2012 +0000 |
committer | daniel@transgaming.com <daniel@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Wed Nov 28 19:43:49 2012 +0000 |
tree | cebc6e3f9745029d89006165cffbadbfd9bffc28 | |
parent | 7cfb53f305e441dec8f656c403cf8c59423cde1c [diff] |
Don't call gl::output unless perf is enabled. gl::output allocates a pretty large stack buffer, so it has to call _chkstk. This is rather slow, so avoid calling gl::output if perf and tracing are disabled. BUG= Review URL: https://codereview.appspot.com/6843043 git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1471 736b8ea6-26fd-11df-bfd4-992fa37f6226