1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/core
Andy Green e3dca87f23 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.
2022-03-25 08:18:29 +00:00
..
alloc.c alloc: compressed backtrace instrumentation support 2022-03-15 10:28:09 +00:00
buflist.c lws_flow helpers 2022-02-22 14:37:31 +00:00
CMakeLists.txt sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
context.c context_destroy: clean up early fail path 2022-03-15 10:28:09 +00:00
libwebsockets.c lws_fx: fixed point 3232 arithmetic 2022-03-15 10:28:09 +00:00
logs.c logs: lock log context refcount changes 2022-01-26 11:54:08 +00:00
lws_dll2.c dll2: add api for inserting afer existing member 2022-01-04 16:08:50 +00:00
lws_map.c lws_map 2021-08-21 17:44:40 +01:00
private-lib-core.h lws_display: add display list / DLO support 2022-03-25 08:18:29 +00:00
vfs.c file_ops: vfs: support prefix matches and use of bound ops members 2022-03-15 10:28:09 +00:00