Skip to content
  1. Aug 06, 2019
  2. Aug 05, 2019
  3. Aug 03, 2019
  4. Aug 02, 2019
  5. Aug 01, 2019
  6. Jul 31, 2019
  7. Jul 28, 2019
  8. Jul 27, 2019
  9. Jul 24, 2019
  10. Jul 23, 2019
  11. Jul 20, 2019
  12. Jul 18, 2019
  13. Jul 16, 2019
  14. Jul 15, 2019
  15. Jul 12, 2019
    • Sebastian Wick's avatar
      61c25ca5
    • Harish Krupo's avatar
      gl-renderer: Requirement based shader generation · 61610acf
      Harish Krupo authored and Sebastian Wick's avatar Sebastian Wick committed
      
      
      This patch modifies the shader generation code so that the shaders are
      stitched together based on the requirement instead of creating them
      during initialization. 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: default avatarHarish Krupo <harishkrupo@gmail.com>
      61610acf
  16. Jul 02, 2019
Loading