summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 04:21:26 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-07 04:21:26 +0000
commit2a22fe7726d3bda473324f7df9841701dd69e746 (patch)
treeee483363ca256652a17cfb2d75dc2dc4deaca630 /gpu
parentae638fbe27488ec31f2f8e4459aeb6c8312f346a (diff)
downloadchromium_src-2a22fe7726d3bda473324f7df9841701dd69e746.zip
chromium_src-2a22fe7726d3bda473324f7df9841701dd69e746.tar.gz
chromium_src-2a22fe7726d3bda473324f7df9841701dd69e746.tar.bz2
Suppress debug output
I left one debug output. Doh. See https://chromiumcodereview.appspot.com/11444025/ TBR=apatrick@chromium.org BUG=none Review URL: https://codereview.chromium.org/11472017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 78aa414..1de4299 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -803,14 +803,16 @@ class GLES2DecoderImpl : public GLES2Decoder {
#else
void LogClientServiceMapping(
const char* function_name, GLuint client_id, GLuint service_id) {
- DLOG(INFO) << "[" << GetLogPrefix() << "] " << function_name
- << ": client_id = " << client_id
- << ", service_id = " << service_id;
+ if (service_logging_) {
+ DLOG(INFO) << "[" << GetLogPrefix() << "] " << function_name
+ << ": client_id = " << client_id
+ << ", service_id = " << service_id;
+ }
}
template<typename T>
void LogClientServiceForInfo(
T* info, GLuint client_id, const char* function_name) {
- if (service_logging_ && info) {
+ if (info) {
LogClientServiceMapping(function_name, client_id, info->service_id());
}
}