Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
flutter::TesterContextGLESFactory Class Reference

#include <tester_context_gles_factory.h>

Static Public Member Functions

static std::unique_ptr< TesterContextCreate ()
 

Detailed Description

Definition at line 17 of file tester_context_gles_factory.h.

Member Function Documentation

◆ Create()

std::unique_ptr< TesterContext > flutter::TesterContextGLESFactory::Create ( )
static

Definition at line 299 of file tester_context_gles_factory.cc.

299 {
301 auto context = std::make_unique<TesterContextGLES>();
302 if (!context->Initialize()) {
303 FML_LOG(ERROR) << "Unable to create TesterContextGLESFactory";
304 return nullptr;
305 }
306 return context;
307}
#define FML_LOG(severity)
Definition logging.h:101
void SetupSwiftshaderOnce(bool use_swiftshader)
Find and setup the installable client driver for a locally built SwiftShader at known paths....

References FML_LOG, and flutter::testing::SetupSwiftshaderOnce().


The documentation for this class was generated from the following files: