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