Generation of graphical effects
First Claim
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.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for managing a page, involving: obtaining an electronic document having a main object and multiple parameters defining an effect for the main object; generating a display list for the page having multiple scaled-down graphical primitives corresponding to a scaled-down version of the main object; generating a scaled-down tile having the scaled-down version of the main object by rasterizing the multiple scaled-down graphical primitives; generating an effect tile comprising a scaled-down version of the effect by applying the multiple parameters to the scaled-down tile; rasterizing the effect tile into a framebuffer for the page by up-scaling the effect tile; and outputting the framebuffer for the page.
-
Citations
17 Claims
-
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 Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A non-transitory computer readable medium (CRM) storing instructions for managing a page, the instructions comprising functionality for:
-
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 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 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 the plurality of full-sized graphical primitives and the plurality of scaled-down graphical primitives to a display list; generating 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, 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 the 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 but separate from the full-sized version of the main object. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A system for managing a page, comprising:
-
a buffer storing an electronic document (ED) comprising a markup comprising tags specifying; a main object for placement on the page of the ED; 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 a first effect for the main object; a processor coupled to the buffer that; generates, 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 generates, in response to the tags of the ED specifying the first effect, 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; adds the plurality of full-sized graphical primitives and the plurality of scaled-down graphical primitives to a display list; generates 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; generates, by a process, 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; generates, 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; generates, 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, wherein the framebuffer is outputted and comprises; 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 but separate from the full-sized version of the main object. - View Dependent Claims (14, 15, 16, 17)
-
Specification