PaintLab/PixelFarm

snapshot

prepare opened this issue · 7 comments

agg_software

  1. PixelFarm's Agg (pure software)

gdiplus
2. GDI+


gles2_aa_shader
3. PixelFarm's GLES2 + AA shader


skia_mem
4. SkiaSharp Memory Backend


skia_gles2
5. SkiaSharp GLES Backend

PixelFarm Typography:

lcd1


lcd2


lcd3


sc_04

pic 1: GLFW +SKIA (Native Windows / No WinForm/ No System.Drawing)

(https://github.com/prepare/PixelFarm-dev/tree/master/a_mini/projects/Tests/TestGLES_SKIA_GLFW)


sc_05
pic 2: GLFW +GLES2 (Native Windows / No WinForm/ No System.Drawing)

(1) load img with managed loader(https://github.com/PaintLab/ImgCodec), render to GL canvas
(2) load img, pass to GLES2 shader (Blur shader) then render to GL canvas

(https://github.com/prepare/PixelFarm-dev/tree/master/a_mini/projects/Tests/TestGLES_SKIA_GLFW)

gles2_textspan

pic 1: GLES2 texture font (a glyph is render with the Typography)

Test Application : Color Blender

(ported from ColorBlender, https://github.com/wieslawsoltes/ColorBlender)

Glyphs generated by our Typography lib(https://github.com/LayoutFarm/Typography)

sample_screen

pic 1: GLES2 canvas, lcd-effect-stecil-based texture glyph


Zoom on the text.

sample_screen2

pic 2: show lcd-effect-stencil-based texture


With TrueType Hinting + SubPixelRendering + Lcd Effect

(left) GLES2 on Angle (Hardware rendering) vs (right) GLES2 on Google's Swift Shader (Software-based GLES2 impl)

swift_shader

pic 3: (left) Angle vs (right) ShiftShader

Ghostscript's Tiger.svg

(https://commons.wikimedia.org/wiki/File:Ghostscript_Tiger.svg)

tiger

pic 1: PixelFarm's Agg (1) vs Chrome (2)

tiger2

pic 2: Agg's result, bitmap zoom-in to see fine details