You can rasterize a glyph with freetype, then you can depending on the
surface you want to draw into either upload your glyph into some
texture glyph cache and then "blit" the texture into some gl surface,
or if your working on a main memory surface, you can use some "raster
painter" abstraction and blend the rasterized glyph into that surface.
I suppose pixman has such an abstraction, and QPaintEngine also has
such an abstraction.

Jørgen

On 21 September 2012 09:58, JS <[email protected]> wrote:
> On Fri, Sep 21, 2012 at 8:58 AM, Pekka Paalanen <[email protected]> wrote:
>> There is no "Wayland equivalent". You can use whatever you want. The
>> demos use Cairo for drawing.
> Cairo is also using XRenderCompositeText*.
> What Cairo should use instead of XRenderCompositeText* and other
> XRender functions ?
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to