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

#include <drm_format_helper.h>

Public Member Functions

std::optional< YuvConversionyuvConversion () const
 

Static Public Member Functions

static std::optional< FormatInfoget (uint32_t drmFormat)
 
static QString drmFormatName (const QString &prefix, uint32_t format)
 

Public Attributes

uint32_t drmFormat
 
uint32_t bitsPerColor
 
uint32_t alphaBits
 
uint32_t bitsPerPixel
 
GLint openglFormat
 

Detailed Description

Definition at line 41 of file drm_format_helper.h.

Member Function Documentation

◆ drmFormatName()

QString KWin::FormatInfo::drmFormatName ( const QString & prefix,
uint32_t format )
static

Definition at line 114 of file drm_format_helper.cpp.

◆ get()

std::optional< FormatInfo > KWin::FormatInfo::get ( uint32_t drmFormat)
static

Definition at line 14 of file drm_format_helper.cpp.

◆ yuvConversion()

std::optional< YuvConversion > KWin::FormatInfo::yuvConversion ( ) const
inline

Definition at line 49 of file drm_format_helper.h.

Member Data Documentation

◆ alphaBits

uint32_t KWin::FormatInfo::alphaBits

Definition at line 45 of file drm_format_helper.h.

◆ bitsPerColor

uint32_t KWin::FormatInfo::bitsPerColor

Definition at line 44 of file drm_format_helper.h.

◆ bitsPerPixel

uint32_t KWin::FormatInfo::bitsPerPixel

Definition at line 46 of file drm_format_helper.h.

◆ drmFormat

uint32_t KWin::FormatInfo::drmFormat

Definition at line 43 of file drm_format_helper.h.

◆ openglFormat

GLint KWin::FormatInfo::openglFormat

Definition at line 47 of file drm_format_helper.h.


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