D25868: [scenes/opengl] Remove glDrawBuffer call

Roman Gilg noreply at phabricator.kde.org
Wed Dec 11 03:33:37 GMT 2019


romangg created this revision.
romangg added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
romangg requested review of this revision.

REVISION 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.

REPOSITORY
  R108 KWin

BRANCH
  draw-buffer

REVISION DETAIL
  https://phabricator.kde.org/D25868

AFFECTED FILES
  plugins/scenes/opengl/scene_opengl.cpp

To: romangg, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191211/32a1889c/attachment.html>


More information about the kwin mailing list