Closed Bug 1729051 Opened 4 years ago Closed 4 years ago

Simplify imgFrame to only use shared surfaces for raster images

Categories

(Core :: Graphics: ImageLib, task, P3)

task

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

Attachments

(1 file)

We don't use anything else anymore for raster images. We can greatly simplify this.

In practice we already only use SourceSurfaceSharedData as our
rasterized image backing. This means we no longer need to lock the data
to keep it in memory (when we used volatile memory), nor to try to
optimize the surface for the DrawTarget.

Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3bdf9c5f10cc Simplify imgFrame to only use shared surfaces for raster images. r=jrmuizel

Backed out for causing windows build bustages

Backout link: https://hg.mozilla.org/integration/autoland/rev/adeee5d37d45a28c2aa98345a6ed79e93d6b1c00

Push with failures

Failure log

[task 2021-09-03T19:03:15.975Z] 19:03:15     INFO -  /builds/worker/workspace/obj-build/dist/include/mozilla/ipc/SharedMemoryBasic_chromium.h(10,10): fatal error: 'base/shared_memory.h' file not found
[task 2021-09-03T19:03:15.975Z] 19:03:15     INFO -  #include "base/shared_memory.h"
[task 2021-09-03T19:03:15.975Z] 19:03:15     INFO -           ^~~~~~~~~~~~~~~~~~~~~~
[task 2021-09-03T19:03:15.975Z] 19:03:15     INFO -  1 error generated.```
Flags: needinfo?(aosmond)
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cab456c41ca9 Simplify imgFrame to only use shared surfaces for raster images. r=jrmuizel
Flags: needinfo?(aosmond)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
Blocks: 1971706
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: