Closed Bug 715668 Opened 13 years ago Closed 3 years ago

skip initializing to black CONTENT_COLOR Xlib surfaces from CreateSimilarSurface

Categories

(Core :: Graphics, defect)

Other Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: karlt, Unassigned)

References

Details

Since bug 651469, Xlib Surfaces no longer depend on XCopyArea semantics to support self copies.

Cairo used XCopyArea only when cairo created the pixmap itself, but cairo always initializes Pixmaps that it creates.
Now that we don't depend on XCopyArea, gfxXlibSurface::CreateSimilarSurface can use gfxXlibSurface::Create which skips the black fill.

(I haven't checked whether Gecko relies on the transparent fill for COLOR_ALPHA surfaces.)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.