#include "components/viz/service/display_embedder/software_output_device_ozone.h"
#include <memory>
#include <utility>
#include "ui/gfx/geometry/skia_conversions.h"
#include "ui/gfx/vsync_provider.h"
#include "ui/ozone/public/platform_window_surface.h"
#include "ui/ozone/public/surface_ozone_canvas.h"
namespace viz {
SoftwareOutputDeviceOzone::SoftwareOutputDeviceOzone(
std::unique_ptr<ui::PlatformWindowSurface> platform_window_surface,
std::unique_ptr<ui::SurfaceOzoneCanvas> surface_ozone)
: … { … }
SoftwareOutputDeviceOzone::~SoftwareOutputDeviceOzone() { … }
void SoftwareOutputDeviceOzone::Resize(const gfx::Size& viewport_pixel_size,
float scale_factor) { … }
SkCanvas* SoftwareOutputDeviceOzone::BeginPaint(const gfx::Rect& damage_rect) { … }
void SoftwareOutputDeviceOzone::EndPaint() { … }
void SoftwareOutputDeviceOzone::OnSwapBuffers(
SwapBuffersCallback swap_ack_callback,
gfx::FrameData data) { … }
int SoftwareOutputDeviceOzone::MaxFramesPending() const { … }
bool SoftwareOutputDeviceOzone::SupportsOverridePlatformSize() const { … }
}