зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1789482
- Let cairo-quartz-surface use DO_IMAGE for the EXTEND_PAD case as well as EXTEND_NONE, and re-enable the use of CGLayer-backed cairo-quartz surfaces for better pdf.js print quality. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D159623
This commit is contained in:
Родитель
b9f1f061b4
Коммит
0f2ff6fa4b
|
@ -1315,7 +1315,7 @@ _cairo_quartz_setup_state (cairo_quartz_drawing_state_t *state,
|
|||
|
||||
srcRect = CGRectMake (0, 0, extents.width, extents.height);
|
||||
|
||||
if (source->extend == CAIRO_EXTEND_NONE) {
|
||||
if (source->extend == CAIRO_EXTEND_NONE || source->extend == CAIRO_EXTEND_PAD) {
|
||||
int x, y;
|
||||
if (op == CAIRO_OPERATOR_SOURCE &&
|
||||
(pat_surf->content == CAIRO_CONTENT_ALPHA ||
|
||||
|
|
|
@ -5470,7 +5470,7 @@
|
|||
#if defined(XP_MACOSX)
|
||||
- name: gfx.cairo_quartz_cg_layer.enabled
|
||||
type: bool
|
||||
value: false
|
||||
value: true
|
||||
mirror: always
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче