Commit Graph

11 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
55911732f1 Dont's squash - gradient updates (#7646) 2025-02-12 22:30:53 -03:00
Gabor Kiss-Vamosi
e3f8d167cd fix(thorvg): support rendering in draw events (#6406)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-07-19 18:04:32 +08:00
VIFEX
e1547a126f refact(draw_vector): standardized draw gradient API (#6344)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-06-20 18:31:21 +08:00
zylalx1
47ec2784d8 chore: update some code and docs to use v9 API (#5876)
Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
2024-04-10 15:17:44 +08:00
VIFEXT
899d157d4c fix(demo/vector_graphic): add missing buffer clear (#5898)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-03-18 22:33:39 +08:00
Gabor Kiss-Vamosi
3db226bc81 fix(demo): fix memory leak in vector demo (#5643) 2024-02-13 09:56:13 +01:00
Neo Xu
e4de2d265a feat(vector): add API to append arc (#5510)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-30 17:33:10 +08:00
_VIFEXTech
5e62ce3fb4 fix(demos/vector_graphic): fix memory out-of-bounds access (#5326)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2024-01-15 09:30:08 +01:00
Gabor Kiss-Vamosi
2f3e8d4066 feat(draw): add initial SDL renderer
It caches SW rendered bitmaps in textures.
The cache is also updated to support data and source separately.
E.g. source is a path to an image, and if that image changes all
related cache entries needs to found and invalidated.

Limitations of SDL rederer:
- not all draw task types are supported
- image transformation is not supported
- some textures (e.g. button matrix texts) are not detected as cached
- images are not cached
- images are supported only from path
2023-11-18 15:35:45 +01:00
Gabor Kiss-Vamosi
2e5a551028 fix(vector): make vector examples and demos work with the docs 2023-11-09 12:22:39 +01:00
Zhang Ji Peng
8cf0bbb558 feat(draw): add implements vector graphic APIs (#4528) (#4691)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-09 11:37:33 +01:00