Closed Bug 795549 Opened 7 years ago Closed 7 years ago

[Skia] Ensure the TileProc functions only exist once in the Skia library

Categories

(Core :: Graphics, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: gw280, Assigned: gw280)

Details

Attachments

(1 file)

The gradient clamping code checks if the tileproc we're using is clamp_tileproc, and if so it pulls in the cached clamp values. Currently this doesn't work all the time because the tileprocs are implemented in a header file and thus exist once per translation unit.

We should define them statically in their own cpp file and build it only once.
Attachment #666170 - Flags: review?(matt.woodrow)
Attachment #666170 - Flags: review?(matt.woodrow) → review+
https://hg.mozilla.org/mozilla-central/rev/86acf4b667c8
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.