OpenVG is the 2D vector graphics API developed by Khronos. Full hardware acceleration of this API is not yet widely supported, unlike its 3D companion OpenGL ES. As a consequence, using ES compliant graphics hardware as a support for accelerating OpenVG comes naturally. In this paper, we summarize the four paint modes supported by OpenVG (color, linear gradient, radial gradient and pattern) and propose their possible implementation as GLSL ES fragment shaders running over an OpenGL ES compliant 3D graphics pipeline. We conclude with a proposal for enhancing the graphics hardware in order to support complex color ramps as supported by OpenVG.
展开▼