13# include "qtessellator_p.h"
14# include <X11/extensions/Xrender.h>
17#if QT_CONFIG(fontconfig)
18#include <fontconfig/fontconfig.h>
21#if defined(FT_LCD_FILTER_H)
22#include FT_LCD_FILTER_H
25#if defined(FC_LCD_FILTER)
27#ifndef FC_LCD_FILTER_NONE
28#define FC_LCD_FILTER_NONE FC_LCD_NONE
31#ifndef FC_LCD_FILTER_DEFAULT
32#define FC_LCD_FILTER_DEFAULT FC_LCD_DEFAULT
35#ifndef FC_LCD_FILTER_LIGHT
36#define FC_LCD_FILTER_LIGHT FC_LCD_LIGHT
39#ifndef FC_LCD_FILTER_LEGACY
40#define FC_LCD_FILTER_LEGACY FC_LCD_LEGACY
53 XKeyRelease = KeyRelease,
55 XRevertToParent = RevertToParent,
56 XGrayScale = GrayScale,
57 XCursorShape = CursorShape,
76Q_DECLARE_TYPEINFO(XGlyphElt32, Q_PRIMITIVE_TYPE);
114#if QT_CONFIG(xrender)
141#define X11 qt_x11Data
159 int result = qCountTrailingZeroBits(v);
160 return ((result >> 3) ==
sizeof(T)) ? -1 : result;
void beginPaint(const QRegion ®ion) override
This function is called before painting onto the surface begins, with the region in which the paintin...
QXcbNativeBackingStore(QWindow *window)
void flush(QWindow *window, const QRegion ®ion, const QPoint &offset) override
Flushes the given region from the specified window.
QImage toImage() const override
Implemented in subclasses to return the content of the backingstore as a QImage.
~QXcbNativeBackingStore()
QPaintDevice * paintDevice() override
Implement this function to return the appropriate paint device.
void resize(const QSize &size, const QRegion &staticContents) override
bool scroll(const QRegion &area, int dx, int dy) override
Scrolls the given area dx pixels to the right and dy downward; both dx and dy may be negative.
static bool appDefaultVisual(int screen=-1)
static QXcbX11Info fromScreen(int screen)
static Colormap appColormap(int screen=-1)
static Window appRootWindow(int screen=-1)
static bool appDefaultColormap(int screen=-1)
friend void qt_x11SetScreen(QPixmap &pixmap, int screen)
static int appDepth(int screen=-1)
void setVisual(void *visual)
static Display * display()
Colormap colormap() const
static int appDpiY(int screen=-1)
QXcbX11Info & operator=(const QXcbX11Info &other)
static int appCells(int screen=-1)
static void * appVisual(int screen=-1)
QXcbX11Info(const QXcbX11Info &other)
static int appDpiX(int screen=-1)
Pixmap qt_x11PixmapHandle(const QPixmap &pixmap)
Picture qt_x11PictureHandle(const QPixmap &pixmap)
QX11PlatformPixmap * qt_x11Pixmap(const QPixmap &pixmap)
int qt_x11SetDefaultScreen(int screen)
Q_DECLARE_TYPEINFO(XChar2b, Q_PRIMITIVE_TYPE)
Q_DECLARE_TYPEINFO(XPoint, Q_PRIMITIVE_TYPE)
Q_DECLARE_TYPEINFO(XRectangle, Q_PRIMITIVE_TYPE)
constexpr int lowest_bit(T v) noexcept
QList< XRectangle > qt_region_to_xrectangles(const QRegion &r)
struct _FcPattern FcPattern
void qt_xcb_native_x11_info_init(QXcbConnection *conn)
DesktopEnvironment desktopEnvironment