1. 21 Mar, 2018 2 commits
    • Carlos Garnacho's avatar
      cogl: Read pixels as per the stored format · 44a7f74d
      Carlos Garnacho authored
      By the looks of it, commit 95e9fa10 was taping over an Intel DRI bug
      that would make it return post-swizzling pixel data on glReadPixels().
      There's been reports over time of that commit resulting in wrong colors
      on other drivers, and lately Mesa >17.3 started showing the same symptoms
      on Intel.
      
      But texture swizzling works by changing parameters before fragment shaders
      and reading pixels from an already drawn FBO/texture doesn't involve those.
      This should thus use pixel_format_to_gl_with_target(), which will result in
      correctly requesting the same pixel format than the underlying texture,
      while still considering it BGRA for the upper layers in the swizzling case.
      
      #72
      
      Closes: #72
      44a7f74d
    • handsome-feng's avatar
      Fix some spelling errors · b8a81128
      handsome-feng authored
      !45
      b8a81128
  2. 05 Mar, 2018 1 commit
    • Jonas Ådahl's avatar
      renderer/native: Force EGL config pixel format · 712ec30c
      Jonas Ådahl authored
      We just arbitrarily chose the first EGL config matching the passed
      attributes, but we then assumed we always got GBM_FORMAT_XRGB8888. That
      was not a correct assumption. Instead, make sure we always pick the
      format we expect.
      
      Closes: #2
      712ec30c
  3. 09 Feb, 2018 1 commit
  4. 07 Feb, 2018 1 commit
  5. 05 Feb, 2018 1 commit
  6. 05 Oct, 2017 1 commit
  7. 21 Aug, 2017 1 commit
  8. 22 May, 2017 1 commit
  9. 18 May, 2017 1 commit
  10. 17 Apr, 2017 2 commits
  11. 24 Mar, 2017 1 commit
  12. 07 Mar, 2017 2 commits
  13. 01 Mar, 2017 1 commit
  14. 28 Feb, 2017 1 commit
    • Carlos Garnacho's avatar
      cogl: Prefer swizzling to convert BGRA buffers · 1705a26f
      Carlos Garnacho authored
      If the GL implementation/hw supports the GL_*_texture_swizzle extension,
      pretend that BGRA textures shall contain RGBA data, and let the flipping
      happen when the texture will be used in the rendering pipeline.
      
      This avoids rather expensive format conversions when forcing BGRA buffers
      into RGBA textures, which happens rather often with WL_SHM_FORMAT_ARGB8888
      buffers (like gtk+ uses) in little-endian machines.
      
      In intel/mesa/wayland, the performance improvement is rather noticeable,
      CPU% as seen by top decreases from 45-50% to 25-30% when running
      gtk+/tests/scrolling-performance with a cairo renderer.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=779234
      1705a26f
  15. 21 Feb, 2017 6 commits
  16. 15 Feb, 2017 2 commits
  17. 14 Feb, 2017 1 commit
    • Jonas Ådahl's avatar
      Make libmutter and friends parallel installable · 4ebc55f2
      Jonas Ådahl authored
      In order to minimize the amount of breakage, while at the same time
      making it easier to make backward incompatible changes needed to
      continue turning libmutter into a capable Wayland compositor, make the
      libmutter and friends (libmutter-clutter, libmutter-cogl*) parallel
      installable by adding a version number to the name. This changes
      various filenames, for example what previously was libmutter.so is now
      libmutter-0.so (assuming the version for now is 0), and
      libmutter-clutter-1.0.so is now libmutter-clutter-0.so. The pkg-config
      filenames and GObject introspection has been renamed to reflect this as
      well.
      
      This enables a downstream compositor rely on a specific version of the
      libmutter API, while gracefully handling API/ABI changes by having to
      update to the new version at their own pace.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=777317
      4ebc55f2
  18. 07 Feb, 2017 1 commit
  19. 03 Jan, 2017 1 commit
  20. 02 Dec, 2016 1 commit
  21. 23 Nov, 2016 1 commit
    • Florian Müllner's avatar
      build: Fix cogl include paths · 0aa6d978
      Florian Müllner authored
      cogl-egl-defines.h is now referenced from a public header, so we need
      to include its location whenever the header is used (directly or via
      cogl.h).
      0aa6d978
  22. 17 Nov, 2016 4 commits
  23. 02 Sep, 2016 1 commit
  24. 29 Aug, 2016 1 commit
  25. 18 Aug, 2016 1 commit
  26. 22 Jul, 2016 1 commit
  27. 20 Jul, 2016 2 commits