#include <tester_context_gles_factory.h>
◆ Create()
| std::unique_ptr< TesterContext > flutter::TesterContextGLESFactory::Create |
( |
| ) |
|
|
static |
Definition at line 257 of file tester_context_gles_factory.cc.
257 {
259 auto context = std::make_unique<TesterContextGLES>();
260 if (!context->Initialize()) {
261 FML_LOG(ERROR) <<
"Unable to create TesterContextGLESFactory";
262 return nullptr;
263 }
264 return context;
265}
#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: