forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fuchsia] Add a basic WebGL test to cast runner
Add a new test that creates a WebGL context which depends on an initialized GPU process. Some other tests are able to pass before the GPU process initializes which creates flaky failures if a GPU process startup crash is introduced. Bug: 1059979, 766360 Change-Id: I7d144b1a0e2b39cd9f7de80a5532eb56a35a209f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2152209 Commit-Queue: Michael Spang <[email protected]> Reviewed-by: David Dorwin <[email protected]> Reviewed-by: Wez <[email protected]> Cr-Commit-Position: refs/heads/master@{#760703}
- Loading branch information
Showing
3 changed files
with
78 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script> | ||
var canvas = document.createElement("canvas"); | ||
var gl = canvas.getContext("webgl"); | ||
document.title = gl ? "present" : "absent"; | ||
</script> |