Flutter Engine
The Flutter Engine
Namespaces | Functions
swiftshader_utilities.cc File Reference
#include "flutter/impeller/playground/backend/vulkan/swiftshader_utilities.h"
#include <cstdlib>
#include "flutter/fml/build_config.h"
#include "flutter/fml/file.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/paths.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 

Functions

static void impeller::FindSwiftShaderICDAtKnownPaths ()
 
void impeller::SetupSwiftshaderOnce (bool use_swiftshader)
 Find and setup the installable client driver for a locally built SwiftShader at known paths. The option to use SwiftShader can only be used once in the process. While calling this method multiple times is fine, specifying a different use_swiftshader value will trip an assertion. More...