5#include "flutter/impeller/runtime_stage/runtime_stage_playground.h"
9#include "flutter/fml/make_copyable.h"
10#include "flutter/testing/testing.h"
21 std::promise<bool> registration;
22 auto future = registration.get_future();
23 const std::shared_ptr<ShaderLibrary>& library =
25 GetContext()->GetShaderLibrary()->RegisterFunction(
29 reg.set_value(result);
std::shared_ptr< Context > GetContext() const
~RuntimeStagePlayground()
bool RegisterStage(const RuntimeStage &stage)
const std::string & GetEntrypoint() const
const std::shared_ptr< fml::Mapping > & GetCodeMapping() const
RuntimeShaderStage GetShaderStage() const
internal::CopyableLambda< T > MakeCopyable(T lambda)
constexpr ShaderStage ToShaderStage(RuntimeShaderStage stage)