Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
null_context.cpp
Go to the documentation of this file.
1/*
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
9
10// 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>*) {
13 driverinfo << "(no GL driver available)";
14 return nullptr;
15}
sk_sp< GrDirectContext > create_direct_context(std::ostringstream &driverinfo, std::unique_ptr< sk_gpu_test::GLTestContext > *)