KWin
Loading...
Searching...
No Matches
src
backends
drm
drm_blob.h
Go to the documentation of this file.
1
/*
2
KWin - the KDE window manager
3
This file is part of the KDE project.
4
5
SPDX-FileCopyrightText: 2023 Xaver Hugl <xaver.hugl@gmail.com>
6
7
SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
#pragma once
10
#include <memory>
11
#include <stdint.h>
12
13
namespace
KWin
14
{
15
16
class
DrmGpu;
17
18
class
DrmBlob
19
{
20
public
:
21
DrmBlob
(
DrmGpu
*gpu, uint32_t
blobId
);
22
~DrmBlob
();
23
24
uint32_t
blobId
()
const
;
25
26
static
std::shared_ptr<DrmBlob>
create
(
DrmGpu
*gpu,
const
void
*data, uint32_t dataSize);
27
28
protected
:
29
DrmGpu
*
const
m_gpu
;
30
const
uint32_t
m_blobId
;
31
};
32
33
}
KWin::DrmBlob
Definition
drm_blob.h:19
KWin::DrmBlob::create
static std::shared_ptr< DrmBlob > create(DrmGpu *gpu, const void *data, uint32_t dataSize)
Definition
drm_blob.cpp:33
KWin::DrmBlob::DrmBlob
DrmBlob(DrmGpu *gpu, uint32_t blobId)
Definition
drm_blob.cpp:15
KWin::DrmBlob::blobId
uint32_t blobId() const
Definition
drm_blob.cpp:28
KWin::DrmBlob::m_blobId
const uint32_t m_blobId
Definition
drm_blob.h:30
KWin::DrmBlob::~DrmBlob
~DrmBlob()
Definition
drm_blob.cpp:21
KWin::DrmBlob::m_gpu
DrmGpu *const m_gpu
Definition
drm_blob.h:29
KWin::DrmGpu
Definition
drm_gpu.h:62
KWin
Definition
activation_test.cpp:20
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0