1. 16 May, 2023 1 commit
  2. 23 Feb, 2023 1 commit
  3. 21 Feb, 2023 1 commit
    • Andrew Kolos's avatar
      Speed up first asset load by using the binary-formatted asset manifest for... · e3db0488
      Andrew Kolos authored
      Speed up first asset load by using the binary-formatted asset manifest for image resolution (#118782)
      
      * add asset manifest bin loading and asset manifest api
      
      * use new api for image resolution
      
      * remove upfront smc data casting
      
      * fix typecasting issue
      
      * remove unused import
      
      * fix tests
      
      * lints
      
      * lints
      
      * fix import
      
      * fix outdated type name
      
      * restore AssetManifest docstrings
      
      * update test
      
      * update other test
      
      * make error message for invalid keys more useful
      e3db0488
  4. 26 Jan, 2023 1 commit
    • Todd Volkert's avatar
      Add more flexible image API (#118966) · b319938e
      Todd Volkert authored
      This updates the framework to provide higher level wrappers around ui.instantiateImageCodecWithSize(). Functionally, this doesn't change anything (other than deprecating the older loadBuffer() method in favor of loadImage()), but it sets the stage for a simpler change that will allow us to provide a more flexible way to load sized images.
      
      #118543
      b319938e
  5. 20 Jan, 2023 1 commit
  6. 21 Dec, 2022 1 commit
  7. 01 Nov, 2022 1 commit
  8. 26 Aug, 2022 1 commit
  9. 08 Jun, 2022 1 commit
  10. 27 May, 2022 1 commit
  11. 26 May, 2022 1 commit
  12. 27 Apr, 2022 1 commit
  13. 01 Mar, 2022 1 commit
  14. 03 Feb, 2022 1 commit
  15. 14 Dec, 2021 1 commit
  16. 08 Oct, 2021 3 commits
  17. 30 Aug, 2021 1 commit
  18. 16 Aug, 2021 1 commit
  19. 09 Aug, 2021 1 commit
  20. 15 Jul, 2021 1 commit
  21. 14 Jul, 2021 3 commits
  22. 13 Jul, 2021 2 commits
  23. 01 Jun, 2021 1 commit
  24. 28 Apr, 2021 1 commit
  25. 01 Apr, 2021 1 commit
  26. 26 Mar, 2021 1 commit
  27. 06 Mar, 2021 1 commit
  28. 03 Feb, 2021 1 commit
  29. 29 Jan, 2021 1 commit
  30. 21 Oct, 2020 1 commit
  31. 15 Oct, 2020 1 commit
  32. 05 Oct, 2020 1 commit
  33. 01 Oct, 2020 2 commits
    • Dan Field's avatar
      Revert dispose images when done (#67100) · 473358d9
      Dan Field authored
      * Revert "docs for image disposal (#67066)"
      
      This reverts commit bcb2ac5a.
      
      * Revert "Dispose of images after using them (#66688)"
      
      This reverts commit a7954691.
      473358d9
    • Dan Field's avatar
      Dispose of images after using them (#66688) · a7954691
      Dan Field authored
      * Dispose of images after using them
      Adds ImageInfo.clone, ImageInfo.dispose, and ImageInfo.isCloneOf.
      Makes all stateful holders of ui.Image objects properly clone and dispose of them.
      Behavior change for ImageStreamCompleter: Removing the last listener after registering at least one listener results in the object being disposed, and new listeners cannot be added, unless a keepAlive handle is created.
      Makes all non-stateful holders of ui.Image (i.e. paintImage and RawImage) assert that whoever gave the image to them has not disposed it on them.
      a7954691
  34. 30 Sep, 2020 1 commit