diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-21 16:28:53 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-21 16:28:53 +0100 |
commit | a3da925495ab64a3baa69aac4ae35d848a865616 (patch) | |
tree | b91d7275cb8d80b7465425e614c823c06dfca100 /image/SurfacePipe.h | |
parent | 6a9c2be4eac174c1b44ffb0ff16fd32fca92aa18 (diff) | |
parent | 25f4c75d68629a26cbb5433975027cd691a18dd7 (diff) | |
download | UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar.gz UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar.lz UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar.xz UXP-a3da925495ab64a3baa69aac4ae35d848a865616.zip |
Merge branch 'webp-update'
Diffstat (limited to 'image/SurfacePipe.h')
-rw-r--r-- | image/SurfacePipe.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/image/SurfacePipe.h b/image/SurfacePipe.h index f046afa56..61c8d30df 100644 --- a/image/SurfacePipe.h +++ b/image/SurfacePipe.h @@ -34,6 +34,8 @@ #include "mozilla/Variant.h" #include "mozilla/gfx/2D.h" +#include "AnimationParams.h" + namespace mozilla { namespace image { @@ -722,10 +724,10 @@ struct SurfaceConfig { using Filter = SurfaceSink; Decoder* mDecoder; /// Which Decoder to use to allocate the surface. - uint32_t mFrameNum; /// Which frame of animation this surface is for. gfx::IntSize mOutputSize; /// The size of the surface. gfx::SurfaceFormat mFormat; /// The surface format (BGRA or BGRX). bool mFlipVertically; /// If true, write the rows from bottom to top. + Maybe<AnimationParams> mAnimParams; /// Given for animated images. }; /** @@ -750,12 +752,12 @@ struct PalettedSurfaceConfig { using Filter = PalettedSurfaceSink; Decoder* mDecoder; /// Which Decoder to use to allocate the surface. - uint32_t mFrameNum; /// Which frame of animation this surface is for. gfx::IntSize mOutputSize; /// The logical size of the surface. gfx::IntRect mFrameRect; /// The surface subrect which contains data. gfx::SurfaceFormat mFormat; /// The surface format (BGRA or BGRX). uint8_t mPaletteDepth; /// The palette depth of this surface. bool mFlipVertically; /// If true, write the rows from bottom to top. + Maybe<AnimationParams> mAnimParams; /// Given for animated images. }; /** |