KWin
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
KWin::SurfaceState Struct Reference

#include <surface_p.h>

Public Member Functions

 SurfaceState ()
 
 SurfaceState (const SurfaceState &cpy)=delete
 
 ~SurfaceState ()
 
SurfaceStateoperator= (SurfaceState &&mv)=default
 
void mergeInto (SurfaceState *target)
 

Public Attributes

quint32 serial = 0
 
QRegion damage = QRegion()
 
QRegion bufferDamage = QRegion()
 
QRegion opaque = QRegion()
 
QRegion input = infiniteRegion()
 
bool inputIsSet = false
 
bool opaqueIsSet = false
 
bool bufferIsSet = false
 
bool shadowIsSet = false
 
bool blurIsSet = false
 
bool contrastIsSet = false
 
bool slideIsSet = false
 
bool subsurfaceOrderChanged = false
 
bool subsurfacePositionChanged = false
 
bool bufferScaleIsSet = false
 
bool bufferTransformIsSet = false
 
bool contentTypeIsSet = false
 
bool presentationModeHintIsSet = false
 
bool colorDescriptionIsSet = false
 
qint32 bufferScale = 1
 
OutputTransform bufferTransform = OutputTransform::Normal
 
wl_list frameCallbacks
 
QPoint offset = QPoint()
 
QPointer< GraphicsBufferbuffer
 
QPointer< ShadowInterfaceshadow
 
QPointer< BlurInterfaceblur
 
QPointer< ContrastInterfacecontrast
 
QPointer< SlideInterfaceslide
 
ContentType contentType = ContentType::None
 
PresentationModeHint presentationHint = PresentationModeHint::VSync
 
ColorDescription colorDescription = ColorDescription::sRGB
 
std::unique_ptr< PresentationTimeFeedbackpresentationFeedback
 
struct { 
 
   QList< SubSurfaceInterface * >   below 
 
   QList< SubSurfaceInterface * >   above 
 
   QHash< SubSurfaceInterface *, QPoint >   position 
 
subsurface 
 
struct { 
 
   QRectF   sourceGeometry = QRectF() 
 
   QSize   destinationSize = QSize() 
 
   bool   sourceGeometryIsSet = false 
 
   bool   destinationSizeIsSet = false 
 
viewport 
 

Detailed Description

Definition at line 32 of file surface_p.h.

Constructor & Destructor Documentation

◆ SurfaceState() [1/2]

KWin::SurfaceState::SurfaceState ( )

Definition at line 499 of file surface.cpp.

◆ SurfaceState() [2/2]

KWin::SurfaceState::SurfaceState ( const SurfaceState & cpy)
delete

◆ ~SurfaceState()

KWin::SurfaceState::~SurfaceState ( )

Definition at line 504 of file surface.cpp.

Member Function Documentation

◆ mergeInto()

void KWin::SurfaceState::mergeInto ( SurfaceState * target)

Definition at line 514 of file surface.cpp.

◆ operator=()

SurfaceState & KWin::SurfaceState::operator= ( SurfaceState && mv)
default

Member Data Documentation

◆ above

QList<SubSurfaceInterface *> KWin::SurfaceState::above

Definition at line 81 of file surface_p.h.

◆ below

QList<SubSurfaceInterface *> KWin::SurfaceState::below

Definition at line 80 of file surface_p.h.

◆ blur

QPointer<BlurInterface> KWin::SurfaceState::blur

Definition at line 67 of file surface_p.h.

◆ blurIsSet

bool KWin::SurfaceState::blurIsSet = false

Definition at line 51 of file surface_p.h.

◆ buffer

QPointer<GraphicsBuffer> KWin::SurfaceState::buffer

Definition at line 65 of file surface_p.h.

◆ bufferDamage

QRegion KWin::SurfaceState::bufferDamage = QRegion()

Definition at line 44 of file surface_p.h.

◆ bufferIsSet

bool KWin::SurfaceState::bufferIsSet = false

Definition at line 49 of file surface_p.h.

◆ bufferScale

qint32 KWin::SurfaceState::bufferScale = 1

Definition at line 61 of file surface_p.h.

◆ bufferScaleIsSet

bool KWin::SurfaceState::bufferScaleIsSet = false

Definition at line 56 of file surface_p.h.

◆ bufferTransform

OutputTransform KWin::SurfaceState::bufferTransform = OutputTransform::Normal

Definition at line 62 of file surface_p.h.

◆ bufferTransformIsSet

bool KWin::SurfaceState::bufferTransformIsSet = false

Definition at line 57 of file surface_p.h.

◆ colorDescription

ColorDescription KWin::SurfaceState::colorDescription = ColorDescription::sRGB

Definition at line 72 of file surface_p.h.

◆ colorDescriptionIsSet

bool KWin::SurfaceState::colorDescriptionIsSet = false

Definition at line 60 of file surface_p.h.

◆ contentType

ContentType KWin::SurfaceState::contentType = ContentType::None

Definition at line 70 of file surface_p.h.

◆ contentTypeIsSet

bool KWin::SurfaceState::contentTypeIsSet = false

Definition at line 58 of file surface_p.h.

◆ contrast

QPointer<ContrastInterface> KWin::SurfaceState::contrast

Definition at line 68 of file surface_p.h.

◆ contrastIsSet

bool KWin::SurfaceState::contrastIsSet = false

Definition at line 52 of file surface_p.h.

◆ damage

QRegion KWin::SurfaceState::damage = QRegion()

Definition at line 43 of file surface_p.h.

◆ destinationSize

QSize KWin::SurfaceState::destinationSize = QSize()

Definition at line 90 of file surface_p.h.

◆ destinationSizeIsSet

bool KWin::SurfaceState::destinationSizeIsSet = false

Definition at line 92 of file surface_p.h.

◆ frameCallbacks

wl_list KWin::SurfaceState::frameCallbacks

Definition at line 63 of file surface_p.h.

◆ input

QRegion KWin::SurfaceState::input = infiniteRegion()

Definition at line 46 of file surface_p.h.

◆ inputIsSet

bool KWin::SurfaceState::inputIsSet = false

Definition at line 47 of file surface_p.h.

◆ offset

QPoint KWin::SurfaceState::offset = QPoint()

Definition at line 64 of file surface_p.h.

◆ opaque

QRegion KWin::SurfaceState::opaque = QRegion()

Definition at line 45 of file surface_p.h.

◆ opaqueIsSet

bool KWin::SurfaceState::opaqueIsSet = false

Definition at line 48 of file surface_p.h.

◆ position

QHash<SubSurfaceInterface *, QPoint> KWin::SurfaceState::position

Definition at line 84 of file surface_p.h.

◆ presentationFeedback

std::unique_ptr<PresentationTimeFeedback> KWin::SurfaceState::presentationFeedback

Definition at line 73 of file surface_p.h.

◆ presentationHint

PresentationModeHint KWin::SurfaceState::presentationHint = PresentationModeHint::VSync

Definition at line 71 of file surface_p.h.

◆ presentationModeHintIsSet

bool KWin::SurfaceState::presentationModeHintIsSet = false

Definition at line 59 of file surface_p.h.

◆ serial

quint32 KWin::SurfaceState::serial = 0

Definition at line 41 of file surface_p.h.

◆ shadow

QPointer<ShadowInterface> KWin::SurfaceState::shadow

Definition at line 66 of file surface_p.h.

◆ shadowIsSet

bool KWin::SurfaceState::shadowIsSet = false

Definition at line 50 of file surface_p.h.

◆ slide

QPointer<SlideInterface> KWin::SurfaceState::slide

Definition at line 69 of file surface_p.h.

◆ slideIsSet

bool KWin::SurfaceState::slideIsSet = false

Definition at line 53 of file surface_p.h.

◆ sourceGeometry

QRectF KWin::SurfaceState::sourceGeometry = QRectF()

Definition at line 89 of file surface_p.h.

◆ sourceGeometryIsSet

bool KWin::SurfaceState::sourceGeometryIsSet = false

Definition at line 91 of file surface_p.h.

◆ [struct]

struct { ... } KWin::SurfaceState::subsurface

◆ subsurfaceOrderChanged

bool KWin::SurfaceState::subsurfaceOrderChanged = false

Definition at line 54 of file surface_p.h.

◆ subsurfacePositionChanged

bool KWin::SurfaceState::subsurfacePositionChanged = false

Definition at line 55 of file surface_p.h.

◆ [struct]

struct { ... } KWin::SurfaceState::viewport

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