lws_display: add display list / DLO support
This adds optional display list support to lws_display, using DLOs (Display List Objects). DLOs for rectangle / rounded rectangle (with circle as the degenerate case), PNGs, JPEG and compressed, antialiased bitmapped fonts and text primitives are provided. Logical DLOs are instantiated on heap and listed into an lws_display_list owner, DLOs handle attributes like position, bounding box, colour + opacity, and local error diffusion backing buffer. When the display list is complete, it can be rasterized a line at a time, with scoped error diffusion resolved, such that no allocation for the framebuffer is required at any point. DLOs are freed as the rasterization moves beyond their bounding box. Adds a platform registry binding names and other metadata to lws_display fonts / PNGs / JPEGs. Provides registration, destruction and best match selection apis.
显示
- CMakeLists.txt 6 个添加, 1 个删除CMakeLists.txt
- LICENSE 101 个添加, 2 个删除LICENSE
- READMEs/README.display-list.md 148 个添加, 0 个删除READMEs/README.display-list.md
- cmake/lws_config.h.in 1 个添加, 0 个删除cmake/lws_config.h.in
- contrib/mcufont/LICENSE 31 个添加, 0 个删除contrib/mcufont/LICENSE
- contrib/mcufont/README.md 102 个添加, 0 个删除contrib/mcufont/README.md
- contrib/mcufont/encoder/.gitignore 7 个添加, 0 个删除contrib/mcufont/encoder/.gitignore
- contrib/mcufont/encoder/CMakeLists.txt 35 个添加, 0 个删除contrib/mcufont/encoder/CMakeLists.txt
- contrib/mcufont/encoder/bdf_import.cc 156 个添加, 0 个删除contrib/mcufont/encoder/bdf_import.cc
- contrib/mcufont/encoder/bdf_import.hh 80 个添加, 0 个删除contrib/mcufont/encoder/bdf_import.hh
- contrib/mcufont/encoder/ccfixes.hh 152 个添加, 0 个删除contrib/mcufont/encoder/ccfixes.hh
- contrib/mcufont/encoder/datafile.cc 239 个添加, 0 个删除contrib/mcufont/encoder/datafile.cc
- contrib/mcufont/encoder/datafile.hh 174 个添加, 0 个删除contrib/mcufont/encoder/datafile.hh
- contrib/mcufont/encoder/encode_rlefont.cc 735 个添加, 0 个删除contrib/mcufont/encoder/encode_rlefont.cc
- contrib/mcufont/encoder/encode_rlefont.hh 126 个添加, 0 个删除contrib/mcufont/encoder/encode_rlefont.hh
- contrib/mcufont/encoder/export_bwfont.cc 250 个添加, 0 个删除contrib/mcufont/encoder/export_bwfont.cc
- contrib/mcufont/encoder/export_bwfont.hh 16 个添加, 0 个删除contrib/mcufont/encoder/export_bwfont.hh
- contrib/mcufont/encoder/export_rlefont.cc 336 个添加, 0 个删除contrib/mcufont/encoder/export_rlefont.cc
- contrib/mcufont/encoder/export_rlefont.hh 15 个添加, 0 个删除contrib/mcufont/encoder/export_rlefont.hh
- contrib/mcufont/encoder/exporttools.cc 184 个添加, 0 个删除contrib/mcufont/encoder/exporttools.cc
加载中
想要评论请 注册 或 登录