Remove dead code from QWasmCompositor

Some of the fields and functions are not used now. Remove those.

Change-Id: I9313eee37374d82de2a1982a54843a70c58af426
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
bb10
Mikolaj Boc 2023-01-23 16:20:32 +01:00
parent 24f3e0f21c
commit 1737dfa34a
1 changed files with 0 additions and 14 deletions

View File

@ -37,12 +37,6 @@ public:
void initEventHandlers();
struct QWasmFrameOptions {
QRect rect;
int lineWidth;
QPalette palette;
};
void addWindow(QWasmWindow *window);
void removeWindow(QWasmWindow *window);
@ -61,9 +55,6 @@ public:
void requestUpdateAllWindows();
void requestUpdateWindow(QWasmWindow *window, UpdateRequestDeliveryType updateType = ExposeEventDelivery);
void setCapture(QWasmWindow *window);
void releaseCapture();
void handleBackingStoreFlush(QWindow *window);
private:
@ -85,16 +76,11 @@ private:
bool processKeyboard(int eventType, const EmscriptenKeyboardEvent *keyEvent);
bool processTouch(int eventType, const EmscriptenTouchEvent *touchEvent);
void enterWindow(QWindow *window, const QPoint &localPoint, const QPoint &globalPoint);
void leaveWindow(QWindow *window);
void updateEnabledState();
QWasmWindowStack m_windowStack;
bool m_isEnabled = true;
QSize m_targetSize;
qreal m_targetDevicePixelRatio = 1;
QMap<QWasmWindow *, UpdateRequestDeliveryType> m_requestUpdateWindows;
bool m_requestUpdateAllWindows = false;
int m_requestAnimationFrameId = -1;