Closed Bug 454747 Opened 16 years ago Closed 16 years ago

optimized hook to use NullXFORM on identity color transform gives us CachedXFORM

Categories

(Core :: Graphics: Color Management, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bholley, Assigned: bholley)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Vlad and I found this bug while we were trying to figure out why the reftests were failing on linux when we tried to land color management (it was backed out for the time being). LCMS has a lot of annoying side-effects in the transform selection phase. When I tried to add code to detect if (InputProfile == OutputProfile) in the Matrix Shaper section and select NullXFORM, I ended up going around the setting of a flag that later prevents the current transform from being overridden. Thus, we ended up with a CachedXFORM, which isn't what we want. I'll write up a patch for this tomorrow morning.
Attached patch proposed fix (deleted) — Splinter Review
attached a fix. Vlad and I are going to try it out on his linux box when he gets out of his meeting.
Attachment #338135 - Flags: review?(vladimir)
pushed in 22a82f07723d. Waiting for vlad to retroactively r+ the patch so that I don't look sketchy to historians. :)
Blocks: 455077
Looks like vlad isn't going to retroactively r+ this patch anytime soon. Closing the bug.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: GFX → GFX: Color Management
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: