Patent ID: 8698837
Filing Date: 2014-04-15
Classification: G06T

Abstract:
1. A method of rendering clipped paths, the method comprising: receiving a clip path and a draw path to be clipped by the clip path; generating, by rendering clip path geometry, a clip stencil buffer state indicating samples that are inside of the clip path; generating, by rendering draw path geometry, clipped draw path stencil buffer state indicating samples of the draw path to be covered, wherein a stencil test applies the clip stencil buffer state to rasterized samples of the draw path geometry to update stencil values of the clipped draw path stencil buffer state; determining, during rendering of draw path covering geometry with stencil testing enabled, surviving pixels that are covered by the draw path and the clip path based on the clipped draw path stencil buffer state; and shading the surviving pixels to produce a rendered image of the draw path clipped by the clip path.