D21916: egl: Create sRGB platform surfaces

Fredrik Höglund noreply at phabricator.kde.org
Thu Jun 20 00:52:48 BST 2019


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

REVISION SUMMARY
  Set EGL_GL_COLORSPACE to EGL_GL_COLORSPACE_SRGB in the
  eglCreatePlatformWindowSurface() attributes.
  
        
  
  We only do this when we are using OpenGL for now, because
  GL_FRAMEBUFFER_SRGB is enabled by default in GLES, and it cannot be
  disabled without GL_EXT_sRGB_write_control.

TEST PLAN
  Not tested.

REPOSITORY
  R108 KWin

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

AFFECTED FILES
  plugins/platforms/drm/egl_gbm_backend.cpp
  plugins/platforms/hwcomposer/egl_hwcomposer_backend.cpp
  plugins/platforms/wayland/egl_wayland_backend.cpp
  plugins/platforms/x11/common/eglonxbackend.cpp

To: fredrik, #kwin
Cc: kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190619/68fddfbc/attachment.html>


More information about the kwin mailing list