#include "components/viz/service/display/overlay_processor_ozone.h"
#include <utility>
#include "base/test/scoped_feature_list.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/viz/common/features.h"
#include "components/viz/test/test_context_provider.h"
#include "gpu/command_buffer/client/shared_image_interface.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/linux/native_pixmap_dmabuf.h"
#include "ui/gfx/native_pixmap.h"
#include "ui/gfx/native_pixmap_handle.h"
#include "ui/ozone/public/hardware_capabilities.h"
_;
Return;
namespace viz {
namespace {
class FakeOverlayCandidatesOzone : public ui::OverlayCandidatesOzone { … };
class FakeNativePixmap : public gfx::NativePixmap { … };
class MockSharedImageInterface : public gpu::TestSharedImageInterface { … };
}
#if !BUILDFLAG(IS_FUCHSIA)
TEST(OverlayProcessorOzoneTest, PrimaryPlaneSizeAndFormatMatches) { … }
TEST(OverlayProcessorOzoneTest, PrimaryPlaneFormatMismatch) { … }
TEST(OverlayProcessorOzoneTest, ColorSpaceMismatch) { … }
#endif
class TestOverlayProcessorOzone : public OverlayProcessorOzone { … };
TEST(OverlayProcessorOzoneTest, ObserveHardwareCapabilites) { … }
}