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
Unmaintained
KDE Workspace
Commits
6aa2b5ca
Commit
6aa2b5ca
authored
Apr 30, 2011
by
Martin Flöser
Browse files
No OpenGL/GLX compositing on Gallium softpipe
BUG: 271166 FIXED-IN: 4.7.0
parent
f151e1ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
kwin/scene_opengl_glx.cpp
View file @
6aa2b5ca
...
...
@@ -60,7 +60,8 @@ SceneOpenGL::SceneOpenGL(Workspace* ws)
return
;
// error
// Initialize OpenGL
initGL
();
if
(
QString
((
const
char
*
)
glGetString
(
GL_RENDERER
))
==
"Software Rasterizer"
)
{
GLPlatform
*
glPlatform
=
GLPlatform
::
instance
();
if
(
glPlatform
->
driver
()
==
Driver_Swrast
||
glPlatform
->
driver
()
==
Driver_Softpipe
)
{
kError
(
1212
)
<<
"OpenGL Software Rasterizer detected. Falling back to XRender."
;
QTimer
::
singleShot
(
0
,
Workspace
::
self
(),
SLOT
(
fallbackToXRenderCompositing
()));
return
;
...
...
@@ -70,7 +71,7 @@ SceneOpenGL::SceneOpenGL(Workspace* ws)
kError
(
1212
)
<<
"GL_ARB_texture_non_power_of_two and GL_ARB_texture_rectangle missing"
;
return
;
// error
}
if
(
GL
Platform
::
instance
()
->
isMesaDriver
()
&&
GL
Platform
::
instance
()
->
mesaVersion
()
<
kVersionNumber
(
7
,
10
))
{
if
(
gl
Platform
->
isMesaDriver
()
&&
gl
Platform
->
mesaVersion
()
<
kVersionNumber
(
7
,
10
))
{
kError
(
1212
)
<<
"KWin requires at least Mesa 7.10 for OpenGL compositing."
;
return
;
}
...
...
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