kwin/plugins/scenes/opengl
Roman Gilg 33bcc43fdf [scenes/opengl] Remove glDrawBuffer call
Summary:
According to Gl 3.2 (page 501) and 4.5 (page 204) specs the initial state of
the default framebuffer is already BACK. Therefore we do not need to set it
explicitly.

When we draw in the future to alternative framebuffers which do not have back
buffers this call is fatal.

Test Plan: No tearing on Wayland, tearing as before on X11.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D25868
2019-12-11 15:47:26 +01:00
..
shaders Move lanczos filter away from KWin core 2019-02-07 18:03:34 +02:00
CMakeLists.txt Undo some recent cmake changes 2019-09-18 13:50:52 +03:00
lanczosfilter.cpp [scenes/opengl] Discard cached Lanczos textures for all toplevels 2019-12-02 15:14:21 +02:00
lanczosfilter.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
opengl.json SVN_SILENT made messages (.desktop file) - always resolve ours 2019-12-07 05:38:05 +01:00
resources.qrc Move lanczos filter away from KWin core 2019-02-07 18:03:34 +02:00
scene_opengl.cpp [scenes/opengl] Remove glDrawBuffer call 2019-12-11 15:47:26 +01:00
scene_opengl.h [scenes/opengl] Drop unused enum type 2019-11-30 14:20:34 +02:00