Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
1738b44b
Commit
1738b44b
authored
Oct 22, 2021
by
Xaver Hugl
Browse files
platforms/drm: fix direct scanout check
(cherry picked from commit
49afd180
)
parent
d87273d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/platforms/drm/egl_gbm_backend.cpp
View file @
1738b44b
...
...
@@ -719,7 +719,7 @@ QSharedPointer<GLTexture> EglGbmBackend::textureForOutput(AbstractOutput *output
bool
EglGbmBackend
::
directScanoutAllowed
(
AbstractOutput
*
output
)
const
{
return
!
m_backend
->
usesSoftwareCursor
()
&&
output
->
directScanoutInhibited
();
return
!
m_backend
->
usesSoftwareCursor
()
&&
!
output
->
directScanoutInhibited
();
}
bool
EglGbmBackend
::
hasOutput
(
AbstractOutput
*
output
)
const
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment