KWin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MockCrtc Class Reference

#include <mock_drm.h>

Inheritance diagram for MockCrtc:
MockObject

Public Member Functions

 MockCrtc (MockGpu *gpu, const std::shared_ptr< MockPlane > &legacyPlane, int pipeIndex, int gamma_size=255)
 
 MockCrtc (const MockCrtc &obj)=default
 
 ~MockCrtc ()=default
 
- Public Member Functions inherited from MockObject
 MockObject (MockGpu *gpu)
 
virtual ~MockObject ()
 
uint64_t getProp (const QString &propName) const
 
void setProp (const QString &propName, uint64_t value)
 
uint32_t getPropId (const QString &propName) const
 

Public Attributes

int pipeIndex
 
int gamma_size
 
drmModeModeInfo mode
 
bool modeValid = true
 
MockFbcurrentFb = nullptr
 
MockFbnextFb = nullptr
 
QRect cursorRect
 
std::shared_ptr< MockPlanelegacyPlane
 
- Public Attributes inherited from MockObject
uint32_t id
 
QList< MockPropertyprops
 
MockGpugpu
 

Detailed Description

Definition at line 92 of file mock_drm.h.

Constructor & Destructor Documentation

◆ MockCrtc() [1/2]

MockCrtc::MockCrtc ( MockGpu * gpu,
const std::shared_ptr< MockPlane > & legacyPlane,
int pipeIndex,
int gamma_size = 255 )

Definition at line 217 of file mock_drm.cpp.

◆ MockCrtc() [2/2]

MockCrtc::MockCrtc ( const MockCrtc & obj)
default

◆ ~MockCrtc()

MockCrtc::~MockCrtc ( )
default

Member Data Documentation

◆ currentFb

MockFb* MockCrtc::currentFb = nullptr

Definition at line 102 of file mock_drm.h.

◆ cursorRect

QRect MockCrtc::cursorRect

Definition at line 104 of file mock_drm.h.

◆ gamma_size

int MockCrtc::gamma_size

Definition at line 99 of file mock_drm.h.

◆ legacyPlane

std::shared_ptr<MockPlane> MockCrtc::legacyPlane

Definition at line 105 of file mock_drm.h.

◆ mode

drmModeModeInfo MockCrtc::mode

Definition at line 100 of file mock_drm.h.

◆ modeValid

bool MockCrtc::modeValid = true

Definition at line 101 of file mock_drm.h.

◆ nextFb

MockFb* MockCrtc::nextFb = nullptr

Definition at line 103 of file mock_drm.h.

◆ pipeIndex

int MockCrtc::pipeIndex

Definition at line 98 of file mock_drm.h.


The documentation for this class was generated from the following files: