-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUILD TEST Gpu limit #1
base: master
Are you sure you want to change the base?
Conversation
9f92000
to
5805653
Compare
Small typo in qgsvectorlayereditbuffergroup.cpp
`unittest.TestCase` is deprecated.
…hortname/abstract/etc
Add QGIS Server tab to QgsVectorTileLayerProperties for configuring shortname/abstract/etc
instead of the generic QgsException one Refs warning in qgis#55481 (comment) ``` /tmp/work/geography/qgis/work/qgis-3.28.13/build/python/core/build/_core/sip_corepart0.cpp:38168: warning: exception of type 'QgsProviderConnectionException' will be caught 38168 | catch (QgsProviderConnectionException &sipExceptionRef) | /tmp/work/geography/qgis/work/qgis-3.28.13/build/python/core/build/_core/sip_corepart0.cpp:38158: warning: by earlier handler for 'QgsException' 38158 | catch (QgsException &sipExceptionRef) ```
This is achieved with the two following changes: - add QgsDummyLayer to handle technical layer (for example terrain). - add QgsTerrainLayer3DRenderer to handle terrain layer. With this change, this is now possible to remove `mSceneEntities` as the entities are now also saved in mLayerEntities.
…oid confusion with Qgs3DMapScene::SceneState
The update scene logic is duplicated in two different places: - `Qgs3DMapScene::updateScene` - `Qgs3DMapScene::onFrameTriggered` In `Qgs3DMapScene::updateScene`, it iterates through the different mapscene entities, check if th gpu limit has been reached and updates the scene state flags accordingly. In `Qgs3DMapScene::onFrameTriggered`, it makes the same thing as `Qgs3DMapScene::updateScene` but only if needed. These similar approaches are merged into one by adding a `forceupdate` boolean.
…eLog and qInstallMessageHandler) This produces: * a cleaner and more understandable log management * all log logic is in QgsLogger::qtMessageHandler * log format cutomisation via QT_MESSAGE_PATTERN (useful for dev/server usage) * log message formating is delegated to Qt * add QGS_LOG_LVL_XXX to help in understand map between number and level
This routine tries to estimate the GPU available memory in kb. It uses some vendor OpenGL extensions. It works for AMD and Nvidia but there is no available extension for an Intel card. It returns -1 in case of failure.
…grate log from qDebug to QgsDebugMsgLevel
The entity is deleted, not the entry.
This way, it is created and deleted by the same class.
This prevents a memory leak.
8de0f02
to
2c00cf8
Compare
Tests failed for Qt 5One or more tests failed using the build from commit 98bc8ce composer3d_basic_qt5 (testBasic)composer3d_basic_qt5Test failed at testBasic at tests/src/3d/testqgslayout3dmap.cpp:107 Rendered image did not match tests/testdata/control_images/composer_3d/expected_composer3d_basic_qt5/expected_composer3d_basic_qt5.png (found 456044 pixels different) mesh_terrain_1 (testMeshTerrain)mesh_terrain_1Test failed at testMeshTerrain at tests/src/3d/testqgsmesh3drendering.cpp:140 Rendered image did not match tests/testdata/control_images/3d/expected_mesh_terrain_1/expected_mesh_terrain_1.png (found 93750 pixels different) The full test report (included comparison of rendered vs expected images) can be found here. Further documentation on the QGIS test infrastructure can be found in the Developer's Guide. |
Tests failed for Qt 6One or more tests failed using the build from commit 98bc8ce composer3d_basic_qt6 (testBasic)composer3d_basic_qt6Test failed at testBasic at tests/src/3d/testqgslayout3dmap.cpp:109 Rendered image did not match tests/testdata/control_images/composer_3d/expected_composer3d_basic_qt6/expected_composer3d_basic_qt6.png (found 456133 pixels different) mesh_terrain_1 (testMeshTerrain)mesh_terrain_1Test failed at testMeshTerrain at tests/src/3d/testqgsmesh3drendering.cpp:140 Rendered image did not match tests/testdata/control_images/3d/expected_mesh_terrain_1/expected_mesh_terrain_1.png (found 93750 pixels different) The full test report (included comparison of rendered vs expected images) can be found here. Further documentation on the QGIS test infrastructure can be found in the Developer's Guide. |
Better handling of empty repositories
Description
[Replace this with some text explaining the rationale and details about this pull request]