4#ifndef QWASMCOMPOSITOR_H
5#define QWASMCOMPOSITOR_H
9#include <qpa/qplatformwindow.h>
44 void frame(
const QList<QWasmWindow *> &windows);
46 void deregisterEventHandlers();
48 void deliverUpdateRequests();
51 bool m_isEnabled =
true;
52 QMap<QWasmWindow *, UpdateRequestDeliveryType> m_requestUpdateWindows;
53 int m_requestAnimationFrameId = -1;
54 bool m_inDeliverUpdateRequest =
false;
55 static bool m_requestUpdateHoldEnabled;
void onWindowTreeChanged(QWasmWindowTreeNodeChangeType changeType, QWasmWindow *window)
void setVisible(QWasmWindow *window, bool visible)
static bool releaseRequestUpdateHold()
void setEnabled(bool enabled)
void requestUpdateWindow(QWasmWindow *window, UpdateRequestDeliveryType updateType=ExposeEventDelivery)
void handleBackingStoreFlush(QWindow *window)
UpdateRequestDeliveryType
QWasmCompositor(QWasmScreen *screen)
Combined button and popup list for selecting options.
GLenum GLenum GLsizei const GLuint GLboolean enabled
QWasmWindowTreeNodeChangeType