Index: gpu/command_buffer/service/program_manager.cc |
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc |
index 9f1d10d64a2fc6e6214aa06363da7db3f7b93d36..3e222272aad6729602cf53ca5953a95f87ada545 100644 |
--- a/gpu/command_buffer/service/program_manager.cc |
+++ b/gpu/command_buffer/service/program_manager.cc |
@@ -355,20 +355,6 @@ void Program::Update() { |
attrib_location_to_index_map_[info.location] = ii; |
} |
-#if !defined(NDEBUG) |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableGPUServiceLoggingGPU)) { |
- DLOG(INFO) << "----: attribs for service_id: " << service_id(); |
- for (size_t ii = 0; ii < attrib_infos_.size(); ++ii) { |
- const VertexAttrib& info = attrib_infos_[ii]; |
- DLOG(INFO) << ii << ": loc = " << info.location |
- << ", size = " << info.size |
- << ", type = " << GLES2Util::GetStringEnum(info.type) |
- << ", name = " << info.name; |
- } |
- } |
-#endif |
- |
max_len = 0; |
GLint num_uniforms = 0; |
glGetProgramiv(service_id_, GL_ACTIVE_UNIFORMS, &num_uniforms); |
@@ -433,22 +419,6 @@ void Program::Update() { |
} |
} |
-#if !defined(NDEBUG) |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableGPUServiceLoggingGPU)) { |
- DLOG(INFO) << "----: uniforms for service_id: " << service_id(); |
- for (size_t ii = 0; ii < uniform_infos_.size(); ++ii) { |
- const UniformInfo& info = uniform_infos_[ii]; |
- if (info.IsValid()) { |
- DLOG(INFO) << ii << ": loc = " << info.element_locations[0] |
- << ", size = " << info.size |
- << ", type = " << GLES2Util::GetStringEnum(info.type) |
- << ", name = " << info.name; |
- } |
- } |
- } |
-#endif |
- |
valid_ = true; |
} |