Auto merge of #8291 - ecoal95:webgl-drop, r=jdm

Add destructors to some WebGL objects, remove duplicated glutin dependency and try to enable the webgl reftests

The first commit allows to cleanup the gl resources of the webgl task earlier if they aren't being used.
Right now all resources were cleaned up when the context was destroyed, so I think this is
a slightly better approach.

The second commit bumps rust-offscreen-rendering-context to remove the duplicated glutin dependency.

The third one tries to reenable the webgl reftests.
Since the errored builds are deleted, It's the only way I can try to troubleshoot it.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8291)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-02 18:52:33 +05:30
commit 3282174a99
31 changed files with 162 additions and 81 deletions

View file

@ -4078,6 +4078,78 @@
],
"url": "/_mozilla/mozilla/canvas/drawimage_html_image_9.html"
}
],
"mozilla/webgl/clearcolor.html": [
{
"path": "mozilla/webgl/clearcolor.html",
"references": [
[
"/_mozilla/mozilla/webgl/clearcolor_ref.html",
"=="
]
],
"url": "/_mozilla/mozilla/webgl/clearcolor.html"
}
],
"mozilla/webgl/tex_image_2d_canvas_no_context.html": [
{
"path": "mozilla/webgl/tex_image_2d_canvas_no_context.html",
"references": [
[
"/_mozilla/mozilla/webgl/tex_image_2d_canvas_no_context_ref.html",
"=="
]
],
"url": "/_mozilla/mozilla/webgl/tex_image_2d_canvas_no_context.html"
}
],
"mozilla/webgl/tex_image_2d_canvas2d.html": [
{
"path": "mozilla/webgl/tex_image_2d_canvas2d.html",
"references": [
[
"/_mozilla/mozilla/webgl/tex_image_2d_canvas_ref.html",
"=="
]
],
"url": "/_mozilla/mozilla/webgl/tex_image_2d_canvas2d.html"
}
],
"mozilla/webgl/tex_image_2d_canvas.html": [
{
"path": "mozilla/webgl/tex_image_2d_canvas.html",
"references": [
[
"/_mozilla/mozilla/webgl/tex_image_2d_canvas_ref.html",
"=="
]
],
"url": "/_mozilla/mozilla/webgl/tex_image_2d_canvas.html"
}
],
"mozilla/webgl/tex_image_2d_simple.html": [
{
"path": "mozilla/webgl/tex_image_2d_simple.html",
"references": [
[
"/_mozilla/mozilla/webgl/tex_image_2d_simple_ref.html",
"=="
]
],
"url": "/_mozilla/mozilla/webgl/tex_image_2d_simple.html"
}
],
"mozilla/webgl/draw_arrays_simple.html": [
{
"path": "mozilla/webgl/draw_arrays_simple.html",
"references": [
[
"/_mozilla/mozilla/webgl/draw_arrays_simple_ref.html",
"=="
]
],
"url": "/_mozilla/mozilla/webgl/draw_arrays_simple.html"
}
]
},
"testharness": {