Index: gpu/command_buffer/service/shader_translator.cc |
diff --git a/gpu/command_buffer/service/shader_translator.cc b/gpu/command_buffer/service/shader_translator.cc |
index eb5b265fcd34ddecca5349fe25cdc86b338345f9..43b29ef1a4ab17e2a307b26c65a3e914ed892ba3 100644 |
--- a/gpu/command_buffer/service/shader_translator.cc |
+++ b/gpu/command_buffer/service/shader_translator.cc |
@@ -136,6 +136,24 @@ bool ShaderTranslator::Translate(const char* shader) { |
return success; |
} |
+const char* ShaderTranslator::translated_shader() const { |
+ return translated_shader_.get(); |
+} |
+ |
+const char* ShaderTranslator::info_log() const { |
+ return info_log_.get(); |
+} |
+ |
+const ShaderTranslatorInterface::VariableMap& |
+ShaderTranslator::attrib_map() const { |
+ return attrib_map_; |
+} |
+ |
+const ShaderTranslatorInterface::VariableMap& |
+ShaderTranslator::uniform_map() const { |
+ return uniform_map_; |
+} |
+ |
void ShaderTranslator::ClearResults() { |
translated_shader_.reset(); |
info_log_.reset(); |