gpu/command_buffer/build_cmd_buffer_lib.py
def WritePassthroughServiceImplementation(self, filename):
    """Writes the passthrough service decoder implementation."""
    with CWriter(filename, self.year) as f:
      header = """
#include \"gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h\"

namespace gpu {
namespace gles2 {

""";
      f.write(header);

      for func in self.functions:
        func.WritePassthroughServiceImplementation(f)

      footer = """
}  // namespace gles2
}  // namespace gpu

""";
      f.write(footer);
    self.generated_cpp_filenames.append(filename)
Writes the passthrough service decoder implementation.
Writes the passthrough service decoder implementation.
Writes the passthrough service decoder implementation .
def WritePassthroughServiceImplementation(self, filename):
    with CWriter(filename, self.year) as f:
      header = """
#include \"gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h\"
namespace gpu {
namespace gles2 {
""";
      f.write(header);
      for func in self.functions:
        func.WritePassthroughServiceImplementation(f)
      footer = """
}  // namespace gles2
}  // namespace gpu
""";
      f.write(footer);
    self.generated_cpp_filenames.append(filename)
def WritePassthroughServiceImplementation ( self , filename ) : with CWriter ( filename , self . year ) as f : header = """
#include \"gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h\"

namespace gpu {
namespace gles2 {

""" ; f . write ( header ) ; for func in self . functions : func . WritePassthroughServiceImplementation ( f ) footer = """
}  // namespace gles2
}  // namespace gpu

""" ; f . write ( footer ) ; self . generated_cpp_filenames . append ( filename )
Writes the passthrough service decoder implementation.
Writes the passthrough service decoder implementation .
"""Writes the passthrough service decoder implementation."""
self
filename