×

Generation of graphical effects

  • US 9,761,028 B2
  • Filed: 02/13/2013
  • Issued: 09/12/2017
  • Est. Priority Date: 02/13/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for managing a page, comprising:

  • obtaining an electronic document (ED) comprising a markup comprising tags specifying;

    a main object for placement on the page;

    a first effect for the main object for placement on the page of the ED but separate from the main object, wherein the first effect comprises an outer shadow of the main object; and

    a first plurality of parameters defining the first effect for the main object;

    generating by a computer processor (CP) and in response to the tags of the ED specifying the first effect;

    a plurality of full-sized graphical primitives corresponding to a full-sized version of the main object, wherein rasterizing the plurality of full-sized graphical primitives produces the full-sized version of the main object; and

    a plurality of scaled-down graphical primitives corresponding to a scaled-down version of the main object, wherein rasterizing the plurality of scaled-down graphical primitives produces the scaled-down version of the main object;

    adding, by the CP, the plurality of full-sized graphical primitives and the plurality of scaled-down graphical primitives to a display list;

    generating, by the CP, a scaled-down tile comprising the scaled-down version of the main object without the first effect by rasterizing the plurality of scaled-down graphical primitives in the display list, wherein the scaled-down tile is a pixel buffer;

    generating, by a process executing on the CP, an effect tile comprising a scaled-down version of the first effect, specified in the tags of the ED, by applying the first plurality of parameters, specified in the tags of the ED, to the scaled-down tile, wherein the effect tile is a pixel buffer, and wherein the scaled-down tile is an input to the process that generates the effect tile;

    generating, for a framebuffer for the page, a full-sized version of the main object by rasterizing the plurality of full-size graphical primitives in the display list;

    generating, for the framebuffer for the page, the first effect specified in the tags by up-scaling the effect tile comprising the scaled-down version of the first effect, wherein the framebuffer is external to the scaled-down tile and the effect tile, and wherein the main object and the up-scaled effect tile are in the same framebuffer; and

    outputting the framebuffer for the page, the framebuffer comprising;

    the full-sized version of the main object for placement on the page of the ED; and

    the first effect for placement on the page of the ED but separate from the full-sized version of the main object.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×