File indexing completed on 2024-05-19 05:31:37

0001 /*
0002     SPDX-FileCopyrightText: 2023 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "core/graphicsbufferallocator.h"
0010 
0011 namespace KWin
0012 {
0013 
0014 class KWIN_EXPORT ShmGraphicsBufferAllocator : public GraphicsBufferAllocator
0015 {
0016 public:
0017     GraphicsBuffer *allocate(const GraphicsBufferOptions &options) override;
0018 };
0019 
0020 } // namespace KWin