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

#include <graphicsbufferallocator.h>

Public Attributes

QSize size
 The size of the buffer, in device pixels.
 
uint32_t format
 The pixel format of the buffer, see DRM_FORMAT_*.
 
QList< uint64_t > modifiers
 An optional list of modifiers, see DRM_FORMAT_MOD_*.
 
bool software = false
 Whether the graphics buffer should be suitable for software rendering.
 

Detailed Description

The GraphicsBufferOptions describes the properties of an allocated graphics buffer.

Definition at line 22 of file graphicsbufferallocator.h.

Member Data Documentation

◆ format

uint32_t KWin::GraphicsBufferOptions::format

The pixel format of the buffer, see DRM_FORMAT_*.

Definition at line 28 of file graphicsbufferallocator.h.

◆ modifiers

QList<uint64_t> KWin::GraphicsBufferOptions::modifiers

An optional list of modifiers, see DRM_FORMAT_MOD_*.

Definition at line 31 of file graphicsbufferallocator.h.

◆ size

QSize KWin::GraphicsBufferOptions::size

The size of the buffer, in device pixels.

Definition at line 25 of file graphicsbufferallocator.h.

◆ software

bool KWin::GraphicsBufferOptions::software = false

Whether the graphics buffer should be suitable for software rendering.

Definition at line 34 of file graphicsbufferallocator.h.


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