diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-06-12 18:16:42 +0200 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-06-16 14:38:48 +0200 |
commit | 1f3cc8c2618979b557d60ef1ad984a49dca83bff (patch) | |
tree | 6c79bb825432be51346482074749f5b0dd440997 /chromium/tools/code_coverage/croc.py | |
parent | 7ef833ced4e3c2dee086078b4cec3fa2e15472e5 (diff) | |
download | qtwebengine-chromium-1f3cc8c2618979b557d60ef1ad984a49dca83bff.tar.gz |
<chromium> Only enable robustness if the shared context is using it
Chromium currently assumes that all GLContexts are checking the availability
of robustness on the system through the same code path. Since we're passing
it a context created by Qt, and that Qt never uses
EGL_EXT_create_context_robustness, the context creation fails when trying to
share a non-robustness-enabled context with one that does.
Fix the issue by asking the shared GLContext if it was allocated using the
extension, Chromium's contexts currently always return true and the Qt context
will return false. This relies on the fact that the Qt context is always the
first one added to the ShareGroup and that it is going to be the one queried,
but this should be reasonably reliable.
Change-Id: I6456429db678f077cd8a72032711361da01e72ea
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'chromium/tools/code_coverage/croc.py')
0 files changed, 0 insertions, 0 deletions