Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
context_options.h File Reference
#include <optional>
#include "flutter/fml/macros.h"
#include "third_party/skia/include/gpu/GrContextOptions.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Enumerations

enum class  flutter::ContextType { flutter::kRender , flutter::kResource }
 

Functions

GrContextOptions flutter::MakeDefaultContextOptions (ContextType type, std::optional< GrBackendApi > api=std::nullopt)
 Initializes GrContextOptions with values suitable for Flutter. The options can be further tweaked before a GrContext is created from these options.