Closed Bug 494127 Opened 15 years ago Closed 15 years ago

Delayed image surface creation for libpron

Categories

(Core :: Graphics: ImageLib, defect)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 435296

People

(Reporter: romaxa, Unassigned)

References

()

Details

Current implementation for all decoders is so that they are creating temporary thebes image surface for all loaded images, even if they are not requested for painting on target surface (widget, or fennec canvas). And in most cases thebes image surface destroyed after 15 seconds without any painting on target surface.. only wasting memory and CPU time for decoding.

I think it would be nice to have some delayed image surface creation, and during loading don't create image surface for image frame which was not requested for real painting or real target.
I am currently working on decode on draw, which is precisely this. :)
Coool, is there are any bug about it?
Yep!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.