gpu/command_buffer/build_cmd_buffer_lib.py
def WriteGetCode(self, f):
    """Writes the code to get an argument from a command structure."""
    if self.type == 'GLsync':
      my_type = 'GLuint'
    else:
      my_type = self.type
    f.write("  %s %s = static_cast<%s>(c.%s);\n" %
               (my_type, self.name, my_type, self.name))
Writes the code to get an argument from a command structure.
Writes the code to get an argument from a command structure.
Writes the code to get an argument from a command structure .
def WriteGetCode(self, f):
    if self.type == 'GLsync':
      my_type = 'GLuint'
    else:
      my_type = self.type
    f.write("  %s %s = static_cast<%s>(c.%s);\n" %
               (my_type, self.name, my_type, self.name))
def WriteGetCode ( self , f ) : if self . type == 'GLsync' : my_type = 'GLuint' else : my_type = self . type f . write ( "  %s %s = static_cast<%s>(c.%s);\n" % ( my_type , self . name , my_type , self . name ) )
Writes the code to get an argument from a command structure.
Writes the code to get an argument from a command structure .
"""Writes the code to get an argument from a command structure."""
self
f