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.
|
|
|
|
*/
|
|
|
|
|
2019-04-23 17:05:21 +00:00
|
|
|
#include "tools/fiddle/fiddle_main.h"
|
2017-05-31 13:45:19 +00:00
|
|
|
|
2020-07-13 20:13:31 +00:00
|
|
|
// create_direct_context for when neither Mesa nor EGL are available.
|
|
|
|
sk_sp<GrDirectContext> create_direct_context(std::ostringstream& driverinfo,
|
|
|
|
std::unique_ptr<sk_gpu_test::GLTestContext>*) {
|
2017-06-01 17:24:11 +00:00
|
|
|
driverinfo << "(no GL driver available)";
|
2017-05-31 13:45:19 +00:00
|
|
|
return nullptr;
|
|
|
|
}
|