Add canvas for direct rendering without X

This patch creates a new canvas type, CanvasDRM, which renders directly
to video buffers instead of going through X.  The direct rendering uses
the EGL, DRM, and GBM APIs.  Also, CanvasDRM uses render-ahead triple
buffering to achieve the maximum framerate.

BUG=chromium-os:25587
TEST=emerge glmark2

Change-Id: I0caf5a3958775aa1e444fcd3c743fcf9646b071a
Signed-off-by: Simon Que <sque@chromium.org>
6 files changed