kwin/src/core/shmgraphicsbufferallocator.h
Vlad Zahorodnii fc02990b77 core: Hide GraphicsBuffer implementations
The user code should not rely on concrete GraphicsBuffer
implementations, but instead of generic abstractions.
2023-07-05 11:14:12 +03:00

20 lines
393 B
C++

/*
SPDX-FileCopyrightText: 2023 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "core/graphicsbufferallocator.h"
namespace KWin
{
class KWIN_EXPORT ShmGraphicsBufferAllocator : public GraphicsBufferAllocator
{
public:
GraphicsBuffer *allocate(const GraphicsBufferOptions &options) override;
};
} // namespace KWin