1. 19 Jun, 2019 22 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 11 commits