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