Commit graph

16 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
4e7159c22c Stop creating image pipeline when unnecessary 2020-02-28 14:38:42 +01:00
Héctor Ramón Jiménez
bb397cc668 Move Debug implementation for vector::Svg 2020-02-26 20:49:40 +01:00
Héctor Ramón Jiménez
d06d06e050 Deallocate atlas entries and remove padding 2020-02-26 20:10:19 +01:00
Héctor Ramón Jiménez
59d45a5440 Refactor texture atlas
- Split into multiple modules
- Rename some concepts
- Change API details
2020-02-26 12:34:34 +01:00
Malte Veerman
4617da2818 Implemented automatic deallocation of texture space for dropped allocations 2020-02-25 13:27:03 +01:00
Malte Veerman
2f695ef980 Updated shaders and removed debug_stub_derive dependency 2020-02-25 13:27:03 +01:00
Malte Veerman
c0996923c6 Batch image draw calls into one with multiple instances 2020-02-25 13:26:50 +01:00
Malte Veerman
3f38835105 Implement allocating large images across multiple texture array layers. 2020-02-25 13:26:50 +01:00
Malte Veerman
2f77a6bf5a Use array of atlases instead of one growing indefinitely. 2020-02-25 13:26:50 +01:00
Malte Veerman
82e0675c07 Some small debug changes 2020-02-25 13:26:50 +01:00
Malte Veerman
743637ebda Merged image and svg texture atlases into one owned by the image pipeline. 2020-02-25 13:26:50 +01:00
Malte Veerman
1bcfc9a5cc Implemented a texture atlas for images and svgs. 2020-02-25 13:26:33 +01:00
Héctor Ramón Jiménez
d78ae3c852 Avoid rasterizing SVG when a dimension is 0 2019-12-21 08:16:36 +01:00
Héctor Ramón Jiménez
514ccf8a72 Cache Svg load result properly
This avoids trying to reload the file constantly on every frame.
2019-12-15 07:07:49 +01:00
Héctor Ramón Jiménez
aa29849976 Add svg example 2019-12-15 06:31:53 +01:00
Héctor Ramón Jiménez
09707f29fc Rerasterize SVGs when resized and refactor a bit 2019-12-15 06:19:07 +01:00