original_docstring: Writes the GLES2 Trace Implemention.
docstring: Writes the GLES2 Trace Implemention.
docstring_tokens: Writes the GLES2 Trace Implemention .
code: def WriteGLES2TraceImplementation(self, func, file):
      """Writes the GLES2 Trace Implemention."""
      file.Write("%s GLES2TraceImplementation::%s(%s) {\n" %
                 (func.return_type, func.original_name,
                  func.MakeTypedOriginalArgString("")))
      result_string = "return "
      if func.return_type == "void":
        result_string = ""
      file.Write('  TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::%s");\n' %
                 func.name)
      file.Write("  %sgl_->%s(%s);\n" %
                 (result_string, func.name, func.MakeOriginalArgString("")))
      file.Write("}\n")
      file.Write("\n")
code_tokens: def WriteGLES2TraceImplementation ( self , func , file ) : file . Write ( "%s GLES2TraceImplementation::%s(%s) {\n" % ( func . return_type , func . original_name , func . MakeTypedOriginalArgString ( "" ) ) ) result_string = "return " if func . return_type == "void" : result_string = "" file . Write ( '  TRACE_EVENT_BINARY_EFFICIENT0("gpu", "GLES2Trace::%s");\n' % func . name ) file . Write ( "  %sgl_->%s(%s);\n" % ( result_string , func . name , func . MakeOriginalArgString ( "" ) ) ) file . Write ( "}\n" ) file . Write ( "\n" )
short_docstring: Writes the GLES2 Trace Implemention.
short_docstring_tokens: Writes the GLES2 Trace Implemention .
comment: """Writes the GLES2 Trace Implemention."""