GLES2Dbg: reconstruct vertex attributes to match indices

Rather than converting glDrawElements into glDrawArrays and
 uploading all attributes each draw call.
Also added CaptureDraw and CaptureSwap options.

Change-Id: If8ac6556a2674868ce83f074ce4068a6af2d3a0e
Signed-off-by: David Li <davidxli@google.com>
11 files changed