KWin
Loading...
Searching...
No Matches
src
core
gbmgraphicsbufferallocator.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2023 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4
SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#pragma once
8
9
#include "
core/graphicsbufferallocator.h
"
10
11
struct
gbm_bo;
12
struct
gbm_device;
13
14
namespace
KWin
15
{
16
17
class
KWIN_EXPORT
GbmGraphicsBufferAllocator
:
public
GraphicsBufferAllocator
18
{
19
public
:
20
explicit
GbmGraphicsBufferAllocator
(gbm_device *device);
21
~GbmGraphicsBufferAllocator
()
override
;
22
23
GraphicsBuffer
*allocate(
const
GraphicsBufferOptions
&
options
)
override
;
24
25
private
:
26
gbm_device *m_gbmDevice;
27
};
28
29
}
// namespace KWin
KWin::GbmGraphicsBufferAllocator
Definition
gbmgraphicsbufferallocator.h:18
KWin::GraphicsBufferAllocator
Definition
graphicsbufferallocator.h:38
KWin::GraphicsBuffer
Definition
graphicsbuffer.h:57
graphicsbufferallocator.h
KWin
Definition
activation_test.cpp:20
KWin::options
Options * options
Definition
main.cpp:73
KWin::GraphicsBufferOptions
Definition
graphicsbufferallocator.h:23
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0