Claims
- 1. A compositor implemented on a chip for providing a final pixel value corresponding to a current pixel, comprising:
a desktop pixel logic circuit configured to supply a desktop pixel value corresponding to the current pixel; a first on-chip memory configured to store cursor data; a second on-chip memory configured to store hardware icon data; a cursor logic circuit configured to read the cursor data from the first on-chip memory and to generate a cursor pixel value corresponding to the current pixel when the current pixel is within a cursor region; a hardware icon logic circuit configured to read the hardware icon data from the second on-chip memory and to generate an icon pixel value corresponding to the current pixel when the current pixel is within an icon region; and a priority logic circuit configured to compute the final pixel value using one or more of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 2. The compositor of claim 1, wherein:
the hardware icon logic circuit is further configured to generate an icon enable signal, and the priority logic circuit is further configured such that the icon pixel value is not used to compute the final pixel value when the icon enable signal is not asserted.
- 3. The compositor of claim 2, wherein the compositor is incorporated into a device and whether the icon enable signal is asserted is determined at least in part by a state of a hardware component of the device.
- 4. The compositor of claim 1, wherein the desktop pixel logic circuit includes:
a plurality of interfaces, each configured to receive a respective one of a plurality of candidate desktop pixel values; and a selection subcircuit configured to select one of the candidate desktop pixel values as the desktop pixel value.
- 5. The compositor of claim 1, wherein the priority logic circuit is configured to compute the final pixel value at least in part by selecting one of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 6. The compositor of claim 1, wherein the priority logic circuit is configured to compute the final pixel value at least in part by blending two or more of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 7. The compositor of claim 1, wherein the priority logic circuit is configured to compute the final pixel value at least in part by performing a logical XOR operation on two of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 8. A compositor for providing a final pixel value corresponding to a current pixel, comprising:
a desktop pixel logic circuit configured to supply a desktop pixel value corresponding to the current pixel; a cursor logic circuit configured to generate a cursor pixel value corresponding to the current pixel using cursor data stored in a first memory when the current pixel is within the cursor region; a hardware icon logic circuit configured to retrieve hardware icon data from a second memory and to generate an icon pixel value corresponding to the current pixel when the current pixel is within an icon region, wherein the hardware icon logic circuit determines the hardware icon data to be retrieved in response to an icon magnification signal; and a priority logic circuit configured to compute the final pixel value using one or more of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 9. The compositor of claim 8, wherein the compositor is implemented on a chip and the second memory is located on the chip.
- 10. The compositor of claim 8, wherein:
the hardware icon logic circuit is further configured to generate an icon enable signal; and the priority logic circuit is further configured such that the icon pixel value is not selected as the final pixel value when the icon enable signal is not asserted.
- 11. The compositor of claim 10, wherein the hardware icon logic circuit includes:
a storage register configured to store an icon state indicator, wherein the icon enable signal is not asserted when the icon state indicator has an inactive value.
- 12. The compositor of claim 11, wherein the storage register is updated without interaction with an operating system.
- 13. The compositor of claim 10, wherein the hardware icon logic circuit includes:
a plurality of storage registers configured to store icon position data and an icon magnification factor; a first subcircuit configured to determine from a screen coordinate of the current pixel, the icon magnification factor, and the icon position data whether the current pixel is within the icon region, wherein the icon enable signal is not asserted when the current pixel is not within the icon region; a second subcircuit configured to determine a local coordinate of the current pixel from the screen coordinate and the icon magnification factor; and a third subcircuit configured to retrieve the icon pixel value from the second memory based on the local coordinate when the current pixel is within the icon region.
- 14. The compositor of claim 8, wherein the hardware icon logic circuit is further configured to operate in either of a monochrome mode and a multicolor mode.
- 15. The compositor of claim 14, wherein the hardware icon logic circuit includes:
a first subcircuit configured to retrieve the hardware icon data from the second memory based on a local coordinate of the current pixel, wherein the first subcircuit retrieves one bit of the hardware icon data in the monochrome mode and a plurality of bits of the hardware icon data in the multicolor mode.
- 16. The compositor of claim 15, wherein the multicolor mode is a palette color mode.
- 17. The compositor of claim 16, wherein the hardware icon logic circuit further includes:
a plurality of storage registers, each configured to store a color value; and a multiplexer having a plurality of input terminals, each coupled to receive a color value from a respective one of the plurality of storage registers, a control terminal coupled to receive the hardware icon data retrieved by the memory controller in the multicolor mode, and an output terminal coupled to provide the icon pixel value.
- 18. A compositor for providing a pixel value corresponding to a current pixel, comprising:
a desktop logic circuit configured to supply a desktop pixel value corresponding to the current pixel; a cursor logic circuit configured to generate a cursor pixel value corresponding to the current pixel from cursor data stored in a first memory when the current pixel is within a cursor region; a hardware icon logic circuit configured to read hardware icon data from a second memory and to supply an icon pixel value corresponding to the current pixel when the current pixel is within an icon region, wherein the hardware icon logic circuit is configured to operate in one of a monochrome mode and a multicolor mode in response to a color mode signal; and a priority logic circuit configured to compute the final pixel value using one or more of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 19. The compositor of claim 18, wherein the compositor is implemented on a chip and the second memory is located on the chip.
- 20. The compositor of claim 18, wherein the hardware icon logic circuit comprises:
a first subcircuit configured to retrieve the hardware icon data from the second memory based on a local coordinate of the current pixel, wherein the first subcircuit is configured to retrieve one bit of the hardware icon data in the monochrome mode and a plurality of bits of the hardware icon data in the multicolor mode.
- 21. The compositor of claim 18, wherein the multicolor mode is a palette color mode.
- 22. The compositor of claim 21, wherein the hardware icon logic circuit further includes:
a plurality of storage registers, each configured to store a color value; and a multiplexer having a plurality of input terminals, each coupled to receive a color value from a respective one of the plurality of storage registers, a control terminal coupled to receive the hardware icon data retrieved by the memory controller in the multicolor mode, and an output terminal coupled to provide the icon pixel value.
- 23. The compositor of claim 18, wherein the priority logic circuit is configured to compute the final pixel value at least in part by selecting one of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 24. The compositor of claim 18, wherein the priority logic circuit is configured to compute the final pixel value at least in part by blending two or more of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 25. The compositor of claim 18, wherein the priority logic circuit is configured to compute the final pixel value at least in part by performing a logical XOR operation on two of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 26. A compositor for providing a final pixel value corresponding to a current pixel, comprising:
a desktop pixel logic circuit configured to supply desktop pixel value corresponding to the current pixel; a cursor logic circuit configured to generate a cursor pixel value corresponding to the current pixel from cursor data stored in a cursor memory when the current pixel is within a cursor region; a hardware icon logic circuit configured to retrieve hardware icon data from a hardware icon memory and to generate an icon pixel value corresponding to the current pixel when the current pixel is within an icon region; and a priority logic circuit configured to compute the final pixel value using one or more of the desktop pixel value, the cursor pixel value, and the icon pixel value, wherein the priority logic circuit is further configured such that when the current pixel is within both the icon region and the cursor region, the priority logic circuit uses the icon pixel value under a first operating condition and the cursor pixel value under a second operating condition.
- 27. The compositor of claim 26, wherein:
the hardware icon logic circuit is further configured to generate an icon enable signal; and the priority logic circuit is further configured such that the icon pixel value is not selected as the final pixel value when the icon enable signal is not asserted.
- 28. The compositor of claim 27, wherein the hardware icon logic circuit includes:
a storage register configured to store an icon state indicator, wherein the icon enable signal is not asserted when the icon state indicator has an inactive value.
- 29. The compositor of claim 28, wherein the storage register is updated without interaction with an operating system.
- 30. The compositor of claim 26, wherein the hardware icon logic circuit determines the hardware icon data to be retrieved in response to an icon magnification factor.
- 31. The compositor of claim 30, wherein the hardware icon logic circuit includes:
a plurality of storage registers configured to store icon position data and the icon magnification factor; a first subcircuit configured to determine from a screen coordinate of the current pixel, the icon magnification factor, and the icon position data whether the current pixel is within the icon region, wherein the icon enable signal is not asserted when the current pixel is not within the icon region; a second subcircuit configured to determine a local coordinate of the current pixel from the screen coordinate and the icon magnification factor; and a third subcircuit configured to retrieve the icon pixel value from the hardware icon memory based on the local coordinate when the current pixel is within the icon region.
- 32. The compositor of claim 26, wherein the hardware icon logic circuit is further configured to operate in either of a monochrome mode and a multicolor mode.
- 33. The compositor of claim 32, wherein the hardware icon logic circuit includes:
a first subcircuit configured to retrieve the hardware icon data from the hardware icon memory based on a local coordinate of the current pixel, wherein the first subcircuit retrieves one bit of the hardware icon data in the monochrome mode and a plurality of bits of the hardware icon data in the multicolor mode.
- 34. The compositor of claim 33, wherein the multicolor mode is a palette color mode.
- 35. The compositor of claim 34, wherein the hardware icon logic circuit further includes:
a plurality of storage registers, each configured to store a color value; and a multiplexer having a plurality of input terminals, each coupled to receive a color value from a respective one of the plurality of storage registers, a control terminal coupled to receive the hardware icon data retrieved by the memory controller in the multicolor mode, and an output terminal coupled to provide the icon pixel value.
- 36. A compositor for providing a pixel value corresponding to a current pixel, comprising:
a desktop pixel logic circuit configured to supply a desktop pixel value corresponding to the current pixel; a first register configured to store a blank-screen color value; a second register configured to store a state of a blank enable signal; and a first selection circuit configured to select one of the desktop pixel value and the blank-screen color value to be provided in response to the state of the blank enable signal.
- 37. The compositor of claim 36, further comprising:
a hardware icon logic circuit configured to read hardware icon data from a hardware icon memory, to supply an icon pixel value corresponding to the current pixel when the current pixel is within an icon region, and to generate an icon enable signal; and a second selection circuit configured to receive the icon pixel value and the icon enable signal from the hardware icon logic circuit, to receive as an underlying pixel value the selected one of the desktop pixel value and the blank-screen color value, and to provide one of the icon pixel value and the underlying pixel value in response to the icon enable signal.
- 38. The compositor of claim 36 wherein the state of the blank enable signal is changed in response to a user action.
- 39. The compositor of claim 36, wherein the state of the blank enable signal is changed without an action by an operating system.
- 40. A method for providing a final pixel value corresponding to a current pixel, comprising:
receiving a desktop pixel value corresponding to the current pixel; when the current pixel is within a cursor region, obtaining a cursor pixel value corresponding to the current pixel using cursor data stored in a first on-chip memory; when the current pixel is within an icon region, obtaining an icon pixel value corresponding to the current pixel using hardware icon data stored in a second on-chip memory, the second on-chip memory being located on the same chip as the first on-chip memory; and computing the final pixel value using one or more of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 41. The method of claim 40, further comprising:
determining whether the current pixel is within the icon region by using a screen coordinate of the current pixel, an icon magnification factor, and an icon position coordinate.
- 42. The method of claim 40, wherein obtaining an icon pixel value corresponding to the current pixel includes:
determining a local pixel coordinate when the current pixel is within the icon region, wherein the local pixel coordinate depends on an icon magnification factor; and retrieving a hardware icon data value corresponding to the local pixel coordinate from the second on-chip memory.
- 43. The method of claim 42, further comprising:
using the retrieved hardware icon data value to select one of a plurality of colors from a predefined color palette.
- 44. The method of claim 40, wherein obtaining an icon pixel value corresponding to the current pixel includes:
determining whether the hardware icon data is stored in a monochrome mode or a multicolor mode; when the hardware icon data is stored in the monochrome mode, reading one bit of data from the second on-chip memory; and when the hardware icon data is stored in the multicolor mode, reading at least two bits of data from the second on-chip memory.
- 45. The method of claim 44, further comprising:
when the icon data is in the multicolor mode, using the at least two bits of data to select a color from a predefined color palette.
- 46. The method of claim 40, wherein computing the final pixel value includes:
when the current pixel is within both the icon region and the cursor region, using the icon pixel value under a first operating condition, and using the cursor pixel value under a second operating condition.
- 47. The method of claim 40, wherein computing the final pixel value includes:
blending two or more of the icon pixel value, the cursor pixel value, and the desktop pixel value.
- 48. The method of claim 40, wherein computing the final pixel value includes:
performing a logical XOR operation on two of the icon pixel value, the cursor pixel value, and the desktop pixel value.
- 49. A method for providing a pixel value corresponding to a current pixel, comprising:
receiving a desktop pixel value corresponding to the current pixel; receiving a blank enable signal; when the blank enable signal is in an asserted state, selecting a predefined blank-screen color value as the pixel value; and when the blank enable signal is not in the asserted state, selecting the desktop pixel value as the pixel value.
- 50. The method of claim 49, further comprising:
detecting a locking action performed by a user of a device; in response to the locking action, setting the blank enable signal to the asserted state; subsequently detecting an unlocking action performed by the user; and in response to the unlocking action, setting the blank enable signal to a non-asserted state.
- 51. The method of claim 50, wherein setting the blank enable signal to the asserted state and setting the blank enable signal to the non-asserted state are performed without an action by an operating system of the device.
- 52. The method of claim 49, further comprising:
asserting an icon enable signal when the blank enable signal is asserted and a current pixel is within an icon region; while the icon enable signal is asserted, performing the following acts: determining an icon pixel value corresponding to the current pixel from hardware icon data stored in an icon memory; and selecting the icon pixel value in preference to the blank pixel value.
- 53. A device comprising:
a graphical display configured to display pixel data; a compositor for providing pixel data corresponding to the current pixel to the graphical display, the compositor including:
a desktop pixel logic circuit configured to supply a desktop pixel value corresponding to the current pixel; a first on-chip memory configured to store cursor data; a second on-chip memory configured to store hardware icon data; a cursor logic circuit configured to read the cursor data from the first on-chip memory and to generate a cursor pixel value corresponding to the current pixel when the current pixel is within a cursor region; a hardware icon logic circuit configured to read the hardware icon data from the second on-chip memory and to generate an icon pixel value corresponding to the current pixel when the current pixel is within an icon region; and a priority logic circuit configured to compute the final pixel value using one or more of the desktop pixel value, the cursor pixel value, and the icon pixel value and to provide the final pixel value to the graphical display.
- 54. The device of claim 53, wherein
the hardware icon logic circuit is further configured to generate an icon enable signal; and the priority logic circuit is further configured such that the icon pixel value is not used to compute the final pixel value when the icon enable signal is not asserted.
- 55. The device of claim 54, wherein the hardware icon logic circuit includes:
a storage register configured to store an icon state indicator, wherein the icon enable signal is not asserted when the icon state indicator has an inactive value.
- 56. The device of claim 55, wherein the storage register is updated without interaction with an operating system.
- 57. The device of claim 53, wherein the hardware icon logic circuit is configured to determine the hardware icon data to be read in response to an icon magnification factor.
- 58. The device of claim 57, wherein the hardware icon logic circuit includes:
a plurality of storage registers configured to store icon position data and the icon magnification factor; a first subcircuit configured to determine from a screen coordinate of the current pixel, the icon magnification factor, and the icon position data whether the current pixel is within the icon region, wherein the icon enable signal is not asserted when the current pixel is not within the icon region; a second subcircuit configured to determine a local coordinate of the current pixel from the screen coordinate and the icon magnification factor; and a third subcircuit configured to retrieve the icon pixel value from the second on-chip memory based on the local coordinate when the current pixel is within the icon region.
- 59. The device of claim 53, wherein the hardware icon logic circuit is further configured to operate in either of a monochrome mode and a multicolor mode.
- 60. The device of claim 59, wherein the hardware icon logic circuit includes:
a first subcircuit configured to retrieve the hardware icon data from the second on-chip memory based on a local coordinate of the current pixel, wherein the first subcircuit retrieves one bit of the hardware icon data in the monochrome mode and a plurality of bits of the hardware icon data in the multicolor mode.
- 61. The device of claim 60, wherein the multicolor mode is a palette color mode.
- 62. The device of claim 61, wherein the hardware icon logic circuit further includes:
a plurality of storage registers, each configured to store a color value; and a multiplexer having a plurality of input terminals, each coupled to receive a color value from a respective one of the plurality of storage registers, a control terminal coupled to receive the hardware icon data retrieved by the memory controller in the multicolor mode, and an output terminal coupled to provide the icon pixel value.
- 63. The device of claim 53, further comprising:
a frame buffer for storing a first candidate desktop pixel value; and a video overlay memory for storing a second candidate desktop pixel value.
- 64. The device of claim 63, wherein the desktop pixel logic circuit includes:
a first interface configured to receive the first candidate desktop pixel value; a second interface configured to receive the second candidate desktop pixel value; and a selection subcircuit configured to select one of the first and second candidate desktop pixel values as the desktop pixel value.
- 65. The device of claim 53, wherein the priority logic circuit is configured to compute the final pixel value at least in part by selecting one of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 66. The device of claim 53, wherein the priority logic circuit is configured to compute the final pixel value at least in part by blending two or more of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 67. The device of claim 53, wherein the priority logic circuit is configured to compute the final pixel value at least in part by performing a logical XOR operation on two of the desktop pixel value, the cursor pixel value, and the icon pixel value.
- 68. A device comprising:
a graphical display configured to display pixel data; a compositor for providing pixel data corresponding to the current pixel to the graphical display, the compositor including:
a desktop pixel logic circuit configured to supply a desktop pixel value corresponding to the current pixel; a first register configured to store a blank-screen color value; a second register configured to store a state of a blank enable signal; and a first selection circuit configured to select one of the desktop pixel value and the blank-screen color value to be provided in response to the state of the blank enable signal.
- 69. The device of claim 68, further comprising:
a user interface component including a control, wherein the state of the blank enable signal is changed in response to a user manipulation of the control.
- 70. The device of claim 68, wherein the state of the blank enable signal is changed without an action by an operating system.
- 71. The device of claim 68, wherein the compositor further includes:
a hardware icon logic circuit configured to read hardware icon data from an on-chip memory, to supply an icon pixel value corresponding to the current pixel when the current pixel is within an icon region, and to generate an icon enable signal; and a second selection circuit configured to receive the icon pixel value and the icon enable signal from the hardware icon circuit, to receive as an underlying pixel value the selected one of the desktop pixel value and the blank-screen color value, and to provide one of the icon pixel value and the underlying pixel value in response to the icon enable signal.
CROSS-REFERENCES TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Application No. ______ (Attorney Docket No. 019680-002300US), filed Aug. 27, 2002, entitled “System and Method for Providing a Hardware Icon with Magnification And Security,” which disclosure is incorporated herein by reference for all purposes.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60406465 |
Aug 2002 |
US |