[LV2] inline plugin displays

Robin Gareus robin at gareus.org
Wed Mar 16 12:00:25 PDT 2016


On 03/16/2016 07:47 PM, Rui Nuno Capela wrote:
> hi, this is great i must tell

> eg. i'm sure you all know that a cairo-inspired raster-graphics api is
> going into ISO C++ stdlib any day soon, if ain't already
> 
> so it seems perfect time to get this all started from the ground up now.
> look! ARGB32 is (or will be one of some) std c++ supported raster
> formats,

yep. If you check the git history: For the first prototype I passed
around a   "cairo_surface_t *"  that had the advantage/disadvantage that
pixman managed lifetimes. After some discussion with Filipe, it changed
into compatible ARGB.

Right now there are some caveats when using the raw ARGB32 data pointer
directly (see
http://cairographics.org/manual/cairo-Image-Surfaces.html#cairo-image-surface-create-for-data)

> so a platform-independent lv2ui toolkit, i'd say, might be the
> next-big-thing, especially in regard to the lv2host/lv2ui/lv2plugin
> triangular business
>
> or so i thought

The hard part is not drawing but event handling. That's the main reason
why I kept it "display only".

apart from that, it'll be at least 2030 until MSVC adapts the C++
standard :)

2c,
robin


More information about the Devel mailing list