mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +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
|
|
@ -261,11 +261,6 @@ public:
|
|||
*/
|
||||
nsresult SetSourceSizeHint(uint32_t aSizeHint);
|
||||
|
||||
/* Provide a hint for the requested dimension of the resulting image. */
|
||||
void SetRequestedSampleSize(int requestedSampleSize) {
|
||||
mRequestedSampleSize = requestedSampleSize;
|
||||
}
|
||||
|
||||
nsCString GetURIString() {
|
||||
nsCString spec;
|
||||
if (GetURI()) {
|
||||
|
|
@ -407,9 +402,6 @@ private: // data
|
|||
// This is currently only used for statistics
|
||||
int32_t mDecodeCount;
|
||||
|
||||
// A hint for image decoder that directly scale the image to smaller buffer
|
||||
int mRequestedSampleSize;
|
||||
|
||||
// A weak pointer to our ImageContainer, which stays alive only as long as
|
||||
// the layer system needs it.
|
||||
WeakPtr<layers::ImageContainer> mImageContainer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue