aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/fiddle/null_context.cpp
blob: 3fe0054eccec4d0f293641831b2623718cde8325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * 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;
}