1cb93a386Sopenharmony_ci/* 2cb93a386Sopenharmony_ci * Copyright 2015 Google Inc. 3cb93a386Sopenharmony_ci * 4cb93a386Sopenharmony_ci * Use of this source code is governed by a BSD-style license that can be 5cb93a386Sopenharmony_ci * found in the LICENSE file. 6cb93a386Sopenharmony_ci */ 7cb93a386Sopenharmony_ci 8cb93a386Sopenharmony_ci#include "tools/fiddle/fiddle_main.h" 9cb93a386Sopenharmony_ci 10cb93a386Sopenharmony_ci// create_direct_context for when neither Mesa nor EGL are available. 11cb93a386Sopenharmony_cisk_sp<GrDirectContext> create_direct_context(std::ostringstream& driverinfo, 12cb93a386Sopenharmony_ci std::unique_ptr<sk_gpu_test::GLTestContext>*) { 13cb93a386Sopenharmony_ci driverinfo << "(no GL driver available)"; 14cb93a386Sopenharmony_ci return nullptr; 15cb93a386Sopenharmony_ci} 16