If I remember correctly, we had issues binding the GL context to the window if the FB configurations weren't 'compatible'.
The presence of a depth buffer shouldn't matter for that compatibility though, so you should be able to pick one that has one while still matching the other parameters.
karlt might remember more about this too.
- Matt
Yes, if the GL context is for rendering to a window, then the
visual for the GL context needs the same pixel bit layout as the
visual used to create the window.
But, as Matt indicates, other properties of the visuals may not
need to match.
Or alternatively, a different visual could be selected for
creating the window.
>>Â Â Â <kgu...@mozilla.com <mailto:kgu...@mozilla.com>> wrote:
>>
>>Â Â Â Â Â Thanks for tracking this down! I know Mason was trying to do a WR
>>Â Â Â Â Â update yesterday as well, but I guess we should hold off until
>>Â Â Â Â Â this
>>Â Â Â Â Â issue is resolved.
>>
>>Â Â Â Â Â Note that I just landed an update to README.webrender in bug
>>Â Â Â Â Â 1328910
>>Â Â Â Â Â for the WR update process. This came up in discussion yesterday.
>>Â Â Â Â Â However it's unrelated to the reftest failures - I am getting the
>>Â Â Â Â Â failures as well when I tested the WR update using the new
>>Â Â Â Â Â process.
>>
>>
>>Â Â Â Â Â On Thu, Jan 5, 2017 at 6:02 AM, He-Jie Shih(Jerry)
>>Â Â Â Â Â <jerry...@mozilla.com <mailto:jerry...@mozilla.com>> wrote:
>>Â Â Â Â Â > I try to update WR to
>>Â Â Â Â Â fe5b370d9dba3a12b64b4bd039cd0fa9e200c7d7, but all
>>Â Â Â Â Â > reftests failed on try.
>>Â Â Â Â Â > The git bisect shows that the test start failed after [1].
>>Â Â Â Â Â >
>>Â Â Â Â Â > Here is one of the failed tests.
>>Â Â Â Â Â >
>>Â Â Â Â Â https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/VNEpAqq0SJ6_AB1-HENBBQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1
>>Â Â Â Â Â <https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/VNEpAqq0SJ6_AB1-HENBBQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1>
>>Â Â Â Â Â >
>>Â Â Â Â Â > The first one shows that the yellow background is disappeared. The
>>Â Â Â Â Â > yellow
>>Â Â Â Â Â > background is a WebrenderColorLayer which uses a simple
>>Â Â Â Â Â > wr_dp_push_rect()
>>Â Â Â Â Â > command. Then, I create a simple test in
>>Â Â Â Â Â webrender/simple/src/main.rs <http://main.rs> with a
>>Â Â Â Â Â > single push_rect() command. The single single push_rect() function
>>Â Â Â Â Â > looks
>>Â Â Â Â Â > good. I will discuess with Glenn for this problem.
>>Â Â Â Â Â >
>>Â Â Â Â Â > [1]
>>Â Â Â Â Â > https://github.com/servo/webrender/pull/648
>>Â Â Â Â Â <https://github.com/servo/webrender/pull/648>
>>Â Â Â Â Â >
>>Â Â Â Â Â > -Jerry
>>Â Â Â Â Â >
>>Â Â Â Â Â > _______________________________________________
>>Â Â Â Â Â > dev-tech-gfx mailing list
>>Â Â Â Â Â > dev-te...@lists.mozilla.org
>>Â Â Â Â Â <mailto:dev-tech-gfx@lists.mozilla.org>
>>Â Â Â Â Â > https://lists.mozilla.org/listinfo/dev-tech-gfx
>>Â Â Â Â Â <https://lists.mozilla.org/listinfo/dev-tech-gfx>
>>Â Â Â Â Â >
>>Â Â Â Â Â _______________________________________________
>>Â Â Â Â Â dev-tech-gfx mailing list
>>Â Â Â Â Â dev-te...@lists.mozilla.org
>>Â Â Â Â Â <mailto:dev-tech-gfx@lists.mozilla.org>
>>Â Â Â Â Â https://lists.mozilla.org/listinfo/dev-tech-gfx
webrender/Cargo.toml core-graphics = "0.4.1" webrender_traits/Cargo.toml core-graphics = "0.4.1"
>>Â Â Â Â Â <mailto:dev-te...@lists.mozilla.org>
>>Â Â Â Â Â > https://lists.mozilla.org/listinfo/dev-tech-gfx
>>Â Â Â Â Â <https://lists.mozilla.org/listinfo/dev-tech-gfx>
>>Â Â Â Â Â >
>>Â Â Â Â Â _______________________________________________
>>Â Â Â Â Â dev-tech-gfx mailing list
>>Â Â Â Â Â dev-te...@lists.mozilla.org
>>Â Â Â Â Â <mailto:dev-te...@lists.mozilla.org>