5#include "flutter/testing/test_metal_surface.h"
7#include "flutter/fml/logging.h"
8#include "flutter/testing/test_metal_surface_impl.h"
21 return std::make_unique<TestMetalSurfaceImpl>(test_metal_context,
29 return std::make_unique<TestMetalSurfaceImpl>(test_metal_context,
texture_id,
38 return impl_ ? impl_->IsValid() :
false;
42 return impl_ ? impl_->GetGrContext() :
nullptr;
46 return impl_ ? impl_->GetSurface() :
nullptr;
50 return impl_ ? impl_->GetRasterSurfaceSnapshot() :
nullptr;