2017-05-31 13:45:19 +00:00
|
|
|
/*
|
|
|
|
* 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.
|
2017-06-01 17:24:11 +00:00
|
|
|
sk_sp<GrContext> create_grcontext(std::ostringstream &driverinfo) {
|
|
|
|
driverinfo << "(no GL driver available)";
|
2017-05-31 13:45:19 +00:00
|
|
|
return nullptr;
|
|
|
|
}
|