1. 19 Jun, 2019 4 commits
  2. 22 Apr, 2019 4 commits
  3. 19 Apr, 2019 3 commits
    • Harish Krupo's avatar
    • Harish Krupo's avatar
      gl-renderer: use intermediate texture for linear light blending · 65d9233b
      Harish Krupo authored
      Linear light blending is required when the presented surfaces are
      of different colorspaces. The surfaces are linearized, colorspace
      convertion is applied (if required) and then blended together. All
      this is done to an intermediate texture so that it can be blitted
      on to the framebuffer while applying the required non linear curve.
      
      v2: Use /* */ instead of // (Pekka)
          Rename fbo and tex to shadow_{fbo,tex} (Pekka)
          Check for OpenGLES capabilities before creating
          shadow_{tex,fbo} (Pekka)
      Signed-off-by: Harish Krupo's avatarHarish Krupo <harishkrupo@gmail.com>
      65d9233b
    • Harish Krupo's avatar
      gl-renderer: Requirement based shader generation · 76671819
      Harish Krupo authored
      This patch modifies the shader generation code so that the shaders are
      stitched together based on the requirement instead of creating them
      during initilization. This is necessary for HDR use cases where each
      surface would have different properties based on which different
      de-gamma or tone mapping or gamma shaders are stitched together.
      
      v2: Use /* */ instead of // (Pekka)
          Move shader strings to gl-shaders.c file (Pekka)
          Remove Makefile.am changes (Pekka)
          Use a struct instead of uint32_t for storing requirements (Pekka)
          Clean up shader list on destroy (Pekka)
          Rename shader_release -> shader_destroy (Pekka)
          Move shader creation/deletion into gl-shaders.c (Pekka)
          Use create_shaders's multi string capbility instead of
          concatenating (Pekka)
      
      v3: Add length check when adding shader string (Pekka)
      Signed-off-by: Harish Krupo's avatarHarish Krupo <harishkrupo@gmail.com>
      76671819
  4. 18 Apr, 2019 19 commits
  5. 16 Apr, 2019 2 commits
  6. 14 Apr, 2019 1 commit
    • Luca Weiss's avatar
      Fix incorrect include · 923a1e96
      Luca Weiss authored
      In file included from ../clients/multi-resource.c:38:                                                                                       
      /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]                               
       #warning redirecting incorrect #include <sys/poll.h> to <poll.h>                                                                            
        ^~~~~~~
      923a1e96
  7. 09 Apr, 2019 1 commit
  8. 04 Apr, 2019 1 commit
  9. 02 Apr, 2019 1 commit
  10. 29 Mar, 2019 1 commit
    • Pekka Paalanen's avatar
      build: add missing dep to x11 backend · 651566af
      Pekka Paalanen authored
      All other backends already link to libweston, x11 backend should too.
      
      This fixes a build failure:
      
      [1/50] Compiling C object 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o'.
      FAILED: libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o
      cc -Ilibweston/2b98b6d@@x11-backend@sha -Ilibweston -I../../git/weston/libweston -Ilibweston/.. -I../../git/weston/libweston/.. -Ilibweston/../shared -I../../git/weston/libweston/../shared -Iprotocol -I/home/pq/local/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -g -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -fvisibility=hidden -fPIC  -MD -MQ 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o' -MF 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o.d' -o 'libweston/2b98b6d@@x11-backend@sha/compositor-x11.c.o' -c ../../git/weston/libweston/compositor-x11.c
      ../../git/weston/libweston/compositor-x11.c:51:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
       #include <xkbcommon/xkbcommon.h>
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.com>
      651566af
  11. 28 Mar, 2019 3 commits