gpu/command_buffer/build_cmd_buffer_lib.py
def WriteServiceHandlerArgGetCode(self, func, f):
    """Writes the argument unpack code for service handlers."""
    if len(func.GetOriginalArgs()) > 0:
      for arg in func.GetOriginalArgs():
        if not arg.IsPointer():
          arg.WriteGetCode(f)

      # Write pointer arguments second. Sizes may be dependent on other args
      for arg in func.GetOriginalArgs():
        if arg.IsPointer():
          self.WriteGetDataSizeCode(func, arg, f)
          arg.WriteGetCode(f)
Writes the argument unpack code for service handlers.
Writes the argument unpack code for service handlers.
Writes the argument unpack code for service handlers .
def WriteServiceHandlerArgGetCode(self, func, f):
    if len(func.GetOriginalArgs()) > 0:
      for arg in func.GetOriginalArgs():
        if not arg.IsPointer():
          arg.WriteGetCode(f)
      for arg in func.GetOriginalArgs():
        if arg.IsPointer():
          self.WriteGetDataSizeCode(func, arg, f)
          arg.WriteGetCode(f)
def WriteServiceHandlerArgGetCode ( self , func , f ) : if len ( func . GetOriginalArgs ( ) ) > 0 : for arg in func . GetOriginalArgs ( ) : if not arg . IsPointer ( ) : arg . WriteGetCode ( f ) for arg in func . GetOriginalArgs ( ) : if arg . IsPointer ( ) : self . WriteGetDataSizeCode ( func , arg , f ) arg . WriteGetCode ( f )
Writes the argument unpack code for service handlers.
Writes the argument unpack code for service handlers .
"""Writes the argument unpack code for service handlers.""" # Write pointer arguments second. Sizes may be dependent on other args
self
func
f