mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Blinking on resize or Ui updates on screen that have low frame rates.
This commit is contained in:
parent
41d0121c5d
commit
b495d97cc4
2 changed files with 8 additions and 1 deletions
|
|
@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## 5.3.0 - undefined
|
||||
|
||||
### Fixed
|
||||
- Blinking on resize or Ui updates on screen that have low frame rates.
|
||||
|
||||
### Added
|
||||
- Screen Sharing
|
||||
|
||||
|
|
|
|||
|
|
@ -269,7 +269,11 @@ bool App::setFetchConfig (QString filePath) {
|
|||
|
||||
|
||||
App::App (int &argc, char *argv[]) : SingleApplication(argc, argv, true, Mode::User | Mode::ExcludeAppPath | Mode::ExcludeAppVersion) {
|
||||
|
||||
// Ignore vertical sync. This way, we avoid blinking on resizes(and other refresh steps like layouts etc.).
|
||||
auto ignoreVSync = QSurfaceFormat::defaultFormat();
|
||||
ignoreVSync.setSwapInterval(0);
|
||||
QSurfaceFormat::setDefaultFormat(ignoreVSync);
|
||||
//-------------------
|
||||
connect(this, SIGNAL(applicationStateChanged(Qt::ApplicationState)), this, SLOT(stateChanged(Qt::ApplicationState)));
|
||||
|
||||
setWindowIcon(QIcon(Constants::WindowIconPath));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue