| Summary: | [CSS] Optimizing Linear Gradients | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Thomas Schindl <tom.schindl> | ||||||
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | gheorghe | ||||||
| Version: | 1.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 168790 [details]
Update Patch which implements all points
released changes to HEAD - Bogdan if you are not comfortable with the changes simply roll them back or correct them |
Created attachment 168784 [details] Optimize created image size I think we can optimize the Gradient-Support a bit: a) The gradient image must not be the full size of the composite but it's enough to make it 2px width because the background-image is tiled anyways b) We could even check then the size of the current image before disposing because if the y-size hasn't been changed we can simply skip recreating and resetting c) Is it a good idea to dipose the old image before setting a new one, or is this a possible raise condition (it should be changed anyways if we implement b))