summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/cmd_parser.h
diff options
context:
space:
mode:
authorjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 22:55:38 +0000
committerjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 22:55:38 +0000
commit43ed3a7d4a4a043220dd01677ec2fc39451df852 (patch)
treee06617271d1bcf9e046b402fc8419fa07b4a93d8 /gpu/command_buffer/service/cmd_parser.h
parent3e3ce571d775271ebbf0026f27eea5fddbaf3481 (diff)
downloadchromium_src-43ed3a7d4a4a043220dd01677ec2fc39451df852.zip
chromium_src-43ed3a7d4a4a043220dd01677ec2fc39451df852.tar.gz
chromium_src-43ed3a7d4a4a043220dd01677ec2fc39451df852.tar.bz2
Put GL-command tracing behind a flag because it's too heavy normally.
We always want to trace some of the heavier GL commands, so those have been re-added from https://chromiumcodereview.appspot.com/10443048/. Turns out that with --trace-gl on, the trace buffer typically fills up after ~3 seconds, so the default behavior should probably be to not trace these. R=apatrick Review URL: https://chromiumcodereview.appspot.com/10442090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/cmd_parser.h')
-rw-r--r--gpu/command_buffer/service/cmd_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/cmd_parser.h b/gpu/command_buffer/service/cmd_parser.h
index de2fe29..c808c4e 100644
--- a/gpu/command_buffer/service/cmd_parser.h
+++ b/gpu/command_buffer/service/cmd_parser.h
@@ -69,6 +69,7 @@ class GPU_EXPORT CommandParser {
CommandBufferEntry* buffer_;
int32 entry_count_;
AsyncAPIInterface* handler_;
+ bool trace_gl_commands_;
};
// This class defines the interface for an asynchronous API handler, that