Age | Commit message (Collapse) | Author |
|
|
|
Drawing an image in VG_DRAW_IMAGE_STENCIL mode produces per-channel
alpha for use in blending. Add a new shader stage to produce and save
it in TEMP[1].
For other modes that do not need per-channel alpha, the stage does
MOV TEMP[1], TEMP[0].wwww
|
|
Masking should happen after blending. The shader is not entirely
correct, but leave it as is for now.
|
|
Fix the case that the two points of a linear gradient coincide, or the
case that the radius of a radial gradient is equal to or less than 0.
|
|
Per OpenVG 1.1. A new shader stage is added. It uses the first two
constants of the fragment shader for color transformation parameters.
|
|
Divide bits of VegaShaderType into 6 groups: paint, image, mask, fill,
premultiply, and bw. Each group represents a stage. At most one shader
from each group will be selected when constructing the final fragment
shader.
|
|
|
|
A vg_shader is destroyed with FREE.
|
|
[Manually fix a conflict in vg_context.c by Chia-I Wu]
|
|
|
|
|
|
|
|
Drop the 1.1 version suffix.
|
|
Import of the OpenVG 1.0 state tracker for Gallium.
|