#include <tester_context_gles_factory.h>
◆ 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)
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: