Closed
Bug 1188516
Opened 10 years ago
Closed 9 years ago
Add support for wrapping tree cairo surfaces in a system cairo surface
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: acomminos, Assigned: acomminos)
Details
Attachments
(2 files)
7.79 KB,
patch
|
Details | Diff | Splinter Review | |
3.08 KB,
patch
|
lsalzman
:
review-
|
Details | Diff | Splinter Review |
There are several places in the GTK3 widget code where we require pulling out data from a tree cairo surface. Currently, this is accomplished by borrowing an XLib drawable or locking in-memory bits.
We could reduce code duplication by providing a straightforward translation mechanism to get a system cairo_surface_t out of a Cairo DrawTarget or SourceSurface.
Assignee | ||
Comment 1•10 years ago
|
||
This adds BorrowedCairoSurface with support for the image and XLib backends.
Attachment #8639987 -
Flags: review?(bas)
Assignee | ||
Comment 2•10 years ago
|
||
This changes DrawThemeWithCairo to use BorrowedCairoSurface.
I'll write a patch for the drag and drop pixmap once it lands.
Attachment #8639990 -
Flags: review?(lsalzman)
Updated•10 years ago
|
Attachment #8639990 -
Flags: review?(lsalzman) → review-
Comment 3•9 years ago
|
||
Comment on attachment 8639987 [details] [diff] [review]
Add BorrowedCairoSurface for retrieving a system cairo surface from a tree cairo surface.
No more X!
Attachment #8639987 -
Flags: review?(bas)
Assignee | ||
Comment 4•9 years ago
|
||
Not much point in improving QoL for an unsupported backend; closing :)
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•