Closed
Bug 583033
Opened 14 years ago
Closed 14 years ago
D2D fill currently always falls back with clear
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: bas.schouten, Assigned: bas.schouten)
References
Details
Attachments
(1 file)
870 bytes,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
We return unsupported for all operators but ADD and OVER. Because the clear operator has been implemented after the operator check since the clipping patch. We should continue for operator clear and let it try.
Attachment #461289 -
Flags: review?(jmuizelaar)
Comment 1•14 years ago
|
||
Comment on attachment 461289 [details] [diff] [review] Do not abort for operator clear >diff --git a/gfx/cairo/cairo/src/cairo-d2d-surface.cpp b/gfx/cairo/cairo/src/cairo-d2d-surface.cpp >--- a/gfx/cairo/cairo/src/cairo-d2d-surface.cpp >+++ b/gfx/cairo/cairo/src/cairo-d2d-surface.cpp >@@ -2374,17 +2374,18 @@ _cairo_d2d_fill(void *surface, > cairo_clip_t *clip) > { > cairo_int_status_t status; > > cairo_d2d_surface_t *d2dsurf = static_cast<cairo_d2d_surface_t*>(surface); > > op = _cairo_d2d_simplify_operator(op, source); > >- if (op != CAIRO_OPERATOR_OVER && op != CAIRO_OPERATOR_ADD) { >+ if (op != CAIRO_OPERATOR_OVER && op != CAIRO_OPERATOR_ADD && >+ op != CAIRO_OPERATOR_CLEAR) { We should eventually try to get rid of this condition by handling the cases we support and bailing otherwise.
Attachment #461289 -
Flags: review?(jmuizelaar) → review+
Updated•14 years ago
|
blocking2.0: --- → ?
Updated•14 years ago
|
blocking2.0: ? → betaN+
Assignee | ||
Comment 2•14 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/8b83111e2a7f.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 3•14 years ago
|
||
why I can't see it on http://hg.mozilla.org/mozilla-central/shortlog ?
Assignee | ||
Comment 4•14 years ago
|
||
(In reply to comment #3) > why I can't see it on http://hg.mozilla.org/mozilla-central/shortlog ? Bug 582998 perhaps?
Comment 5•14 years ago
|
||
(In reply to comment #4) > (In reply to comment #3) > > why I can't see it on http://hg.mozilla.org/mozilla-central/shortlog ? > > Bug 582998 perhaps? you mean there's bug in http://hg.mozilla.org/mozilla-central/ ???
Assignee | ||
Comment 6•14 years ago
|
||
It burped. Not the repository though, the pushlog.
You need to log in
before you can comment on or make changes to this bug.
Description
•