Closed
Bug 1267253
Opened 9 years ago
Closed 9 years ago
Delete gfxWindowsPlatform::RenderMode and replace it with a check against the default backend
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: mchang, Assigned: mchang)
References
Details
(Whiteboard: gfx-noted)
Attachments
(1 file)
20.17 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
Delete references to gfxWindowsPlatform::RenderMode [1] since it assumes we use d2d as long as it's available, but we could still not use d2d if the backend prefs are different. This is causing some skia reftest failures.
[1] https://dxr.mozilla.org/mozilla-central/source/gfx/thebes/gfxWindowsPlatform.h?case=true&from=gfxWindowsPlatform.h#123
Assignee | ||
Updated•9 years ago
|
Whiteboard: gfx-noted
Assignee | ||
Comment 1•9 years ago
|
||
Try looks good I think - https://treeherder.mozilla.org/#/jobs?repo=try&revision=1bdc470cdf39 - #releng said we can ignore the windows 7 gfx vms.
Attachment #8744909 -
Flags: review?(bas)
Comment 2•9 years ago
|
||
Comment on attachment 8744909 [details] [diff] [review]
Delete gfxWindowsPlatform::RenderMode
Review of attachment 8744909 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/thebes/gfxUtils.cpp
@@ +400,5 @@
> static CompositionOp
> OptimalFillOp()
> {
> #ifdef XP_WIN
> + if (gfxWindowsPlatform::GetPlatform()->IsDirect2DBackend()) {
We should really base this on the DT we're actually drawing to. But that should be a follow-up.
Attachment #8744909 -
Flags: review?(bas) → review+
Comment 5•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
If I force CreateBlendState() to fail in CompositorD3D11::Initialize() (just return false, regardless of the result of that call), I end up with D2D and basic compositor. Is that a result of this patch, or was it bad before?
Flags: needinfo?(mchang)
Backed out this patch, this is still there. I'll open a bug.
Flags: needinfo?(mchang)
Opened bug 1268628
You need to log in
before you can comment on or make changes to this bug.
Description
•