mirror of https://github.com/qt/qt3d.git
Taking into account we have texture sharing in the backend, we can only update frontend texture properties once we have created the shared backend texture. Code was adjusted to retrieve these properties when creating the GLTexture. Such changes are stored and sent on the next run loop from a job where they are distributed to all referenced frontend Texture. The status property handling has also been updated to send status changes to all shared textures instead of just the texture whose data generator is used to gather the data. A manual test checking texture property updates, sharing and remote url sharing has also been added. Change-Id: I8ed2449fe57c9d7337580b0f7561f974cbd5006d Task-number: QTBUG-65775 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> |
||
|---|---|---|
| .. | ||
| image.jpg | ||
| image2.jpg | ||
| main.cpp | ||
| main.qml | ||
| texture_property_updates.pro | ||
| texture_property_updates.qrc | ||