summaryrefslogtreecommitdiffstats
path: root/image/Downscaler.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-20 20:38:49 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-20 20:38:49 +0100
commit807acf738f63d95fbecfb9129092aaa2379889ba (patch)
treed701e0f93dca6b66759a784e7d8a53f18d66ff3c /image/Downscaler.cpp
parent238b430ec0446d08a8fd513ae7b4000b5996fd69 (diff)
downloadUXP-807acf738f63d95fbecfb9129092aaa2379889ba.tar
UXP-807acf738f63d95fbecfb9129092aaa2379889ba.tar.gz
UXP-807acf738f63d95fbecfb9129092aaa2379889ba.tar.lz
UXP-807acf738f63d95fbecfb9129092aaa2379889ba.tar.xz
UXP-807acf738f63d95fbecfb9129092aaa2379889ba.zip
Bug 1462355 - Part 1a. Make imgFrame animation parameters threadsafe.
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.
Diffstat (limited to 'image/Downscaler.cpp')
0 files changed, 0 insertions, 0 deletions