5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SHADER_LIBRARY_GLES_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_SHADER_LIBRARY_GLES_H_
10#include "flutter/fml/mapping.h"
29 mutable RWMutex functions_mutex_;
31 bool is_valid_ =
false;
34 const std::vector<std::shared_ptr<fml::Mapping>>& shader_libraries);
37 std::shared_ptr<const ShaderFunction>
GetFunction(std::string_view
name,
41 void RegisterFunction(std::string
name,
43 std::shared_ptr<fml::Mapping>
code,
~ShaderLibraryGLES() override
bool IsValid() const override
std::function< void(bool)> RegistrationCallback
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
FunctionPtr GetFunction(const Library &lib, const char *name)
DEF_SWITCHES_START aot vmservice shared library name
std::unordered_map< ShaderKey, std::shared_ptr< const ShaderFunction >, ShaderKey::Hash, ShaderKey::Equal > ShaderFunctionMap
#define IPLR_GUARDED_BY(x)