Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: site/dev/chrome/commandbuffer.md

Issue 2479833003: Add documentation for using testing using the command buffer (Closed)
Patch Set: shorten title Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/dev/chrome/commandbuffer.md
diff --git a/site/dev/chrome/commandbuffer.md b/site/dev/chrome/commandbuffer.md
new file mode 100644
index 0000000000000000000000000000000000000000..2afa5c9194a604e7d5bc3212c3a7b4e81ae0c080
--- /dev/null
+++ b/site/dev/chrome/commandbuffer.md
@@ -0,0 +1,22 @@
+Chromium Command Buffer
+==========================
+
+It is possible to run Skia's correctness tool, dm, and benchmarking tool,
+nanobench, on top of the GL ES interface provided by Chromium's command
+buffer.
+
+The Skia tools are always built with this support. They dynamically load
+the command buffer as a shared library and thus no GYP/GN flags are
+required.
+
+The command buffer standalone shared library is built in a Chromium checkout
+by building the 'command_buffer_gles2' target. The command buffer should be
+built with the is_component_build in GN set to false. This will produce a .so,
+.dylib, or .dll depending on the target OS. This should be copied alongside
+the dm or nanobench executable built from a Skia repository.
+
+Both tools have a 'commandbuffer' config which can be used with the --config
+option to the tool and will run the tests or benchmarks using the command buffer
+library. Unit tests in dm always run on all appropriate and available backends
+regardless of the --config flag.
+
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698