Move QPolygonClipper to XCB native painting

It is the only code using it.

Change-Id: I30060a63b6621ea94ae487ec93cd857117e12a46
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
This commit is contained in:
Allan Sandfeld Jensen 2020-10-29 15:31:14 +01:00
parent 743ffcbc82
commit b77cf10a4f
8 changed files with 5 additions and 7 deletions

View File

@ -190,7 +190,6 @@ qt_internal_add_module(Gui
painting/qpixellayout.cpp painting/qpixellayout_p.h
painting/qplatformbackingstore.cpp painting/qplatformbackingstore.h
painting/qpolygon.cpp painting/qpolygon.h
painting/qpolygonclipper_p.h
painting/qrangecollection.cpp painting/qrangecollection.h painting/qrangecollection_p.h
painting/qrasterdefs_p.h
painting/qrasterizer.cpp painting/qrasterizer_p.h

View File

@ -49,7 +49,6 @@ HEADERS += \
painting/qpen.h \
painting/qpixellayout_p.h \
painting/qpolygon.h \
painting/qpolygonclipper_p.h \
painting/qrangecollection.h \
painting/qrangecollection_p.h \
painting/qrasterdefs_p.h \

View File

@ -57,7 +57,6 @@
#include <private/qtextengine_p.h>
#include <private/qfontengine_p.h>
#include <private/qpixmap_raster_p.h>
// #include <private/qpolygonclipper_p.h>
// #include <private/qrasterizer_p.h>
#include <private/qimage_p.h>
#include <private/qstatictext_p.h>

View File

@ -120,6 +120,7 @@ qt_internal_extend_target(XcbQpa CONDITION QT_FEATURE_xcb_native_painting
nativepainting/qcolormap_x11.cpp nativepainting/qcolormap_x11_p.h
nativepainting/qpaintengine_x11.cpp nativepainting/qpaintengine_x11_p.h
nativepainting/qpixmap_x11.cpp nativepainting/qpixmap_x11_p.h
nativepainting/polygonclipper_p.h
nativepainting/qt_x11_p.h
nativepainting/qtessellator.cpp nativepainting/qtessellator_p.h
nativepainting/qxcbnativepainting.cpp nativepainting/qxcbnativepainting.h

View File

@ -7,6 +7,7 @@ qtConfig(xcb-native-painting) {
$$PWD/qtessellator_p.h \
$$PWD/qpixmap_x11_p.h \
$$PWD/qpaintengine_x11_p.h \
$$PWD/qpolygonclipper_p.h \
$$PWD/qt_x11_p.h \
$$PWD/qcolormap_x11_p.h \
$$PWD/qbackingstore_x11_p.h \

View File

@ -41,7 +41,6 @@
#include <private/qpixmapcache_p.h>
#include <private/qpaintengine_p.h>
#include <private/qpolygonclipper_p.h>
#include <private/qpainterpath_p.h>
#include <private/qdrawhelper_p.h>
#include <private/qfontengineglyphcache_p.h>
@ -51,6 +50,7 @@
#endif
#include "qpaintengine_x11_p.h"
#include "qpolygonclipper_p.h"
#include "qtessellator_p.h"
#include "qpixmap_x11_p.h"
#include "qcolormap_x11_p.h"

View File

@ -51,8 +51,8 @@
// We mean it.
//
#include <QtGui/private/qtguiglobal_p.h>
#include "private/qdatabuffer_p.h"
#include <QtCore/qrect.h>
#include <QtGui/private/qdatabuffer_p.h>
QT_BEGIN_NAMESPACE

View File

@ -55,7 +55,6 @@
#include <QtGui/qpaintengine.h>
#include <QtGui/private/qpaintengine_p.h>
#include <QtGui/private/qpolygonclipper_p.h>
#include <QtGui/private/qfont_p.h>
#include <QtCore/qhash.h>