Closed
Bug 1421818
Opened 8 years ago
Closed 7 years ago
Stop using Direct2D with WebRender
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla60
| Tracking | Status | |
|---|---|---|
| firefox60 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: aosmond)
References
Details
(Whiteboard: [wr-mvp])
Attachments
(1 file, 1 obsolete file)
|
3.70 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
Direct2D probably won't be very helpful
Updated•8 years ago
|
Whiteboard: [wr-mvp] [triage]
Updated•8 years ago
|
Priority: -- → P3
Whiteboard: [wr-mvp] [triage] → [wr-reserve]
| Reporter | ||
Comment 1•8 years ago
|
||
Andrew knows something about what we are doing here and about how to fix it.
Flags: needinfo?(aosmond)
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Updated•8 years ago
|
Priority: P3 → P1
Whiteboard: [wr-reserve] → [wr-mvp]
| Assignee | ||
Comment 2•8 years ago
|
||
Flags: needinfo?(aosmond)
| Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8933744 [details] [diff] [review]
0001-Bug-1421818-Disable-D2D-backend-if-WebRender-is-enab.patch
Disabled the GPU process for the tests because the reftest reporting is accurate then :).
try (WR enabled, GPU process disabled + hack to allow WR): https://treeherder.mozilla.org/#/jobs?repo=try&revision=d5c07937616c0c1c74f284a0329399df09d5caea&selectedJob=149167341
WebRender is enabled and skia is used as the backend.
> 12:43:42 INFO - REFTEST INFO | {"isDebugBuild":true,"xulRuntime":{"widgetToolkit":"windows","OS":"WINNT","XPCOMABI":"x86_64-msvc"},"smallScreen":false,"d2d":true,"dwrite":true,"gpuProcess":false,"azureCairo":false,"azureSkia":true,"skiaContent":true,"azureSkiaGL":0,"contentSameGfxBackendAsCanvas":true,"layersGPUAccelerated":true,"d3d11":false,"d3d9":false,"layersOpenGL":false,"webrender":true,"layersOMTC":true,"advancedLayers":false,"layerChecksEnabled":false,"retainedDisplayList":true,"Android":false,"cocoaWidget":false,"gtkWidget":false,"qtWidget":false,"winWidget":true,"transparentScrollbars":false,"AddressSanitizer":false,"webrtc":true,"retainedDisplayLists":true,"compareRetainedDisplayLists":false,"stylo":true,"styloVsGecko":false,"skiaPdf":false,"release_or_beta":false,"http":{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0","appName":"Mozilla","appVersion":"5.0","platform":"Windows","oscpu":"Windows NT 10.0; Win64; x64","misc":"rv:59.0"},"haveTestPlugin":true,"windowsDefaultTheme":true,"nativeThemePref":true,"gpuProcessForceEnabled":false,"prefs":{},"browserIsRemote":true,"asyncPan":true,"usesRepeatResampling":true}
try (WR disabled, GPU process disabled): https://treeherder.mozilla.org/#/jobs?repo=try&revision=7633ad9e5a50a45b2116ac611f1c65e04a790c66
WebRender is disabled, skia/cairo are not the default backends, and D2D is.
> 12:43:29 INFO - REFTEST INFO | {"isDebugBuild":true,"xulRuntime":{"widgetToolkit":"windows","OS":"WINNT","XPCOMABI":"x86_64-msvc"},"smallScreen":false,"d2d":true,"dwrite":true,"gpuProcess":false,"azureCairo":false,"azureSkia":false,"skiaContent":false,"azureSkiaGL":0,"contentSameGfxBackendAsCanvas":true,"layersGPUAccelerated":true,"d3d11":true,"d3d9":false,"layersOpenGL":false,"webrender":false,"layersOMTC":true,"advancedLayers":true,"layerChecksEnabled":true,"retainedDisplayList":true,"Android":false,"cocoaWidget":false,"gtkWidget":false,"qtWidget":false,"winWidget":true,"transparentScrollbars":false,"AddressSanitizer":false,"webrtc":true,"retainedDisplayLists":true,"compareRetainedDisplayLists":false,"stylo":true,"styloVsGecko":false,"skiaPdf":false,"release_or_beta":false,"http":{"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0","appName":"Mozilla","appVersion":"5.0","platform":"Windows","oscpu":"Windows NT 10.0; Win64; x64","misc":"rv:59.0"},"haveTestPlugin":true,"windowsDefaultTheme":true,"nativeThemePref":true,"gpuProcessForceEnabled":false,"prefs":{},"browserIsRemote":true,"asyncPan":true,"usesRepeatResampling":true}
Attachment #8933744 -
Flags: review?(jmuizelaar)
No GPU process should work, no-e10s would be bad because of WR+ANGLE+WebGL
Blocks: stage-wr-trains
| Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #4)
> No GPU process should work, no-e10s would be bad because of WR+ANGLE+WebGL
It was just a hack because the reporting for the default content backend in the reftests changes depending on whether or not the GPU process is in use.
Updated•8 years ago
|
Priority: P1 → P3
| Reporter | ||
Comment 6•7 years ago
|
||
Comment on attachment 8933744 [details] [diff] [review]
0001-Bug-1421818-Disable-D2D-backend-if-WebRender-is-enab.patch
Review of attachment 8933744 [details] [diff] [review]:
-----------------------------------------------------------------
Can we break things into more logical pieces than Pre and Post?
Attachment #8933744 -
Flags: review?(jmuizelaar) → review-
| Comment hidden (obsolete) |
| Assignee | ||
Comment 8•7 years ago
|
||
Attachment #8933744 -
Attachment is obsolete: true
| Assignee | ||
Updated•7 years ago
|
Attachment #8955173 -
Flags: review?(jmuizelaar)
| Reporter | ||
Updated•7 years ago
|
Attachment #8955173 -
Flags: review?(jmuizelaar) → review+
Pushed by aosmond@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9922610d010e
Disable D2D backend if WebRender is enabled. r=jrmuizel
Comment 10•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Comment 11•7 years ago
|
||
I don't know if this patch worked. The sandbox dump for reftests on windows10-64-qr (e.g. [1]) show d2d:true. Is this expected?
[1] https://treeherder.mozilla.org/logviewer.html#?job_id=172336804&repo=try&lineNumber=1675
Flags: needinfo?(aosmond)
Comment 12•7 years ago
|
||
By the way Bug 1413392 re-enabled d2d only for canvas.
Updated•7 years ago
|
Flags: needinfo?(aosmond)
You need to log in
before you can comment on or make changes to this bug.
Description
•