OLD | NEW |
(Empty) | |
| 1 Chromium Command Buffer |
| 2 ========================== |
| 3 |
| 4 It is possible to run Skia's correctness tool, dm, and benchmarking tool, |
| 5 nanobench, on top of the GL ES interface provided by Chromium's command |
| 6 buffer. |
| 7 |
| 8 The Skia tools are always built with this support. They dynamically load |
| 9 the command buffer as a shared library and thus no GYP/GN flags are |
| 10 required. |
| 11 |
| 12 The command buffer standalone shared library is built in a Chromium checkout |
| 13 by building the 'command_buffer_gles2' target. The command buffer should be |
| 14 built with the is_component_build in GN set to false. This will produce a .so, |
| 15 .dylib, or .dll depending on the target OS. This should be copied alongside |
| 16 the dm or nanobench executable built from a Skia repository. |
| 17 |
| 18 Both tools have a 'commandbuffer' config which can be used with the --config |
| 19 option to the tool and will run the tests or benchmarks using the command buffer |
| 20 library. Unit tests in dm always run on all appropriate and available backends |
| 21 regardless of the --config flag. |
| 22 |
OLD | NEW |