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

#include <tester_context_vk_factory.h>

Static Public Member Functions

static std::unique_ptr< TesterContextCreate (bool enable_validation)
 

Detailed Description

Definition at line 17 of file tester_context_vk_factory.h.

Member Function Documentation

◆ Create()

std::unique_ptr< TesterContext > flutter::TesterContextVKFactory::Create ( bool  enable_validation)
static

Definition at line 108 of file tester_context_vk_factory.cc.

109 {
110 auto context = std::make_unique<TesterContextVK>();
111 if (!context->Initialize(enable_validation)) {
112 return nullptr;
113 }
114 return context;
115}

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