mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-19 10:53:11 +09:00
Issue #2657 - Remove -moz-samplesize resize-decoding for low-vram mobiles
Resolves #2657
This commit is contained in:
parent
75d698133f
commit
ef5f052d97
18 changed files with 13 additions and 193 deletions
|
|
@ -66,8 +66,6 @@ public:
|
|||
* @param aDecoderFlags Flags specifying the behavior of this decoder.
|
||||
* @param aSurfaceFlags Flags specifying the type of output this decoder
|
||||
* should produce.
|
||||
* @param aSampleSize The sample size requested using #-moz-samplesize (or 0
|
||||
* if none).
|
||||
*/
|
||||
static already_AddRefed<IDecodingTask>
|
||||
CreateDecoder(DecoderType aType,
|
||||
|
|
@ -76,8 +74,7 @@ public:
|
|||
const gfx::IntSize& aIntrinsicSize,
|
||||
const gfx::IntSize& aOutputSize,
|
||||
DecoderFlags aDecoderFlags,
|
||||
SurfaceFlags aSurfaceFlags,
|
||||
int aSampleSize);
|
||||
SurfaceFlags aSurfaceFlags);
|
||||
|
||||
/**
|
||||
* Creates and initializes a decoder for animated images of type @aType.
|
||||
|
|
@ -124,14 +121,11 @@ public:
|
|||
* notifications as decoding progresses.
|
||||
* @param aSourceBuffer The SourceBuffer which the decoder will read its data
|
||||
* from.
|
||||
* @param aSampleSize The sample size requested using #-moz-samplesize (or 0
|
||||
* if none).
|
||||
*/
|
||||
static already_AddRefed<IDecodingTask>
|
||||
CreateMetadataDecoder(DecoderType aType,
|
||||
NotNull<RasterImage*> aImage,
|
||||
NotNull<SourceBuffer*> aSourceBuffer,
|
||||
int aSampleSize);
|
||||
NotNull<SourceBuffer*> aSourceBuffer);
|
||||
|
||||
/**
|
||||
* Creates and initializes a decoder for an ICO resource, which may be either
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue