What if we bundled SVG files with Eclipse, then on first startup with a
given resolution we lazily render them to PNGs with the appropriate detail.
When Eclipse launches, it would use the .PNGs from the cache.

It could take a really long time for the first launch, but subsequent
restarts should be fairly quick since it would just be loading .PNGs from
then on.

  - Stefan

On Wed, Sep 21, 2016 at 9:15 AM Mickael Istria <mist...@redhat.com> wrote:

> On 09/21/2016 06:09 PM, Antoine THOMAS wrote:
>
> Other questions:
> - Why render svg files in bitmap?
> - Why not use svg icons in platform? This way the icons are always
> beautiful, no matter the resolution of the screen
>
> it would mean that the IDE would have to "render" SVG to bitmaps at
> runtime (whereas we currently do it at dev-time). Given the number of icons
> in Eclipse IDE, there are risks that this consume a lot of CPU (in the UI
> Thread moreover...) and creates lags.
> But it's just a guess, I'm not aware of any actual experiment of theorical
> metrics about the impact of displaying SVGs in Eclipse.
>
> --
> Mickael Istria
> Eclipse developer for Red Hat Developers <http://developers.redhat.com>
> My blog <http://mickaelistria.wordpress.com> - My Tweets
> <http://twitter.com/mickaelistria>
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to