Method and apparatus for improved color management
Abstract
A method and apparatus for color matching during compositing. Un-color matched pixels that form a window include a first region that includes un-color matched pixels and a second region that includes un-color matched pixels. The first region and the second region are associated with a first and second color profile respectively, which are different. During compositing of these un-color matched pixels, the un-color matched pixels of the first region are color matched based on the first color profile and a display color profile associated with the display, and the un-color matched pixels of the second region are color matched based on the second color profile and the display color profile. The color matched pixels are written to the display.
Claims
exact text as granted — not AI-modified1 . A method performed on a computer system for color matching, comprising:
storing a plurality of un-color matched pixels that form a window displayed through a user interface on a display of the computer system that includes a first region including a first plurality of un-color matched pixels and a second region including a second plurality of un-color matched pixels, wherein the first region and the second region are associated with a first color profile and a second profile respectively, and wherein the first color profile is different than the second color profile; during compositing of the first and second plurality of un-color matched pixels of the window, performing the following:
color matching the first plurality of un-color matched pixels of the first region based on the first color profile and a display color profile associated with the display, and
color matching the second plurality of un-color matched pixels of the second region based on the second color profile and the display color profile; and
writing the color matched pixels of the first and second region to the display.
2 . The method of claim 1 , further comprising:
generating a first fragment program based on the first color profile and the display color profile; generating a second fragment program based on the second color profile and the display color profile; wherein color matching the first plurality of un-color matched pixels includes applying the generated first fragment program to the first plurality of un-color matched pixels to match colors of those pixels with the display; and wherein color matching the second plurality of un-color matched pixels includes applying the generated second fragment program to the second plurality of un-color matched pixels to match colors of those pixels with the display.
3 . The method of claim 1 , wherein the first color profile and the second color profile are associated with different color spaces.
4 . The method of claim 1 , wherein the first color profile is a generic profile and the second color profile is a wide-gamut profile.
5 . The method of claim 1 , wherein the first region of the window is a graphical user interface component which is common across windows of a plurality of disparate applications, and wherein the first color profile is assigned to the graphical user interface component by the computer system.
6 . The method of claim 5 , wherein the graphical user interface component is one of a toolbar, a scrollbar, a bottom bar, a scope bar, and an icon.
7 . The method of claim 6 , wherein the first color profile is associated with a generic color space.
8 . A computer system, comprising:
a window client to load a plurality of un-color matched pixels in a backing store of a window server, wherein the plurality of un-color matched pixels form a window having a plurality of regions each of which includes a set of one or more un-color matched pixels that are each associated with a different color profile; a window server coupled with the window client, the window server including a fragment program generator to generate a fragment program for each different color profile based on that color profile and a color profile of a display of the computer system, the window server further to transmit the fragment programs to a video adapter; the video adapter coupled with the window server and including a graphics processing unit to execute the fragment programs during compositing to color match the pixels of the plurality of regions with the display; and the display to display the color matched pixels.
9 . The computer system of claim 8 , wherein at least one of the plurality of regions of the window is a graphical user interface component which is common across windows of a plurality of disparate applications.
10 . The computer system of claim 9 , wherein the graphical user interface component is one of a toolbar, a scrollbar, a bottom bar, a scope bar, and an icon.
11 . The computer system of claim 10 , wherein the color profile associated with the graphical user interface component is a generic color space.
12 . The computer system of claim 8 , wherein at least one of the plurality of regions is associated with a color profile that is a wide-gamut profile.
13 . The computer system of claim 8 , wherein the fragment program generator is to store generated fragment programs in a cache memory of the computer system.
14 . A non-transitory machine-readable storage medium that provides instructions that, when executed by a processor, causes said processor to perform operations, comprising:
storing a plurality of un-color matched pixels that form a window displayed through a user interface on a display that includes a first region including a first plurality of un-color matched pixels and a second region including a second plurality of un-color matched pixels, wherein the first region and the second region are associated with a first color profile and a second profile respectively, and wherein the first color profile is different than the second color profile; during compositing of the first and second plurality of un-color matched pixels of the window, performing the following:
color matching the first plurality of un-color matched pixels of the first region based on the first color profile and a display color profile associated with the display, and
color matching the second plurality of un-color matched pixels of the second region based on the second color profile and the display color profile; and
writing the color matched pixels of the first and second region to the display.
15 . The non-transitory machine-readable storage medium of claim 14 that further provides instructions that, when executed by the processor, causes said processor to perform operations comprising:
generating a first fragment program based on the first color profile and the display color profile;
generating a second fragment program based on the second color profile and the display color profile;
wherein color matching the first plurality of un-color matched pixels includes applying the generated first fragment program to the first plurality of un-color matched pixels to match colors of those pixels with the display; and
wherein color matching the second plurality of un-color matched pixels includes applying the generated second fragment program to the second plurality of un-color matched pixels to match colors of those pixels with the display.
16 . The non-transitory machine-readable storage medium of claim 14 , wherein the first color profile and the second color profile are associated with different color spaces.
17 . The non-transitory machine-readable storage medium of claim 14 , wherein the first color profile is a generic profile and the second color profile is a wide-gamut profile.
18 . The non-transitory machine-readable storage medium of claim 14 , wherein the first region of the window is a graphical user interface component which is common across windows of a plurality of disparate applications, and wherein the first color profile is assigned to the graphical user interface component by the computer system.
19 . The non-transitory machine-readable storage medium of claim 18 , wherein the graphical user interface component is one of a toolbar, a scrollbar, a bottom bar, a scope bar, and an icon.
20 . The non-transitory machine-readable storage medium of claim 19 , wherein the first color profile is associated with a generic color space.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.