Skip to content
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

Revert Drop rendering guards until engine statuses are reported correctly. JB#55286 OMP#JOLLA-310 #8

Merged
merged 1 commit into from
Sep 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/qmozwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ void QMozWindow::getPlatformImage(const std::function<void(void *image, int widt

void QMozWindow::suspendRendering()
{
// Revert this in context of JB#55286
#if 0
d->mWindow->SuspendRendering();
#endif
}

void QMozWindow::resumeRendering()
Expand Down
8 changes: 0 additions & 8 deletions src/qmozwindow_p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,12 @@ void QMozWindowPrivate::getGLXContext(void *&context, void *&surface)

bool QMozWindowPrivate::setReadyToPaint(bool ready)
{
Q_UNUSED(ready);
return true;
// Revert this in context of JB#55286
#if 0
QMutexLocker lock(&mReadyToPaintMutex);
if (mReadyToPaint != ready) {
mReadyToPaint = ready;
return true;
}
return false;
#endif
}

void QMozWindowPrivate::WindowInitialized()
Expand Down Expand Up @@ -219,9 +214,6 @@ void QMozWindowPrivate::CompositingFinished()

bool QMozWindowPrivate::PreRender()
{
return true;
#if 0
QMutexLocker lock(&mReadyToPaintMutex);
return mReadyToPaint;
#endif
}