Method and apparatus for high-performance rendering and hit-testing of a window tree
Abstract
A method and apparatus for high-performance rendering and hit-testing of a window tree is provided. A window tree may be rendered using an application programming interface provided by the present invention. The application programming interface provides support for world-transforms, enabling entire sub-trees of the window tree to be rotated and scaled during rendering. In order to quickly render and hit-test the transformed nodes of the window tree, a stack-based implementation of the “painter's algorithm” is utilized to achieve fast rendering. By storing all state information on a stack regarding each node in the window tree and building new data structures containing rendering information for each node and its children, any portion of the sub tree may be rendered on demand.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 19.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for rendering a window tree having a plurality of nodes, comprising: defining a recursive procedure comprising: (a) identifying one of said nodes to be rendered; (b) determining whether a visual object defined at said identified node is visible; (c) in response to determining that said object is visible, copying rendering information for a hub-tree of said window tree defined by said identified node onto a stack; (d) calculating the bounds of an invalidation rectangle in coordinates relative to said object by: (i) determining whether a transformation is applied to said object; (ii) in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- Badros, Greg J., et al., "SCWM: An Intelligent Constraint-Enabled Window Manager," Smart Graphics: Papers from the 2000 American Association for Artificial Intelligence Symposium, Stanford, California, Mar. 20-22, 2000, pp. 76-83.
- Baudelair, Patrick, and Maurine Stone, "Techniques for Interactive Raster Graphics," Computer Graphics 14(3):314-320, Jul. 1980.
- Chandler, Richard, and Gary Faulkner, "The Painter's Algorithm," PC Tech Journal 3(11):181-184, Nov. 1985.
- Edwards, Janet, "A Parallel Implementation of the Painter's Algorithm for Transputer Networks," Proceedings of the Third International Conference on Applications of Transputers, Glasgow, UK, Aug. 28-30, 1991, pp. 736-741.
- Goodfellow, Michael J., "WHIM, The Window Handler and Input Manager," Proceedings of the 1<SUP>st </SUP>International Conference on Computer Workstations, San Jose, California, Nov. 11-14, 1985, pp. 12-21.