File indexing completed on 2024-11-10 04:56:29
0001 /* 0002 KWin - the KDE window manager 0003 This file is part of the KDE project. 0004 0005 SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 #include "drm_layer.h" 0010 #include "drm_pipeline.h" 0011 0012 #include <QMatrix4x4> 0013 #include <drm_fourcc.h> 0014 0015 namespace KWin 0016 { 0017 0018 DrmOutputLayer::~DrmOutputLayer() = default; 0019 0020 QRegion DrmOutputLayer::currentDamage() const 0021 { 0022 return {}; 0023 } 0024 0025 std::shared_ptr<GLTexture> DrmOutputLayer::texture() const 0026 { 0027 return nullptr; 0028 } 0029 0030 DrmPipelineLayer::DrmPipelineLayer(DrmPipeline *pipeline) 0031 : m_pipeline(pipeline) 0032 { 0033 } 0034 0035 bool DrmPipelineLayer::hasDirectScanoutBuffer() const 0036 { 0037 return false; 0038 } 0039 }