KWin
Loading...
Searching...
No Matches
Classes | Functions
KWin::XRenderUtils Namespace Reference

Classes

struct  PictFormatData
 

Functions

void init (xcb_connection_t *connection, xcb_window_t rootWindow)
 
void cleanup ()
 
xcb_render_pictformat_t findPictFormat (xcb_visualid_t visual)
 
const xcb_render_directformat_t * findPictFormatInfo (xcb_render_pictformat_t format)
 

Function Documentation

◆ cleanup()

KWIN_EXPORT void KWin::XRenderUtils::cleanup ( )

Definition at line 32 of file kwinxrenderutils.cpp.

◆ findPictFormat()

KWIN_EXPORT xcb_render_pictformat_t KWin::XRenderUtils::findPictFormat ( xcb_visualid_t visual)

Returns the Xrender format that corresponds to the given visual ID.

Definition at line 153 of file kwinxrenderutils.cpp.

◆ findPictFormatInfo()

KWIN_EXPORT const xcb_render_directformat_t * KWin::XRenderUtils::findPictFormatInfo ( xcb_render_pictformat_t format)

Returns the xcb_render_directformat_t for the given Xrender format.

Definition at line 159 of file kwinxrenderutils.cpp.

◆ init()

KWIN_EXPORT void KWin::XRenderUtils::init ( xcb_connection_t * connection,
xcb_window_t rootWindow )

Definition at line 26 of file kwinxrenderutils.cpp.