blob: d0c295020991452655c74c066fc4ec6001b62334 [file] [log] [blame]
Joe Gregorioa8fabd32017-05-31 09:45:19 -04001/*
2 * Copyright 2015 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
Mike Kleinc0bd9f92019-04-23 12:05:21 -05008#include "tools/fiddle/fiddle_main.h"
Joe Gregorioa8fabd32017-05-31 09:45:19 -04009
Robert Phillipsf4f80112020-07-13 16:13:31 -040010// create_direct_context for when neither Mesa nor EGL are available.
11sk_sp<GrDirectContext> create_direct_context(std::ostringstream& driverinfo,
12 std::unique_ptr<sk_gpu_test::GLTestContext>*) {
Joe Gregorio97b10ac2017-06-01 13:24:11 -040013 driverinfo << "(no GL driver available)";
Joe Gregorioa8fabd32017-05-31 09:45:19 -040014 return nullptr;
15}