blob: 903ae10418f8814cf620d03102a20a1cec2f631e [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
8#include "fiddle_main.h"
9
10// create_grcontext for when neither Mesa nor EGL are available.
Joe Gregorio8e9810c2018-05-29 13:56:27 -040011sk_sp<GrContext> create_grcontext(std::ostringstream& driverinfo,
12 std::unique_ptr<sk_gpu_test::GLTestContext>* glContext) {
Joe Gregorio97b10ac2017-06-01 13:24:11 -040013 driverinfo << "(no GL driver available)";
Joe Gregorioa8fabd32017-05-31 09:45:19 -040014 return nullptr;
15}