| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Task-number: QTBUG-67692
Change-Id: Ied25e7895fc0ac14a32f0506e0d11e8b873a04f2
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
When using the webgl backend in a container, one needs to specify the
port of the websocket server in addition to the http server.
While using QT_WEBGL_WEBSOCKETSERVER is an option, it requires to pass a
hostname in addition.
Change-Id: Iefce12f049a81711a52586d60dd34bddbb9de12e
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
It will improve the performance and fix problems with code not optimized
for the new QtQuick scenegraph.
A new environment variable is added in this patch to enable it,
QT_WEBGL_TRACKING.
Change-Id: Id2b87c5baa16822008a146051fa43be12db0a1ed
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original implementation of the plugin was created using Qt 5.8. A
workaround was added to avoid partial binary messages.
Apparently, this is not happening anymore, so the workaround is not
needed anymore.
Removing the workaround can provide a performance boost since the
application sends the binary message in a single message and the
browser does not need to rebuild the message.
Change-Id: I18e7a1c559d8a5d677ab66131098a6a1e855d985
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the QT_WEBGL_WEBSOCKETSERVER environment variable the WebSocket
Server listen address and port can be configured.
[ChangeLog][QtWebGL] QT_WEBGL_WEBSOCKETSERVER environment variable can
be used to configure the WebSocket Server address and port.
Task-number: QTBUG-65241
Change-Id: I3035aa7cc18d469293a4d55bc36e91cfae5ec03a
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Jason Hihn <jhihn@gmx.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Qt's other platform plugins differentiate Key_Enter and Key_Return.
Update the webgl plugin to do the same.
Also remove unused code related to key mapping.
Task-number: QTBUG-65686
Change-Id: I9e65b9413828f713f56d4942531f120b7d9cc6d7
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
| |
The variable is used only once. The function can be used in the
condition. An error message is shown when the WebSocket Server
fails to listen.
Change-Id: Ia5b54d271ed72bc408d94d24eb275f7d83f290f1
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Saves 4 bytes per message. Combined with other optimizations, this
can save a lot of bandwidth.
It also adds a new serialization type, the array. The parameter count
cannot be removed without supporting arrays.
Change-Id: I5f9c0901d50fb7d9613461d9860338e18dcbe3cd
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Saves bandwidth by using a number instead of sending the full string
to identify the GL command.
Change-Id: I5e8010465729d7a9c320d0375582d3a92d76019d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Allows the user to disable the browser loading animation for
debugging purposes. WebGL Inspector tries to debug the loading
screen instead of the proper WebGL context.
It can be disabled setting the QT_WEBGL_LOADINGSCREEN environment
variable to '0' or sending the 'noloadingscreen' parameter to the QPA
plugin.
By default, the browser will show the loading screen.
Change-Id: I5d84173d79c3f3fc67b776ba2f8fc8928a0194a1
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
|
|
|
|
|
|
| |
Eases the debugging in debug builds. In release no additional
information is shown.
Change-Id: I14b4a60235a0ca38e1350725e99242c456fdb290
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
|
|
|
|
|
|
|
| |
Refactors the code to allow sending configuration values during
connection. There is no need to delete the type from the connect
object any more.
Change-Id: Ide5df8fd77ddf556558f387d2846f927ac50e716
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
|
|
|
|
|
|
| |
Allows a faster and cleaner implementation of GL commands to reuse
as much code as possible. It will ease future changes.
Change-Id: If473a82c873a73c3c4c88075917400754d4159e1
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
|
|
|
|
|
|
|
|
| |
Saves 4 bytes per message not waiting for answer. Combined with other
optimizations can save a lot of bandwidth.
Change-Id: I360ba88d3b75db9278d6aff6c397e3ef8c99b02e
Reviewed-by: Michael Winkelmann <michael.winkelmann@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
| |
|
|
|
|
|
|
|
| |
It fixes the handling of NULL data. Before this patch, the wrong byte
array was used to check if the buffer is NULL.
Change-Id: Ia635e11a9ac33a157c28d4af99f625e33e8fa128
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
|
|
|
Done-with: Michael Winkelmann <michael.winkelmann@qt.io>
Change-Id: I6632475956393116af8885f42ba557e35d2b0985
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|