GL2Attila bin notes

From AttilaWiki

Jump to:navigation, search

Binary package content:

gl2attila trace translator tool

Translation to ATTILA 'AGP' traces (cygwin, mingw32 and linux binaries):

  1. Copy the the OpenGL to 'AGP' trace translator tool (gl2attila) a configuration file (bGPU.ini) and the OpenGL trace files into the same directory (the configuration file will be described in future documentation)
  1. Execute the translator tool to generate the AGP trace file for the input OpenGL tracefile:
       > gl2attila
       or
       > gl2attila filename
       or
       > gl2attila filename n
       or
       > gl2attila filename n m

When no parameters are specified the trace filename (only for the OpenGL API call trace file, the memory regions and buffer descriptors files have fixed file names)and all other parameters are obtained from the configuration file (which must be named 'bGPU.ini')

When parameters are used:

The output of the translator tool is a file named 'attila.tracefile.gz' which stores all the AGP Transaction objects (the commands that control the rendering process in the ATTILA GPU) that would be issued to the ATTILA GPU to render the selected frames of the input OpenGL trace file.

The first two steps can be skipped if the resulting AGP trace file is stored for later use. The AGP trace file could be generated for all the frames in the input OpenGL trace and then reused for a faster simulation. The name of the output AGP tracefile can changed as the simulator (bGPU-Uni or bGPU) accepts the trace file name as a parameter. The only limitation is that some of the parameters in the configuration file (bGPU.ini) used to generate the translated AGP trace file should be the same in the configuration file (bGPU.ini) used by the simulator (memory sizes, texture block dimensions, rasterization tile dimensions, bytes per pixel, double buffering and fetch rate).


The Other Authors

ATTILA
Toolbox