5 #ifndef FLUTTER_IMPELLER_RENDERER_RENDERER_H_
6 #define FLUTTER_IMPELLER_RENDERER_RENDERER_H_
11 #include "flutter/fml/synchronization/semaphore.h"
25 explicit Renderer(std::shared_ptr<Context> context,
32 bool Render(std::unique_ptr<Surface> surface,
38 std::shared_ptr<fml::Semaphore> frames_in_flight_sema_;
39 std::shared_ptr<Context> context_;
40 bool is_valid_ =
false;
49 #endif // FLUTTER_IMPELLER_RENDERER_RENDERER_H_