skia2/tools/fiddle/null_context.cpp
Joe Gregorio 97b10ac484 [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>
2017-06-01 18:03:45 +00:00

15 lines
372 B
C++

/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "fiddle_main.h"
// create_grcontext for when neither Mesa nor EGL are available.
sk_sp<GrContext> create_grcontext(std::ostringstream &driverinfo) {
driverinfo << "(no GL driver available)";
return nullptr;
}