From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- gfx/gl/SharedSurfaceIO.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gfx/gl/SharedSurfaceIO.h') diff --git a/gfx/gl/SharedSurfaceIO.h b/gfx/gl/SharedSurfaceIO.h index 938173b982..94804e3d0c 100644 --- a/gfx/gl/SharedSurfaceIO.h +++ b/gfx/gl/SharedSurfaceIO.h @@ -47,6 +47,8 @@ class SurfaceFactory_IOSurface : public SurfaceFactory { explicit SurfaceFactory_IOSurface(GLContext& gl); + bool SupportsCspaces() const override { return true; } + virtual UniquePtr CreateSharedImpl( const SharedSurfaceDesc& desc) override { if (desc.size.width > mMaxDims.width || -- cgit v1.2.3