11std::unique_ptr<Screenshot> Screenshotter::MakeMetalScreenshot(
12 std::shared_ptr<Context>&
context,
13 const std::shared_ptr<Texture>&
texture) {
14 FML_LOG(INFO) <<
"Screenshot not supported for Metal on this platform";
18std::unique_ptr<Screenshot> Screenshotter::MakeOpenGLScreenshot(
19 std::shared_ptr<Context>&
context,
20 const std::shared_ptr<Texture>&
texture) {
21 FML_LOG(INFO) <<
"Screenshot not supported for OpenGL on this platform";
25std::unique_ptr<Screenshot> Screenshotter::MakeVulkanScreenshot(
26 std::shared_ptr<Context>&
context,
27 const std::shared_ptr<Texture>&
texture) {
28 FML_LOG(INFO) <<
"Screenshot not supported for Vulkan on this platform";
34 std::shared_ptr<Context>&
context,
35 const std::shared_ptr<Texture>&
texture) {
39 switch (
context->GetBackendType()) {
static std::unique_ptr< Screenshot > MakeScreenshot(std::shared_ptr< Context > &context, const std::shared_ptr< Texture > &texture)
#define FML_LOG(severity)
std::shared_ptr< ContextGLES > context