mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 00:37:32 +09:00
Bug 1462355 - Part 1b. Update Decoder and SurfacePipe plumbing to use updated imgFrame methods.
This commit is contained in:
parent
75cb341c44
commit
a08160ac44
15 changed files with 84 additions and 92 deletions
|
|
@ -32,7 +32,7 @@ WithSurfaceSink(Func aFunc)
|
|||
const bool flipVertically = Orientation == Orient::FLIP_VERTICALLY;
|
||||
|
||||
WithFilterPipeline(decoder, Forward<Func>(aFunc),
|
||||
SurfaceConfig { decoder, 0, IntSize(100, 100),
|
||||
SurfaceConfig { decoder, IntSize(100, 100),
|
||||
SurfaceFormat::B8G8R8A8, flipVertically });
|
||||
}
|
||||
|
||||
|
|
@ -43,7 +43,7 @@ WithPalettedSurfaceSink(const IntRect& aFrameRect, Func aFunc)
|
|||
ASSERT_TRUE(decoder != nullptr);
|
||||
|
||||
WithFilterPipeline(decoder, Forward<Func>(aFunc),
|
||||
PalettedSurfaceConfig { decoder, 0, IntSize(100, 100),
|
||||
PalettedSurfaceConfig { decoder, IntSize(100, 100),
|
||||
aFrameRect, SurfaceFormat::B8G8R8A8,
|
||||
8, false });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue