[fiddle] Report GL driver info.
Bug: skia:
Change-Id: I5338d6abef062f7da420e8cddafa082bedcfff25
Reviewed-on: https://skia-review.googlesource.com/18310
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Joe Gregorio <jcgregorio@google.com>
diff --git a/tools/fiddle/fiddle_main.h b/tools/fiddle/fiddle_main.h
index 4fadd36..fb9d409 100644
--- a/tools/fiddle/fiddle_main.h
+++ b/tools/fiddle/fiddle_main.h
@@ -20,6 +20,8 @@
#include "skia.h"
#endif
+#include <sstream>
+
extern SkBitmap source;
extern sk_sp<SkImage> image;
extern double duration; // The total duration of the animation in seconds.
@@ -57,6 +59,6 @@
// There are different implementations of create_grcontext() for EGL, Mesa,
// and a fallback to a null context.
-extern sk_sp<GrContext> create_grcontext();
+extern sk_sp<GrContext> create_grcontext(std::ostringstream &driverinfo);
#endif // fiddle_main_DEFINED