mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
Change-Id: Ie708a944130884248499091854ebc483953fa828 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
30 lines
438 B
C++
30 lines
438 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "core/os_interface/os_interface.h"
|
|
|
|
namespace NEO {
|
|
class Drm;
|
|
|
|
class OSInterface::OSInterfaceImpl {
|
|
public:
|
|
OSInterfaceImpl() {
|
|
drm = nullptr;
|
|
}
|
|
Drm *getDrm() const {
|
|
return drm;
|
|
}
|
|
void setDrm(Drm *drm) {
|
|
this->drm = drm;
|
|
}
|
|
|
|
protected:
|
|
Drm *drm;
|
|
};
|
|
} // namespace NEO
|