summaryrefslogtreecommitdiffstats
path: root/image/AnimationParams.h
Commit message (Collapse)AuthorAgeLines
* Bug 1462355 - Part 1a. Make imgFrame animation parameters threadsafe.wolfbeast2018-11-20-0/+45
We currently choose to set the animation parameters (blend method, blend rect, disposal method, timeout) in imgFrame::Finish instead of imgFrame::InitForDecoder. The decoders themselves already have access to the necessary information at the time InitForDecoder is called, so there is no reason to do this. Moving the configuration to initialization will allow us to relax the mutex protection on these parameters. This part simply reorganizes imgFrame, and subsequent parts will introduce the necessary changes to SurfacePipe and decoders.