Pooling and tiling data images from memory to draw windows on a display device
View Patent ↗The instant application discloses receiving a command via a processor to initiate a window creation operation on a client computing device, retrieving at least one image tile pre-allocated in a memory of the client computing device, performing a draw operation that places at least one image overplayed onto the at least one image tile and displaying the image overplayed onto the at least one image tile on a display of the client computing device.
1. A method, comprising:
receiving a command via a processor to initiate a window creation operation on a client computing device;
retrieving a plurality of image tiles as a set of image tiles, each of the plurality of image tiles having a fixed size, wherein a combined size of the set of image tiles is equal to or greater than a surface area size of at least one image;
arranging the set of image tiles as a mosaic with a surface size that is larger than dimensions of the at least one image;
locking the set of the image tiles in the mosaic causing the set of image tiles to remain unavailable until a marker is removed;
pre-allocating a fixed size of memory of the client computing device to accommodate the combined size of the set of the image tiles prior to drawing the at least one image;
performing a draw operation that draws the at least one image overplayed onto the plurality of image tiles stored in the memory without pre-allocating separate memory for the at least one image, and wherein the draw operation splits the at least one image and places the at least one image in a partial area occupied by each of the plurality of image tiles disposed within an area of a window;
displaying the image overplayed onto the plurality of image tiles on a display of the client computing device; and
maintaining the fixed size of the pre-allocated memory during the at least one image being drawn and overplayed onto the plurality of image tiles.
2. The method of claim 1 , wherein the command comprises instructions to draw a background of the window, draw a line of the window, draw a border of the window, place at least one image tile of the plurality of image tiles in a first position area of a plurality of position areas together which occupy the area of the window.
3. The method of claim 1 , wherein the command is received from a remote web server and is executed on the client computing device.
4. The method of claim 1 , wherein the displayed image is a bitmap file.
5. An apparatus, comprising:
a memory;
a display;
a receiver configured to receive a command to initiate a window creation operation; and
a processor configured to
retrieve a plurality of image tiles as a set of image tiles, each of the plurality of image tiles having a fixed size, wherein a combined size of the set of image tiles is equal to or greater than a surface area size of at least one image;
arrange the set of image tiles as a mosaic with a surface size that is larger than dimensions of the at least one image;
locking the set of the image tiles in the mosaic causing the set of image tiles to remain unavailable until a marker is removed;
pre-allocate a fixed size of memory of the client computing device to accommodate the combined size of the set of the image tiles prior to drawing the at least one image;
perform a draw operation that draws the at least one image overplayed onto the plurality of image tiles stored in the memory without pre-allocating separate memory for the at least one image and wherein the draw operation splits the at least one image and places the at least one image in a partial area occupied by each of the plurality of image tiles disposed within an area of a window, and
display the image overplayed onto the plurality of image tiles on the display and maintain the fixed size of the pre-allocated memory during the at least one image being drawn and overplayed onto the plurality of image tiles.
6. The apparatus of claim 5 , wherein the command comprises instructions to draw a background of the window, draw a line of the window, draw a border of the window, place at least one image tile of the plurality of image tiles in a first position area of a plurality of positions areas together which occupy the area of the window.
7. The apparatus of claim 5 , wherein the command is received from a remote web server.
8. The apparatus of claim 5 , wherein the displayed image is a bitmap file.
9. A non-transitory computer readable storage medium configured to store instructions that when executed causes a processor to perform:
receiving a command via a processor to initiate a window creation operation on a client computing device;
retrieving a plurality of image tiles as a set of image tiles, each of the plurality of image tiles having a fixed size, wherein a combined size of the set of image tiles is equal to or greater than a surface area size of at least one image;
arranging the set of image tiles as a mosaic with a surface size that is larger than dimensions of the at least one image;
locking the set of the image tiles in the mosaic causing the set of image tiles to remain unavailable until a marker is removed;
pre-allocating a fixed size of memory of the client computing device to accommodate the combined size of the set of the image tiles prior to drawing the at least one image;
performing a draw operation that draws the at least one image overplayed onto the plurality of image tiles stored in the memory without pre-allocating separate memory for the at least one image, and wherein the draw operation splits the at least one image and places the at least one image in a partial area occupied by each of the plurality of image tiles disposed within an area of a window;
displaying the image overplayed onto the plurality of image tiles on a display of the client computing device; and
maintaining the fixed size of the pre-allocated memory during the at least one image being drawn and overplayed onto the plurality of image tiles.
10. The non-transitory computer readable storage medium of claim 9 , wherein the command comprises instructions to draw a background of the window, draw a line of the window, draw a border of the window, place at least one image tile of the plurality of image tiles in a first position area of a plurality of position areas together which occupy the area of the window.
11. The non-transitory computer readable storage medium of claim 9 , wherein the command is received from a remote web server and is executed on the client computing device, and the displayed image is a bitmap file.