Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change sync objects to not be available in the current frame.
(Manual M65 merge-back) Follows similar restrictions for query objects and implements KhronosGroup/WebGL#2598 . Disable EXT_disjoint_timer_query at the WebGL level. TBR=dcheng@chromium.org, kainino@chromium.org, piman@chromium.org, zmo@chromium.org Bug: 808744 Change-Id: Ibf27298392cabb87fa0222e18145682a55392997 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Reviewed-on: https://chromium-review.googlesource.com/919154 Reviewed-by: Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/branch-heads/3325@{#464} Cr-Branched-From: bc084a8-refs/heads/master@{#530369}
- Loading branch information
1 parent
d663ac8
commit ebe26e1
Showing
29 changed files
with
416 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
content/test/data/gpu/functional_webgl_disabled_extension.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<html> | ||
<script type="text/javascript"> | ||
function runTest() { | ||
var canvas = document.getElementById("glcanvas"); | ||
var gl = canvas.getContext('webgl'); | ||
if (!gl) { | ||
if (window.domAutomationController) { | ||
window.domAutomationController.send("FAILED"); | ||
} else { | ||
alert("Unable to initialize WebGL"); | ||
} | ||
return; | ||
} | ||
// This extension is supposed to be disabled via a blacklist entry. | ||
if (gl.getExtension('WEBGL_lose_context')) { | ||
window.domAutomationController.send("FAILED"); | ||
} else { | ||
window.domAutomationController.send("FINISHED"); | ||
} | ||
} | ||
</script> | ||
<body onload="runTest()"> | ||
<canvas id="glcanvas" width="640" height="480"> | ||
Your browser doesn't appear to support the HTML5 <code><canvas></code> element. | ||
</canvas> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.