Skip to content

Commit

Permalink
Remove last remaining bits of QtPlatformHeaders
Browse files Browse the repository at this point in the history
Task-number: QTBUG-84220
Change-Id: I951e04bfe9358a99951d1d61ff47b675584b7f81
Reviewed-by: Oliver Wolff <[email protected]>
  • Loading branch information
torarnv committed Aug 4, 2020
1 parent 4595fb2 commit a00ad95
Show file tree
Hide file tree
Showing 49 changed files with 46 additions and 705 deletions.
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ if(QT_FEATURE_gui)
endif()
endif()
add_subdirectory(platformsupport)
add_subdirectory(platformheaders)
endif()
if (QT_FEATURE_testlib)
add_subdirectory(testlib)
Expand Down
1 change: 0 additions & 1 deletion src/gui/doc/qtgui.qdocconf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ depends += \
qtmultimedia \
qtnetwork \
qtopengl \
qtplatformheaders \
qtsvg \
qtqml \
qtquick \
Expand Down
4 changes: 0 additions & 4 deletions src/gui/kernel/qplatformgraphicsbuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ QT_BEGIN_NAMESPACE
There is no public constructor nor any public factory function.
QPlatformGraphicsBuffer is intended to be created by using platform specific
APIs available from QtPlatformHeaders, or there might be accessor functions
similar to the accessor function that QPlatformBackingstore has.
\internal
*/

Expand Down
13 changes: 13 additions & 0 deletions src/gui/kernel/qplatformscreen_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,19 @@ struct Q_GUI_EXPORT QXcbScreen
};
#endif

#if QT_CONFIG(vsp2)
struct Q_GUI_EXPORT QVsp2Screen
{
QT_DECLARE_PLATFORM_INTERFACE(QVsp2Screen)
virtual int addLayer(int dmabufFd, const QSize &size, const QPoint &position, uint drmPixelFormat, uint bytesPerLine) = 0;
virtual void setLayerBuffer(int id, int dmabufFd) = 0;
virtual void setLayerPosition(int id, const QPoint &position) = 0;
virtual void setLayerAlpha(int id, qreal alpha) = 0;
virtual bool removeLayer(int id) = 0;
virtual void addBlendListener(void (*callback)()) = 0;
};
#endif

} // QPlatformInterface::Private

QT_END_NAMESPACE
Expand Down
4 changes: 4 additions & 0 deletions src/gui/platform/unix/qunixplatforminterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ QT_DEFINE_PRIVATE_PLATFORM_INTERFACE(QXcbScreen);
QT_DEFINE_PRIVATE_PLATFORM_INTERFACE(QXcbWindow);
#endif

#if QT_CONFIG(vsp2)
QT_DEFINE_PRIVATE_PLATFORM_INTERFACE(QVsp2Screen);
#endif

#if QT_CONFIG(evdev)
QT_DEFINE_PRIVATE_PLATFORM_INTERFACE(QEvdevKeyMapper);

Expand Down
20 changes: 0 additions & 20 deletions src/platformheaders/.prev_CMakeLists.txt

This file was deleted.

22 changes: 0 additions & 22 deletions src/platformheaders/CMakeLists.txt

This file was deleted.

41 changes: 0 additions & 41 deletions src/platformheaders/doc/qtplatformheaders.qdocconf

This file was deleted.

30 changes: 0 additions & 30 deletions src/platformheaders/doc/src/dontdocument.qdoc

This file was deleted.

96 changes: 0 additions & 96 deletions src/platformheaders/doc/src/qtplatformheaders.qdoc

This file was deleted.

1 change: 0 additions & 1 deletion src/platformheaders/eglfsfunctions/eglfsfunctions.pri

This file was deleted.

Loading

0 comments on commit a00ad95

Please sign in to comment.