-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail initialization if the max texture size is insufficient. #1563
Conversation
35e8ebd
to
8f6cfb3
Compare
Moved this sanity check to the beginning of the function to not bother with creating shaders, threads and other resources. r? @kvark |
Thanks, looking good! |
📌 Commit 8f6cfb3 has been approved by |
Fail initialization if the max texture size is insufficient. This works around #1260 ([driver issues entry](https://github.com/servo/webrender/wiki/Driver-issues#1260---broken-gl-context-reports-max-texture-size-equal-to-zero)) by gracefully failing the initialization instead of panicking the first time we try to allocate a texture cache page. This should let us fallback to another compositor backend and more easily identify the issue when it happens.
💔 Test failed - status-travis |
@nical y u no compile? :)
|
8f6cfb3
to
6e82302
Compare
oops, did a last minute change and apparently forgot to build it. This version does build locally now. |
@bors-servo r=kvark,glennw |
📌 Commit 6e82302 has been approved by |
Fail initialization if the max texture size is insufficient. This works around #1260 ([driver issues entry](https://github.com/servo/webrender/wiki/Driver-issues#1260---broken-gl-context-reports-max-texture-size-equal-to-zero)) by gracefully failing the initialization instead of panicking the first time we try to allocate a texture cache page. This should let us fallback to another compositor backend and more easily identify the issue when it happens.
☀️ Test successful - status-travis |
This works around #1260 (driver issues entry) by gracefully failing the initialization instead of panicking the first time we try to allocate a texture cache page.
This should let us fallback to another compositor backend and more easily identify the issue when it happens.