×

Method and apparatus for high-performance rendering and hit-testing of a window tree

  • US 6,954,218 B2
  • Filed: 06/20/2001
  • Issued: 10/11/2005
  • Est. Priority Date: 10/30/2000
  • Status: Active Grant
First Claim
Patent Images

1. 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 response to determining that no transformation should be applied to said object, using data from said stack associated with a parent node of said object as said invalidation rectangle;

    (iii) in response to determining that a transformation should be applied to said object, creating a cumulative invalidation matrix utilizing an inverse transform of said transformation;

    (iv) applying said cumulative invalidation matrix to said invalidation rectangle of said parent node to obtain a new bounding polygon;

    (v) determining a bounding rectangle of said new bounding polygon;

    (vi) intersecting said new bounding rectangle with a bounding rectangle for said object; and

    (vii) storing the results of said intersection on said stack;

    and determining whether said object should be rendered;

    (e) in response to determining that said object should be rendered, rendering said object and determining whether said object is a trivial object; and

    (f) in response to determining that said object is not a trivial object, rendering any children of said node using said recursive procedure.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×