Closed Bug 609196 Opened 15 years ago Closed 9 years ago

[OS/2] Revise Cairo and Thebes

Categories

(Core :: Graphics, defect)

x86
OS/2
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dragtext, Assigned: dragtext)

References

Details

Attachments

(3 files, 4 obsolete files)

The attached patches provide significant improvements to the OS/2 implementations of Cairo and Thebes. Among them are: reduction of system overhead, the virtual elimination of shared memory use by the Mozilla apps, and support for bitmap-based printing.
Attached patch revises Cairo-OS/2 (obsolete) — Splinter Review
This is a rewrite of cairo-os2-surface.c that adds bitmap-based printing support and provides a more generic interface for client apps. To make the code simpler and more efficient, it eliminates non-essential features that clients can easily reimplement if needed. This patch will be submitted to CairoGraphics.org once it has been updated to their current trunk level.
Attached patch revises Thebes-OS/2 (obsolete) — Splinter Review
This patch eliminates the creation of PM graphics objects in Thebes that are never used. Doing so virtually eliminates Mozilla's use of shared memory beyond that needed to load its dlls. It also updates various files to conform to changes in cairo_os2_surface.
Very nice. I doubt that I ever said so anywhere but I had thought about using cairo_image_surface after other platforms started to do that. This should be the right way. I didn't occur to me, though, that this could be the fix to the printing issue. Where does the 360 for the DPI limit come from?
This update adds support for DIVE when the display is in 24- or 32-bit full-color modes; the app must request that this support be enabled. It also greatly improves display speed for video drivers that can only handle 24-bit GPI bitmaps.
Attachment #487830 - Attachment is obsolete: true
Attached patch revise Thebes-OS/2 - v2 (obsolete) — Splinter Review
This update supports the changes made to Cairo-OS/2. In particular, it determines whether DIVE should be enabled for the current video driver.
Attachment #487833 - Attachment is obsolete: true
Attachment #492086 - Attachment is patch: true
Attachment #492086 - Attachment mime type: application/octet-stream → text/plain
I forgot to mention that DIVE will be disabled if the app is started in SafeMode or if MOZ_NO_DIVE is found in the environment.
this update fixes mouse pointer handling when using DIVE
Attachment #492086 - Attachment is obsolete: true
Attachment #492087 - Attachment is obsolete: true
Depends on: 726244
OS/2 is no longer a supported platform.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: