forked from ileben/ShivaVG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
42 lines (35 loc) · 1.09 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
----------
Known bugs
----------
- outofmemory in arrays silently ignored
- blending doesn't use premultiplied colors (not porter-duff model)
- gradient color ramp is not interpolated in linear space
- linear and non-linear image formats behave both linearly
- radial gradient circle has got a fixed step instead of
proportional to its radius
-------------------------
Incomplete functionality:
-------------------------
- non-zero fill mode
- proper porter-duff blending
- masking
- scissoring
- child images
- VG_DRAW_IMAGE_STENCIL
- _PRE and BW_1 image formats
- VGU warp matrices
- EGL (image drawing targets)
- boundbox / point-on-path / tangent-on-path queries
- RENDERING_QUALITY_FASTER == RENDERING_QUALITY_BETTER
---------------------------
Possible portability issues
---------------------------
- GL_UNSIGNED_INT_8_8_8_8 and other for images
- GL_MIRRORED_REPEAT for gradients
- GL_CLAMP_TO_EDGE for gradients and pattern paints
- GL_CLAMP_TO_BORDER for pattern paints
- multitexturing for VG_DRAW_IMAGE_MULTIPLY, VG_DRAW_IMAGE_STENCIL
------
Bonus:
------
- gradient shaders? antialiasing shader?