Flutter Engine
The Flutter Engine
Functions
null_context.cpp File Reference
#include "tools/fiddle/fiddle_main.h"

Go to the source code of this file.

Functions

sk_sp< GrDirectContextcreate_direct_context (std::ostringstream &driverinfo, std::unique_ptr< sk_gpu_test::GLTestContext > *)
 

Function Documentation

◆ create_direct_context()

sk_sp< GrDirectContext > create_direct_context ( std::ostringstream &  driverinfo,
std::unique_ptr< sk_gpu_test::GLTestContext > *  glContext 
)

Definition at line 11 of file null_context.cpp.

12 {
13 driverinfo << "(no GL driver available)";
14 return nullptr;
15}