gpu: Record GL state to trace

This patch adds a GL state tracer for recording information about the
context state as trace event objects. This initial version only records
a screenshot of the framebuffer contents at every SwapBuffers.

Note that because the saving this information can be expensive, the new
trace events are added under the "disabled-by-default-gpu.debug"
category.

BUG=284402

Review URL: https://chromiumcodereview.appspot.com/23926013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222812 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 8f9b8ddccb1d0ab3253e1de83cf7c90e2ad7a369
1 file changed
tree: c7a8ce835d7c5b9d5254fe384f184bac8e268ef9
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. ipc/
  6. mojo/
  7. testing/
  8. third_party/
  9. ui/