gpu/command_buffer/build_cmd_buffer_lib.py
def WriteCommonUtilsHeader(self, filename):
    """Writes the gles2 common utility header."""
    with CHeaderWriter(filename, self.year) as f:
      type_infos = sorted(self.named_type_info.keys())
      for type_info in type_infos:
        if self.named_type_info[type_info]['type'] == 'GLenum':
          f.write("static std::string GetString%s(uint32_t value);\n" %
                     type_info)
      f.write("\n")
    self.generated_cpp_filenames.append(filename)
Writes the gles2 common utility header.
Writes the gles2 common utility header.
Writes the gles2 common utility header .
def WriteCommonUtilsHeader(self, filename):
    with CHeaderWriter(filename, self.year) as f:
      type_infos = sorted(self.named_type_info.keys())
      for type_info in type_infos:
        if self.named_type_info[type_info]['type'] == 'GLenum':
          f.write("static std::string GetString%s(uint32_t value);\n" %
                     type_info)
      f.write("\n")
    self.generated_cpp_filenames.append(filename)
def WriteCommonUtilsHeader ( self , filename ) : with CHeaderWriter ( filename , self . year ) as f : type_infos = sorted ( self . named_type_info . keys ( ) ) for type_info in type_infos : if self . named_type_info [ type_info ] [ 'type' ] == 'GLenum' : f . write ( "static std::string GetString%s(uint32_t value);\n" % type_info ) f . write ( "\n" ) self . generated_cpp_filenames . append ( filename )
Writes the gles2 common utility header.
Writes the gles2 common utility header .
"""Writes the gles2 common utility header."""
self
filename